CVE-2014-5284 – OSSEC 2.8 - 'hosts.deny' Local Privilege Escalation
https://notcve.org/view.php?id=CVE-2014-5284
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. host-deny.sh en OSSEC anterior a 2.8.1 escribe a ficheros temporales con nombres de ficheros previsibles sin verificar su dueño, lo que permite a usuarios locales modificar las restricciones de acceso en hosts.deny y ganar privilegios de root mediante la creación de los ficheros temporales antes de que se realice el bloqueo IP automático. OSSEC version 2.8 suffers from a privilege escalation vulnerability via insecure temporary file creation. • https://www.exploit-db.com/exploits/35234 https://github.com/mbadanoiu/CVE-2014-5284 http://packetstormsecurity.com/files/129111/OSSEC-2.8-Privilege-Escalation.html http://www.exploit-db.com/exploits/35234 https://github.com/ossec/ossec-hids/releases/tag/2.8.1 • CWE-264: Permissions, Privileges, and Access Controls •