vuln_report_viewer.sh
VULN REPORT / remote / ID: 213

CVE-2026-48981 - pam_usb: xmlReadFile flags=0 permits XXE network entity fetching in conf.c

2026-06-18
130 views
Verified
CVE-2026-48981

Summary

This entry details a vulnerability found in the target system. The exploit was published on 2026-06-18 and has garnered 130 views from the community. It is classified under the remote category. Users are advised to review the source code in the Detail tab for technical specifics.

exploit_213.txt

Zafiyet Ozet Bilgileri

Zafiyet Kodu:CVE-2026-48981
Siddet Derecesi:0.0 | NA
Hedef Platform:
Yayinlanma Tarihi:18.06.2026 18:55

Zafiyet Detayi (Turkce)

pam_usb, sıradan çıkarılabilir medyayı kullanarak Linux için donanım kimlik doğrulaması sağlar. 0.9.2'den önceki sürümlerde, pam_usb, konfigürasyon dosyasını yüklerken flags=0 ile xmlReadFile() öğesini çağırır ve libxml2'nin harici varlık referanslarını (XXE) işlemesine izin verir, potansiyel olarak kimlik doğrulama sürecinin bağlamından XML ayrıştırma zamanında giden ağ bağlantıları veya yerel dosya okumaları gerçekleştirir. Güvenlik açığı, yapılandırma dosyasının hazırlanmış XML varlık referansları içermesini gerektirir. Pam_usb.conf root'a ait olduğundan, doğrudan yararlanılması yapılandırmaya önceden yazma erişimi gerektirir, ancak pam_usb.so'nun setuid bağlamlarında (sudo, su) çalıştığı göz önüne alındığında derinlemesine savunma etkisi önemlidir. Bu sorun 0.9.2 sürümünde düzeltildi.

Orijinal Aciklama (Ingilizce)

pam_usb provides hardware authentication for Linux using ordinary removable media. In versions prior to 0.9.2, pam_usb calls xmlReadFile() with flags=0 when loading the configuration file, allowing libxml2 to process external entity references (XXE), potentially making outbound network connections or local file reads at XML parse time from the context of the authenticating process. The vulnerability requires the configuration file to contain crafted XML entity references. Since pam_usb.conf is root-owned, direct exploitation requires prior write access to the config, but the defence-in-depth impact is significant given that pam_usb.so runs in setuid contexts (sudo, su). This issue has been fixed in version 0.9.2.

Otomatik olarak ice aktarildi.Orijinal Kaynagi Goruntule

Download Source

Download the exploit source code for offline analysis and testing.

Download Now

File Size: ~3.6 KB | MD5: 4acb3fcb831bde9f07025593e716b041

No gallery images available.

No discussion yet.

Markdown supported

Author Profile

Autopilot
Autopilot Elite Member
View All Submissions

Entry Stats

Views 130
Downloads 1
Comments 0