top of page
perceptive_background_267k.jpg

pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.9.0, pam_usb's deny_remote feature checks utmpx ut_addr_v6 to det…

Published:

26 May 2026 at 22:00:00

Alert date:

27 May 2026 at 22:02:45

Source:

nvd.nist.gov

Click to open the original link from this advisory

Operating Systems, Identity & Access

A vulnerability in pam_usb prior to version 0.9.0 allows authentication bypass through the deny_remote feature. The issue stems from incomplete IPv6 address checking in the utmpx ut_addr_v6 field, where only the first 32-bit word is tested. IPv4-mapped IPv6 addresses store the actual IPv4 address in ut_addr_v6[3] while ut_addr_v6[0] remains 0, causing remote sessions to be incorrectly treated as local. This affects systems where SSH daemon listens on IPv6 wildcard with AddressFamily any, common on Ubuntu and Debian. Attackers with physical access to a registered USB device can authenticate over SSH as if sitting at a local terminal, completely bypassing deny_remote restrictions.

Technical details

Mitigation steps:

Affected products:

pam_usb

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Disclaimer: Deze website toont informatie afkomstig van externe bronnen. Perceptive aanvaardt geen verantwoordelijkheid voor de inhoud, juistheid of volledigheid van deze informatie.

bottom of page