CVE-2014-5284
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 2.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.4% in the next 30 days (EPSS).
- Severity: 7.2 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.4% · EPSS, next 30 days
- Weakness
- CWE-264
- Record status
- Modified
Affected
- Ossec ≤ 2.8.0
Attack profile CVSS 2.0 · 7.2
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:L/AC:L/Au:N/C:C/I:C/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2014-5284.md and follow it. Check whether this project is affected by CVE-2014-5284. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/ossec/ossec-hids/releases/tag/2.8.1
- https://github.com/ossec/ossec-hids/releases/tag/2.8.1
References
- 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
- 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