OSSEC prior 2.8.0 Access Restriction host-deny.sh access control
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.6 | $0-$5k | 0.00 |
Summary
A vulnerability identified as problematic has been detected in OSSEC. The impacted element is an unknown function of the file host-deny.sh of the component Access Restriction. Performing a manipulation results in access control. This vulnerability is reported as CVE-2014-5284. Moreover, an exploit is present. You should upgrade the affected component.
Details
A vulnerability, which was classified as critical, was found in OSSEC. This affects some unknown functionality of the file host-deny.sh of the component Access Restriction. The manipulation with an unknown input leads to a access control vulnerability. CWE is classifying the issue as CWE-264. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE 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.
The weakness was disclosed 12/01/2014 by Jeff Petersen (Website). It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2014-5284 since 08/16/2014. The exploitability is told to be easy. Attacking locally is a requirement. No form of authentication is needed for exploitation. Technical details and a public exploit are known. The attack technique deployed by this issue is T1068 according to MITRE ATT&CK.
A public exploit has been developed by skynet-13 and been published even before and not after the advisory. The exploit is shared for download at exploit-db.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 77638 (FreeBSD : security/ossec-hids-* -- root escalation via temp files (36858e78-3963-11e4-ad84-000c29f6ae42)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks.
Upgrading to version 2.8.0 eliminates this vulnerability.
The vulnerability is also documented in the databases at Exploit-DB (35234), Tenable (77638), SecurityFocus (BID 70149†) and Vulnerability Center (SBV-47178†). Be aware that VulDB is the high quality source for vulnerability data.
Product
Name
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.4VulDB Meta Temp Score: 7.6
VulDB Base Score: 8.4
VulDB Temp Score: 7.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Access controlCWE: CWE-264
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: No
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: skynet-13
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 77638
Nessus Name: FreeBSD : security/ossec-hids-* -- root escalation via temp files (36858e78-3963-11e4-ad84-000c29f6ae42)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: OSSEC 2.8.0
Timeline
08/16/2014 🔍09/09/2014 🔍
09/09/2014 🔍
09/12/2014 🔍
11/14/2014 🔍
11/14/2014 🔍
11/19/2014 🔍
12/01/2014 🔍
12/01/2014 🔍
03/27/2015 🔍
11/26/2024 🔍
Sources
Advisory: 129111Researcher: Jeff Petersen
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2014-5284 (🔍)
GCVE (CVE): GCVE-0-2014-5284
GCVE (VulDB): GCVE-100-73047
SecurityFocus: 70149 - OSSEC CVE-2014-5284 Insecure Temporary File Creation Vulnerability
Vulnerability Center: 47178 - OSSEC before 2.8.1 Local Temporary File Creation Vulnerability, Low
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 03/27/2015 14:56Updated: 11/26/2024 04:51
Changes: 03/27/2015 14:56 (60), 06/12/2017 08:32 (12), 04/04/2022 19:45 (4), 04/04/2022 19:52 (1), 11/26/2024 04:51 (14)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.