The verify endpoint in YubiKey Validation Server before 2.40 does not check the length of SQL queries, which allows remote attackers to cause a denial of service, aka SQL injection. NOTE: this issue is potentially relevant to persons outside Yubico who operate a self-hosted OTP validation service; the issue does NOT affect YubiCloud.
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Link | Tags |
---|---|
https://www.yubico.com/support/security-advisories/ysa-2020-01/ | exploit vendor advisory |
https://github.com/Yubico/yubikey-val/releases/tag/yubikey-val-2.40 | third party advisory release notes |
https://lists.debian.org/debian-lts-announce/2020/03/msg00014.html | mailing list |