OPNsense: Stored XSS to root RCE via OpenVPN client common_name in status views
CVSS Skor
8.0
EPSS İhtimal
—
Risk Skoru
0.8
Yayın
17 sa önce
Resmî kaynaklarda yeterli kanıt bulunamadı. Bu sonuç “yama yok” anlamına gelmez.
Envanterimdeki Etkisi
Yalnızca hesabınıza eklediğiniz kişisel ürünler değerlendirilir; kurumsal envanter burada görünmez.
Oturum kontrol ediliyor…
Zafiyet Açıklaması
CVE AI araştırması
DayBreach AI Açıklaması
Kaynakla doğrulandıOkunan kaynak
2
Kaynak uyumu
Tam uyum
Kanıt güveni
%63
Kısa açıklama
OPNsense çekirdek sürüm 26.1.11 öncesinde, OpenVPN durum görünümlerindeki data-common-name özniteliklerinin tırnak işaretine karşı güvenli kodlanmaması nedeniyle saklı XSS açığı bulunmaktadır. Bu açık, kimliği doğrulanmış bir kullanıcının yönetici oturumunda komut çalıştırmasına ve root yetkileri elde etmesine olanak tanıyabilir.
Bu güvenlik açığı, saldırganların bir OpenVPN istemci ortak adı üzerinden yönetici oturumunu ele geçirmesini, config.xml dosyasını okumasını, ayrıcalıklı API'leri çağırmasını ve root komut çalıştırma yetkisi elde etmesini sağlar.
Ne yapılmalı?
- Vendor danışma belgelerini takip ederek gerekli güncellemeleri uygulayın.
- Yazılım sürümünü güvenli sürüme yükseltin.
Kanıt zinciri ve kaynaklar
OPNsense çekirdek sürüm 26.1.11 öncesinde, OpenVPN durum görünümlerindeki ortak ad öznitelikleri tırnak güvenli kodlama içermez.
Sömürü, RADIUS veya LDAP kimlik doğrulaması ile yapılandırılmış bir OpenVPN sunucusu ve tırnak içeren kullanıcı adı gerektirir.
Enjekte edilen betik, yöneticinin sayfayı açması ve olayın tetiklenmesiyle config.xml dosyasını okuyabilir ve root yetkileri elde edebilir.
Kaynaklardaki teknik metni göster
OPNsense is a FreeBSD based firewall and routing platform. Prior to version 26.1.11, the OpenVPN connection-status dashboard widget in src/opnsense/www/js/widgets/OpenVPNClients.js and the connection-status view place a client common_name into data-common-name attributes without quote-safe encoding. Exploitation requires an OpenVPN server configured with username-as-common-name and RADIUS or LDAP authentication, plus the ability to provision or self-register a valid backend username containing a double quote; deployments where the same administrator controls both the identity backend and firewall do not cross a separate trust boundary. An authenticated client using that username can close the attribute and add an event handler, while the local user database is not affected because its username validator rejects quotes. Script executes in an administrator's session when the administrator opens the dashboard or connection-status page and the injected event is triggered; the demonstrated payload used pointer movement over the client row rather than unconditional page-load execution. The advisory demonstrates that the script can read config.xml, invoke privileged APIs, reset the root password, and obtain root command execution. This issue is fixed in version 26.1.11.
CVSS vektörü: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
CWE: CWE-79
Açıklama yerel gemini-flash-lite-latest modeliyle üretildi. Sayısal metrikler, KEV, yama ve exploit durumları AI tarafından belirlenmez.
IMPACT — Etkilenen Ürünler ve Yazılımlar
Affected Products
The following products are affected by CVE-2026-58390 vulnerability. Even if our threat engine is aware of the exact versions of the products that are affected, the information is represented below.
| ID | VENDOR | PRODUCT | ACTION |
|---|---|---|---|
| 1 | opnsense | core | İncele |
RED HAT CSAF/VEX — Ürün Etki Kontrolü
SCORING — CVSS Çoklu Kaynak Skoru
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and display CVSS scores from various sources for each CVE.
| SCORE | VERSION | SEVERITY | VECTOR | SOURCE |
|---|---|---|---|---|
| 8.0 | CVSS V31 | HIGH | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H | NVD |
| 8.0 | CVSS V3_1 | HIGH | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H | CVE CNA |
Yama ve İyileştirme Rehberi (Solution)
Solution & Remediation Advisory
İncelenen resmî kaynaklarda yama durumu doğrulanamadı. Bu sonuç “yama yok” anlamına gelmez.
Public exploit ve aktif sömürü durumu
Doğrulanmış exploit istihbaratı
Bu CVE için henüz doğrulanmış public PoC, exploit repository’si veya Metasploit modülü bulunamadı.
Zafiyet Dağılımı ve Saldırı Kalıpları (CWE & CAPEC)
CWE - Common Weakness Enumeration
While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-58390 is associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-58390 weaknesses.
Saldırı Vektörü ve Erişilebilirlik Karakteristiği
Resmi Kaynaklar ve Danışma Bültenleri
İlgili Benzer Açıklar
OPNsense: Root RCE via Arbitrary File Write in GeoIP Alias Importer
OPNsense: Log Forgery via Login Username CRLF in WebGUI Authentication → Pf Table IP Blocking
OPNsense: Direct comma-separated user privileges bypass OPNsense MVC read-only write protection
OPNsense: XPATH Injection can disclose any secret in config.xml
OPNsense: OpenVPN Client Specific Override common_name allows path traversal in generated CSO files
OPNsense: Stored XSS in Services: NTP GPS
Bu açığı API ile alın
Etkilenen ürünler, sürüm aralıkları, istismar durumu ve yama bilgisi tek istekte; ücretsiz anahtarla.
curl -H "x-api-key: $DAYBREACH_API_KEY" \ "https://api.daybreach.dev/api/v1/intel/cves/CVE-2026-58390"