CVE-2015-3222

HIGH

OSSEC 2.7-2.8.1 - Local Privilege Escalation via syscheck/seechanges.c

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2015-3222. PoCs published by Andrew Widdersheim.

AI-analyzed exploit summary This is a detailed writeup explaining CVE-2015-3222, a local privilege escalation vulnerability in OSSEC HIDS versions 2.7 to 2.8.1. The vulnerability arises from improper handling of filenames in the syscheck daemon, allowing command injection via the diff command.

Description

syscheck/seechanges.c in OSSEC 2.7 through 2.8.1 on NIX systems allows local users to execute arbitrary code as root.

Exploits (1)

exploitdb WRITEUP
by Andrew Widdersheim · textlocallinux
https://www.exploit-db.com/exploits/37265

This is a detailed writeup explaining CVE-2015-3222, a local privilege escalation vulnerability in OSSEC HIDS versions 2.7 to 2.8.1. The vulnerability arises from improper handling of filenames in the syscheck daemon, allowing command injection via the diff command.

Classification
Writeup 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: OSSEC HIDS 2.7 - 2.8.1
No auth needed
Prerequisites: Vulnerable OSSEC version · syscheck enabled with report_changes · Writable directory monitored by syscheck
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4
Core References
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2015/06/11/1
Third Party Advisory x_refsource_confirm
https://github.com/ossec/ossec-hids/releases/tag/2.8.2
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/75148

Scores

CVSS v3 7.0
EPSS 0.0199
EPSS Percentile 78.2%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-264
Status published
Products (4)
ossec/ossec 2.7.0
ossec/ossec 2.7.1
ossec/ossec 2.8.0
ossec/ossec 2.8.1
Published Sep 07, 2017
Tracked Since Feb 18, 2026