7.2
CVSSv2

CVE-2014-5284

Published: 02/12/2014 Updated: 02/12/2014
CVSS v2 Base Score: 7.2 | Impact Score: 10 | Exploitability Score: 3.9
VMScore: 725
Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C

Vulnerability Summary

host-deny.sh in OSSEC prior to 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.

Vulnerability Trend

Vulnerable Product Search on Vulmon Subscribe to Product

ossec ossec

Exploits

#!/usr/bin/python # Exploit Title: ossec 28 Insecure Temporary File Creation Vulnerability Privilege Escalation # Date: 14-11-14 # Exploit Author: skynet-13 # Vendor Homepage: wwwossecnet/ # Software Link: githubcom/ossec/ossec-hids/archive/281targz # Version: OSSEC - 28 # Tested on: Ubunutu x86_64 # CVE : 2014-5284 # Created fro ...

Github Repositories

Bash implementation of CVE-2014-5284

CVE-2014-5284 Bash implementation of CVE-2014-5284 Exploit Title: ossec 28 Insecure Temporary File Creation Vulnerability Privilege Escalation Python is nice but doesn't work all the time Exploit Author: mbadanoiu Python Exploit Author: skynet-13 Vendor Homepage: wwwossecnet/ Software Link: githubcom/ossec/ossec-hids/archive/281targz Version: OSSEC - 28