CVE-2019-12209: High severity yubico pam u2f vulnerability
Yubico pam-u2f 1.0.7 attempts parsing of the configured authfile (default $HOME/.config/Yubico/u2fkeys) 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 Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2019-12209?
The severity of CVE-2019-12209 is high.
How does Yubico pam-u2f 1.0.7 handle the configured authfile?
Yubico pam-u2f 1.0.7 attempts parsing of the configured authfile (default $HOME/.config/Yubico/u2f_keys) as root (unless openasuser was enabled).
What does Yubico pam-u2f 1.0.7 fail to verify?
Yubico pam-u2f 1.0.7 fails to properly verify that the path lacks symlinks pointing to other files on the system owned by root.
Can the vulnerability be exploited if the debug option is enabled in the PAM configuration?
Yes, the vulnerability can be exploited if the debug option is enabled in the PAM configuration.
How can I fix CVE-2019-12209?
Update Yubico pam-u2f to version 1.1.0 or later.