Divulgation d'information dans github.com/0xJacky/Nginx-UI (CVE-2026-107811)
Résumé
Vulnérabilité dans github.com/0xJacky/Nginx-UI (CVE-2026-107811). L'exploitation peut entraîner la prise de contrôle totale du système. Exploitable via POST /api/system/restart.. Atténuation : mise à jour vers 1.9.10-0.20260728091109-0ecbd106c37b ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Summary
0xJacky/nginx-ui contains a high-severity trust-boundary failure between ordinary users and cluster node credentials. The source code shows that cluster node list and detail endpoints are reachable by ordinary authenticated users and return node objects containing the token field.
That same token is also used as the X-Node-Secret shared credential for node-to-node authentication. When the middleware receives a correct node secret, it upgrades the request to initUser and bypasses the normal user-authentication path. As a result, any low-privileged authenticated user can first read a node token from /api/nodes and then impersonate a trusted node against a remote node's management API, achieving cross-node administrative authentication bypass.
Details
The root cause is a combination of sensitive credential exposure and improper trust elevation for node-to-node authentication. First, router/routers.go:87-105 mounts cluster.InitRouter(g) inside the shared /api authenticated route group, so any successfully authenticated user can access node list and detail endpoints.
Next, api/cluster/node.go:19-48 implements GetNode and GetNodeList by directly returning analytic.GetNode(node). Meanwhile, model/node.go:8-13 defines Token with the JSON tag json:"token", meaning the node secret is serialized into API responses. The surrounding code path does not redact that field. Therefore, a low-privileged user can call /api/nodes or /api/nodes/:id and retrieve both the target node URL…
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-107811 a été découverte dans github.com/0xJacky/Nginx-UI.
Des attaquants peuvent cibler un point d'entrée spécifique comme POST /api/system/restart. à distance pour détourner le produit.
L'exploitation peut entraîner la prise de contrôle totale du système. Score CVSS : 8.8/10.
Action : mettez à jour github.com/0xJacky/Nginx-UI vers 1.9.10-0.20260728091109-0ecbd106c37b ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « github.com/0xJacky/Nginx-UI CVE-2026-107811 » sur le site de l'éditeur.
CVE-2026-107811 (github.com/0xJacky/Nginx-UI) — CWE-200 / CVSS v3 8.8
Vecteur d'attaque : distant (réseau) / sans interaction utilisateur
Surface d'attaque : POST /api/system/restart. / POST /api/login / GET /api/nodes / GET /api/nodes/
Correctif : 1.9.10-0.20260728091109-0ecbd106c37b — 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 divulgation d'information (CWE-200) affecte github.com/0xJacky/Nginx-UI. Les attaquants atteignent le code vulnérable via POST /api/system/restart..
Consultez l'avis de l'éditeur pour les versions affectées de github.com/0xJacky/Nginx-UI. Surface d'attaque : POST /api/system/restart. / POST /api/login / GET /api/nodes / GET /api/nodes/.
Gravité : Élevée (CVSS 8.8/10). L'exploitation peut entraîner la prise de contrôle totale du système.
Mettre à jour vers 1.9.10-0.20260728091109-0ecbd106c37b.
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/system/restart. (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/system/restart.' /var/log/nginx/access.log | grep -E '(unusual_payload|sqli_pattern)'アクセスログで
POST /api/system/restart.への異常なリクエスト (不正な認証ヘッダ・SQLメタ文字)を過去 30〜90日分捜索。WAF/SIEM があれば該当パスのアラート発火履歴を確認。 -
3Apply patch patch
Upgrade github.com/0xJacky/Nginx-UI to 1.9.10-0.20260728091109-0ecbd106c37bステージング環境で 1.9.10-0.20260728091109-0ecbd106c37b に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 2 で見つけた異常検知の続報チェックを含めること。
-
4Post-deployment verification verify
Replay attack against POST /api/system/restart. on staging to confirm patch closes the vectorパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 2 と同じログクエリでアラート再発が無いか継続監視。