Vulnérabilité dans github.com/0xJacky/Nginx-UI (CVE-2026-107812)
Résumé
Vulnérabilité dans github.com/0xJacky/Nginx-UI (CVE-2026-107812). L'exploitation peut entraîner la prise de contrôle totale du système. Exploitable via POST /api/settings. Atténuation : mise à jour vers 1.9.10-0.20260728114330-580585516dd8 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Summary
The self-upgrade downloads the release binary and its checksum (*.tar.gz and *.tar.gz.digest)
through the SAME endpoint (version.GetUrl(), which is github_proxy or, by default, the project's
cloud.nginxui.com mirror), and verifies the binary ONLY by comparing it to that digest:
digestFileContent == DigestSHA512(tarName). Both the binary and the digest come from the same
origin, and there is NO cryptographic signature / public-key verification. The downloaded binary then
replaces the running executable (selfupdate.CommitBinary) and the process restarts, so the binary
runs as the nginx-ui user (typically root).
Because integrity rests only on a digest fetched from the same place as the binary, anyone who
controls that download path can substitute a malicious binary plus a matching digest and obtain code
execution as root on the next upgrade. Additionally, the github_proxy setting accepts http://
URLs, so the binary+digest can be fetched over cleartext.
Affected code
internal/version/url.go GetUrl(path)=/— used for
BOTH the binary and the digest.internal/upgrader/upgrade.go DownloadLatestRelease: digest URL and binary URL are both wrapped
withGetUrl(), fetched, and checked withdigestFileContent == DigestSHA512(tarName). No
signature verification anywhere ininternal/upgrader/.selfupdate.CommitBinarythen replaces the running binary; the process restarts.settings/http.go:GithubProxyaccepts any URL (`bindi…
Source: NIST National Vulnerability Database NVD GitHub Advisory
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2026-107812 a été découverte dans github.com/0xJacky/Nginx-UI.
Des attaquants peuvent cibler un point d'entrée spécifique comme POST /api/settings à distance pour détourner le produit.
L'exploitation peut entraîner la prise de contrôle totale du système. Score CVSS : 7.5/10.
Action : mettez à jour github.com/0xJacky/Nginx-UI vers 1.9.10-0.20260728114330-580585516dd8 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « github.com/0xJacky/Nginx-UI CVE-2026-107812 » sur le site de l'éditeur.
CVE-2026-107812 (github.com/0xJacky/Nginx-UI) — CWE-494 / CVSS v3 7.5
Vecteur d'attaque : distant (réseau) / non authentifié
Surface d'attaque : POST /api/settings / GET /api/upgrade/perform / GET /https / github_proxy
Correctif : 1.9.10-0.20260728114330-580585516dd8 — appliquer immédiatement
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une vulnérabilité (CWE-494) affecte github.com/0xJacky/Nginx-UI. Les attaquants atteignent le code vulnérable via POST /api/settings sans authentification.
Consultez l'avis de l'éditeur pour les versions affectées de github.com/0xJacky/Nginx-UI. Surface d'attaque : POST /api/settings / GET /api/upgrade/perform / GET /https / github_proxy.
Gravité : Élevée (CVSS 7.5/10). L'exploitation peut entraîner la prise de contrôle totale du système.
Mettre à jour vers 1.9.10-0.20260728114330-580585516dd8.
En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.
Recherchez dans les logs webserver/proxy/WAF des requêtes anormales vers POST /api/settings (en-têtes d'auth malformés, méta-caractères SQL). Auditez les fichiers de dépendances pour trouver github.com/0xJacky/Nginx-UI.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r 'github.com/0xJacky/Nginx-UI' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
github.com/0xJacky/Nginx-UIを grep し、稼働しているサービス・バージョンを把握する。 -
2Hunt for indicators of compromise detect
grep 'POST /api/settings' /var/log/nginx/access.log | grep -E '(unusual_payload|sqli_pattern)'アクセスログで
POST /api/settingsへの異常なリクエスト (不正な認証ヘッダ・SQLメタ文字)を過去 30〜90日分捜索。WAF/SIEM があれば該当パスのアラート発火履歴を確認。 -
3Apply patch patch
Upgrade github.com/0xJacky/Nginx-UI to 1.9.10-0.20260728114330-580585516dd8ステージング環境で 1.9.10-0.20260728114330-580585516dd8 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 2 で見つけた異常検知の続報チェックを含めること。
-
4Post-deployment verification verify
Replay attack against POST /api/settings on staging to confirm patch closes the vectorパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 2 と同じログクエリでアラート再発が無いか継続監視。
Paquets affectés
Références
- package github.com
- web github.com
- web github.com
- web github.com
- web github.com