Description (CNA)
pam_usb provides hardware authentication for Linux using removable media. In versions prior to 0.9.2, getenv() environment variables XRDP_SESSION, DISPLAY and TMUX allow environment variable injection into local-check logic. These environment variables influence whether a current session is local or remote, and a PAM module that runs in the context of setuid binaries (sudo, su), getenv() returns attacker-controlled values whenever the process environment has been manipulated by a local user. This issue has been fixed in version 0.9.2.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| mcdope / pam_usb | affected < 0.9.2 |
CWE
CWE-454, CWE-807
References
- https://github.com/mcdope/pam_usb/security/advisories/GHSA-qr83-mf3h-fvqr
- https://github.com/mcdope/pam_usb/releases/tag/0.9.2
ADP enrichment
No English description supplied.
No references supplied.