cve/2019/CVE-2019-19522.md

20 lines
931 B
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2019-19522](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-19522)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### Description
OpenBSD 6.6, in a non-default configuration where S/Key or YubiKey authentication is enabled, allows local users to become root by leveraging membership in the auth group. This occurs because root's file can be written to /etc/skey or /var/db/yubikey, and need not be owned by root.
### POC
#### Reference
- http://packetstormsecurity.com/files/155572/Qualys-Security-Advisory-OpenBSD-Authentication-Bypass-Privilege-Escalation.html
#### Github
- https://github.com/0xT11/CVE-POC
- https://github.com/bcoles/local-exploits
- https://github.com/retrymp3/Openbsd-Privilege-Escalation