CVE-2019-15900 Privilege escalation in n/a
Attackers can execute commands as root on non-OpenBSD platforms due to unchecked sscanf errors in doas, leading to privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2019-15900?
CVE-2019-15900 is a critical vulnerability in n/a, published on 18 Oct 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in slicer69 doas before 6.2 on certain platforms other than OpenBSD. On platforms without strtonum(3), sscanf was used without checking for error cases. Instead, the uninitialized variable errstr was checked and in some cases returned success even if sscanf failed. The result was that, instead of reporting that the supplied username or group name did not exist, it would execute the command as root.
Which versions are affected by CVE-2019-15900?
It affects 1 product.
Products include Doas Project Doas.
How do I fix CVE-2019-15900?
No fix has been published for CVE-2019-15900 yet. Limit exposure of the affected software until one is available.
Is CVE-2019-15900 being exploited?
There is no known exploitation of CVE-2019-15900 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-687w-xp39-q584.