CVE-2019-12209 Yubico pam-u2f 1.0.7 attempts parsing of the configured authfile (default $HOME/.config/Yubico/u2f_keys) as root (unless openasuser was enabled), and does not properly verify that the path lacks symli...
HighCVSS 7.5
EPSS 2.8%
- Published
- Updated
- Exploit status
- No public exploit known
Description
Yubico pam-u2f 1.0.7 attempts parsing of the configured authfile (default $HOME/.config/Yubico/u2f_keys) as root (unless openasuser was enabled), and does not properly verify that the path lacks symlinks pointing to other files on the system owned by root. If the debug option is enabled in the PAM configuration, part of the file contents of a symlink target will be logged, possibly revealing sensitive information.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/pam-u2f(Debian:12) | < 1.0.8-1 | 1.0.8-1 |
| debian/pam-u2f(Debian:13) | < 1.0.8-1 | 1.0.8-1 |
| debian/pam-u2f(Debian:14) | < 1.0.8-1 | 1.0.8-1 |
| Yubico pam-u2f | = 1.0.7 | No fix listed |
| ubuntu/pam-u2f(Ubuntu:Pro:16.04) | All versions | No fix listed |
| ubuntu/pam-u2f(Ubuntu:Pro:16.04) | = 1.0.1-1 | No fix listed |
| ubuntu/pam-u2f(Ubuntu:Pro:16.04) | = 1.0.2-1 | No fix listed |
| ubuntu/pam-u2f(Ubuntu:Pro:16.04) | = 1.0.3-1 | No fix listed |
| ubuntu/pam-u2f(Ubuntu:Pro:18.04) | All versions | No fix listed |
| ubuntu/pam-u2f(Ubuntu:Pro:18.04) | = 1.0.4-2 | No fix listed |
References
- Debian Security Tracker CVE-2019-12209 vendor-advisory
- openSUSE-SU-2019:1708 vendor-advisory
- openSUSE-SU-2019:1725 vendor-advisory
- [oss-security] 20190605 pam-u2f: CVE-2019-12210: debug_file file descriptor leak, CVE-2019-12209: symlink attack on u2f_keys leading to possible information leak exploit mailing-list third-party-advisory
- developers.yubico.com issue-tracking release-notes vendor-advisory
- github.com patch third-party-advisory
- FEDORA-2019-b6d3c8b0a8 vendor-advisory
- FEDORA-2019-cd8f4b9568 vendor-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- www.openwall.com issue-tracking
- www.cve.org issue-tracking