CVE-2019-12209
published 2019-06-04CVE-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…
PriorityP343high7.5CVSS 3.0
AVNACLPRNUINSUCHINAN
EPSS
2.89%
85.3th percentile
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
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | pam-u2f | < pam-u2f 1.0.8-1 (bookworm) | pam-u2f 1.0.8-1 (bookworm) |
| yubico | pam-u2f | — | — |
| yubico | pam-u2f | >= 0 < 1.0.8-1 | 1.0.8-1 |
| yubico | pam-u2f | >= 0 < 1.0.8-1 | 1.0.8-1 |
| yubico | pam-u2f | >= 0 < 1.0.8-1 | 1.0.8-1 |
| yubico | pam-u2f | >= 0 < 1.0.8-1 | 1.0.8-1 |
CVSS provenance
nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
osv7.5HIGH
vendor_debian7.5LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Debian
CVE-2019-12209: pam-u2f - Yubico pam-u2f 1.0.7 attempts parsing of the configured authfile (default $HOME/...
vendor_debian·2019·CVSS 7.5
CVE-2019-12209 [HIGH] CVE-2019-12209: pam-u2f - Yubico pam-u2f 1.0.7 attempts parsing of the configured authfile (default $HOME/...
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.
Scope: local
bookworm: resolved (fixed in 1.0.8-1)
bullseye: resolved (fixed in 1.0.8-1)
forky: resolved (fixed in 1.0.8-1)
sid: resolved (fixed in 1.0.8-1)
trixie: resolved (fixed in 1.0.8-1)
GHSA
GHSA-cf2r-5chq-jmm8: Yubico pam-u2f 1
ghsa_unreviewed·2022-05-24
CVE-2019-12209 [HIGH] CWE-59 GHSA-cf2r-5chq-jmm8: Yubico pam-u2f 1
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.
OSV
CVE-2019-12209: Yubico pam-u2f 1
osv·2019-06-04·CVSS 7.5
CVE-2019-12209 [HIGH] CVE-2019-12209: Yubico pam-u2f 1
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-12209 pam-u2f: insecure debug file handling leads to information disclosure [fedora-all]
bugzilla·2019-08-02·CVSS 7.5
CVE-2019-12209 [HIGH] CVE-2019-12209 pam-u2f: insecure debug file handling leads to information disclosure [fedora-all]
CVE-2019-12209 pam-u2f: insecure debug file handling leads to information disclosure [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multipl
Bugzilla
CVE-2019-12209 pam-u2f: insecure debug file handling leads to information disclosure
bugzilla·2019-08-02·CVSS 7.5
CVE-2019-12209 [HIGH] CVE-2019-12209 pam-u2f: insecure debug file handling leads to information disclosure
CVE-2019-12209 pam-u2f: insecure debug file handling leads to information disclosure
Parsing of the configured authfile (default ~/.config/Yubico/u2f_keys) as root, 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.
External Reference:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931991
Upstream Commit:
https://github.com/Yubico/pam-u2f/commit/7db3386fcdb454e33a3ea30dcfb8e8960d4c3aa3
Discussion:
Created pam-u2f tracking bugs for this issue:
Affects: fedora-all [bug 1736870]
---
This CVE Bugzilla entry is for community support informational purposes only as it do
Bugzilla
Debug file descriptor leak CVE-2019-1221 and insecure debug file handling CVE-2019-12209
bugzilla·2019-06-05·CVSS 7.5
CVE-2019-1221 [HIGH] Debug file descriptor leak CVE-2019-1221 and insecure debug file handling CVE-2019-12209
Debug file descriptor leak CVE-2019-1221 and insecure debug file handling CVE-2019-12209
Yubico have released version 1.0.8 of pam-u2f containing two security fixes that together could allow a local user to read any file on the filesystem if the debug variable and the debug_file variables have been set in the pam module configuration. Also, the authfile setting file in the users home directory was parsed as root and would follow symlinks which could be abused in many ways.
https://developers.yubico.com/pam-u2f/Release_Notes.html
This was discovered by SUSE and they will make a post to oss-security@ soon.
Release tar ball https://developers.yubico.com/pam-u2f/Releases/pam_u2f-1.0.8.tar.gz
Commit fix for CVE-2019-12210:
https://github.com/Yubico/pam-u2f/commit/18b1914e32b74ff52000f10e97
http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00012.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-07/msg00018.htmlhttp://www.openwall.com/lists/oss-security/2019/06/05/1https://developers.yubico.com/pam-u2f/Release_Notes.htmlhttps://github.com/Yubico/pam-u2f/commit/7db3386fcdb454e33a3ea30dcfb8e8960d4c3aa3https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5FOR4ADC356JPCHAJI5UXZORLC3VNBPS/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZCGU6UQLI3ZTW3UYCTMQW7VDL5M4LCWR/http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00012.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-07/msg00018.htmlhttp://www.openwall.com/lists/oss-security/2019/06/05/1https://developers.yubico.com/pam-u2f/Release_Notes.htmlhttps://github.com/Yubico/pam-u2f/commit/7db3386fcdb454e33a3ea30dcfb8e8960d4c3aa3https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5FOR4ADC356JPCHAJI5UXZORLC3VNBPS/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZCGU6UQLI3ZTW3UYCTMQW7VDL5M4LCWR/
2019-06-04
Published