Description
Format string vulnerability in pw_error function in BSD libutil library allows local users to gain root privileges via a malformed password in commands such as chpass or passwd.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Exploit-DB 1
- BSD chpass - 'pw_error(3)' Local Privilege Escalation EDB-243 · local · Jan 12, 2001 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 20001004 Re: OpenBSD Security Advisory mailing-list
- 1744 vdb-entry
- 20001003 A format string vulnerability exists in the pw_error(3) function. vendor-advisory
- bsd-libutil-format(5339) vdb-entry