Description
host-deny.sh in OSSEC before 2.8.1 writes to temporary files with predictable filenames without verifying ownership, which allows local users to modify access restrictions in hosts.deny and gain root privileges by creating the temporary files before automatic IP blocking is performed.
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.
Exploit-DB 1
- OSSEC 2.8 - 'hosts.deny' Local Privilege Escalation EDB-35234 · local · Nov 14, 2014 · verified
GitHub 1 repository
-
mbadanoiu/CVE-2014-5284 ★ 0 · Jan 2, 2019
Bash implementation of CVE-2014-5284
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.