Access Restriction Bypass Affecting ossec/ossec-hids package, versions [,2.8.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
9.66% (93rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-OSSECOSSECHIDS-2366176
  • published26 Jan 2022
  • disclosed2 Dec 2014
  • creditUnknown

Introduced: 2 Dec 2014

CVE-2014-5284  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade ossec/ossec-hids to version 2.8.1 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass 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 Base Scores

version 3.1