Vulnerability in Ossec
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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.2 (High). Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.024, 84.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- mbadanoiu/CVE-2014-5284 (last pushed 2019-01-11): Bash implementation of CVE-2014-5284
Also mentioned in 38 other repositories (0xTo/linux-kernel-exploits, Al1ex/LinuxEelvation, albinjoshy03/linux-kernel-exploits, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.exploit-db.com/exploits/35234 (Exploit, exploit)
- packetstormsecurity.com/files/129111/OSSEC-2.8-Privilege-Escalation.html (Exploit)
- github.com/ossec/ossec-hids/releases/tag/2.8.1 (Patch, Vendor Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.