CVE-2026-48982 - pam_usb: Missing O_EXCL on pad temp file creation allows concurrent update race
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.
Zafiyet Ozet Bilgileri
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.
Download Source
Download the exploit source code for offline analysis and testing.
Download NowFile Size: ~3.5 KB | MD5: 4072854e1775d3cbca68849063b72820
No gallery images available.
No discussion yet.