Description
In OpenBSD 6.6, local users can use the su -L option to achieve any login class (often excluding root) because there is a logic error in the main function in su/su.c.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
n/a n/a
n/aaffected
References
- https://www.openwall.com/lists/oss-security/2019/12/04/5 ↗
- https://www.openbsd.org/errata66.html ↗
- https://github.com/openbsd/src/blob/2dfc98f42e117c7605b52b5020b630d98601dc22/usr.bin/su/su.c#L210-L211 ↗
- http://www.openwall.com/lists/oss-security/2019/12/04/5 ↗
- https://seclists.org/bugtraq/2019/Dec/8 ↗
- http://packetstormsecurity.com/files/155572/Qualys-Security-Advisory-OpenBSD-Authentication-Bypass-Privilege-Escalation.html ↗
- http://seclists.org/fulldisclosure/2019/Dec/14 ↗