CVE-2020-6225 Path traversal in SAP NetWeaver (Knowledge Management) (KMC-CM)

Critical 9.1 Published Updated

An attacker can exploit insufficient path validation in SAP NetWeaver Knowledge Management to overwrite, delete, or corrupt arbitrary files on the server.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2020-6225?

CVE-2020-6225 is a critical path traversal vulnerability in SAP NetWeaver (Knowledge Management) (KMC-CM), published on 14 Apr 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

SAP NetWeaver (Knowledge Management), versions (KMC-CM - 7.00, 7.01, 7.02, 7.30, 7.31, 7.40, 7.50 and KMC-WPC 7.30, 7.31, 7.40, 7.50), does not sufficiently validate path information provided by users, thus characters representing traverse to parent directory are passed through to the file APIs, allowing the attacker to overwrite, delete, or corrupt arbitrary files on the remote server, leading to Path Traversal.

Weakness: CWE-22

Which versions are affected by CVE-2020-6225?

It affects 2 products.

Products include Sap Netweaver Knowledge Management and Collaboration \(Kmc-Cm\), Sap Netweaver Knowledge Management and Collaboration \(Kmc-Wpc\).

How do I fix CVE-2020-6225?

No fix has been published for CVE-2020-6225 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2020-6225 being exploited?

There is no known exploitation of CVE-2020-6225 in the wild and no public exploit code.

Sources

Also known as GHSA-fv4j-jw35-jw4q.

Is CVE-2020-6225 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free