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.
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Pam-u2f | Yubico | 1.0.7 (including) | 1.0.7 (including) |
Pam-u2f | Ubuntu | bionic | * |
Pam-u2f | Ubuntu | cosmic | * |
Pam-u2f | Ubuntu | disco | * |
Pam-u2f | Ubuntu | esm-apps/bionic | * |
Pam-u2f | Ubuntu | esm-apps/xenial | * |
Pam-u2f | Ubuntu | trusty | * |
Pam-u2f | Ubuntu | upstream | * |
Pam-u2f | Ubuntu | xenial | * |