CVE-2020-6754 Path traversal in n/a

Critical 9.8 Published Updated

Attackers can exploit directory traversal to read protected files or upload malicious JSP files, leading to remote code execution on the dotCMS server.

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

What is CVE-2020-6754?

CVE-2020-6754 is a critical path traversal vulnerability in Dotcms Dotcms, published on 5 Feb 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

dotCMS before 5.2.4 is vulnerable to directory traversal, leading to incorrect access control. It allows an attacker to read or execute files under $TOMCAT_HOME/webapps/ROOT/assets (which should be a protected directory). Additionally, attackers can upload temporary files (e.g., .jsp files) into /webapps/ROOT/assets/tmp_upload, which can lead to remote command execution (with the permissions of the user running the dotCMS application).

Weakness: CWE-434, CWE-22

Which versions are affected by CVE-2020-6754?

It affects 1 product.

Products include Dotcms Dotcms.

How do I fix CVE-2020-6754?

No fix has been published for CVE-2020-6754 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-6754 being exploited?

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

All Dotcms Dotcms vulnerabilities

Sources

Also known as GHSA-qxjv-gj9g-c373.

Is CVE-2020-6754 in your software?

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

Check your SBOMs for free