CVE-2016-5847

MEDIUM

SAP SAPCAR Archive Tool - Arbitrary File Permission Change via Hard Link Attack

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2016-5847. PoCs published by Core Security.

AI-analyzed exploit summary The document describes two vulnerabilities in SAPCAR (CVE-2016-5845 and CVE-2016-5847), including a denial-of-service via invalid filenames and a TOCTOU race condition leading to privilege escalation. Proof-of-concept archive files are provided to demonstrate the issues.

Description

SAP SAPCAR allows local users to change the permissions of arbitrary files and consequently gain privileges via a hard link attack on files extracted from an archive, possibly related to SAP Security Note 2327384.

Exploits (1)

exploitdb WRITEUP VERIFIED
by Core Security · textdoslinux
https://www.exploit-db.com/exploits/40230

The document describes two vulnerabilities in SAPCAR (CVE-2016-5845 and CVE-2016-5847), including a denial-of-service via invalid filenames and a TOCTOU race condition leading to privilege escalation. Proof-of-concept archive files are provided to demonstrate the issues.

Classification
Writeup 100%
Attack Type
Dos | Other
Complexity
Moderate
Reliability
Reliable
Target: SAPCAR archive tool (version 2.01 and possibly others)
No auth needed
Prerequisites: Local access to the system where SAPCAR is being executed · Ability to place a malicious archive file in a directory processed by SAPCAR
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (6)

Core 6
Core References
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/40230/
Exploit, Mailing List, Third Party Advisory mailing-list x_refsource_fulldisc
http://seclists.org/fulldisclosure/2016/Aug/46
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/92406
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/539180/100/0/threaded
Exploit, Third Party Advisory x_refsource_misc
https://www.coresecurity.com/advisories/sap-car-multiple-vulnerabilities

Scores

CVSS v3 5.8
EPSS 0.0103
EPSS Percentile 59.3%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L

Details

CWE
CWE-264
Status published
Products (1)
sap/sapcar_archive_tool
Published Aug 13, 2016
Tracked Since Feb 18, 2026