Symlink Vulnerability in Yubico PAM U2F Authentication Middleware
CVE-2019-12209
7.5HIGH
What is CVE-2019-12209?
The Yubico pam-u2f version 1.0.7 exhibits a flaw in its handling of the authentication file, $HOME/.config/Yubico/u2f_keys. When the authentication file is parsed, it does so as root unless the 'openasuser' option is specifically enabled. Consequently, if a symlink exists that redirects to files owned by root, this could allow unintended access. Additionally, if the PAM configuration has the debug option activated, critical elements of the symlinked file’s content may inadvertently be logged, potentially exposing sensitive data.