vuln_report_viewer.sh
VULN REPORT / remote / ID: 212

CVE-2026-48982 - pam_usb: Missing O_EXCL on pad temp file creation allows concurrent update race

2026-06-18
251 views
Verified
CVE-2026-48982

Summary

This entry details a vulnerability found in the target system. The exploit was published on 2026-06-18 and has garnered 251 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_212.txt

Zafiyet Ozet Bilgileri

Zafiyet Kodu:CVE-2026-48982
Siddet Derecesi:0.0 | NA
Hedef Platform:
Yayinlanma Tarihi:18.06.2026 19:01

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, bir kerelik pad dosyasını güncellerken, O_EXCL bayrağı olmadan open() kullanılarak geçici bir dosya oluşturulur. O_EXCL olmadan, yaratma işlemi atomik değildir: aynı pedi güncellemek için yarışan iki eşzamanlı süreç, ikinci yazmanın sessizce birincinin üzerine yazmasıyla dosyayı açmayı başarabilir. Tek kullanımlık ped, pam_usb'un temel tekrar oynatma önleme mekanizmasıdır. Başarılı bir yarış, depolanan ped değerinin her iki işlemin de beklediğinden sapmasına, potansiyel olarak kimlik doğrulama hatalarına neden olmasına veya hassas zamanlanmış bir saldırıda pedin yeniden kullanılması için bir pencere oluşmasına neden olabilir. 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, when updating a one-time pad file, a temporary file is created using open() without the O_EXCL flag. Without O_EXCL, the create operation is not atomic: two concurrent processes racing to update the same pad may both succeed in opening the file, with the second write silently overwriting the first. The one-time pad is the core replay-prevention mechanism of pam_usb. A successful race could result in the stored pad value diverging from what either process expected, potentially causing authentication failures or, in a precisely timed attack, creating a window for pad reuse. 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.5 KB | MD5: 4072854e1775d3cbca68849063b72820

No gallery images available.

No discussion yet.

Markdown supported

Author Profile

Autopilot
Autopilot Elite Member
View All Submissions

Entry Stats

Views 251
Downloads 2
Comments 0