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…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.52%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 2.0
- 7.2 HIGHAV:L/AC:L/Au:N/C:C/I:C/A:C
- EPSS
- 2.52% probability · 84th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-264
- Affected
- ossec/ossec
- Source
- cve@mitre.org
References
- http://packetstormsecurity.com/files/129111/OSSEC-2.8-Privilege-Escalation.htmlExploit
- http://www.exploit-db.com/exploits/35234Exploit
- https://github.com/ossec/ossec-hids/releases/tag/2.8.1Patch, Vendor Advisory
- http://packetstormsecurity.com/files/129111/OSSEC-2.8-Privilege-Escalation.htmlExploit
- http://www.exploit-db.com/exploits/35234Exploit
- https://github.com/ossec/ossec-hids/releases/tag/2.8.1Patch, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.