PT-2020-19212 · Dotcms · Dotcms
Published
2020-02-05
·
Updated
2020-02-07
·
CVE-2020-6754
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
dotCMS versions prior to 5.2.4
Description
The issue allows for directory traversal, leading to incorrect access control. This enables an attacker to read or execute files under $TOMCAT HOME/webapps/ROOT/assets, a directory that should be protected. Furthermore, attackers can upload temporary files, such as .jsp files, into /webapps/ROOT/assets/tmp upload, potentially leading to remote command execution with the permissions of the user running the dotCMS application.
Recommendations
For versions prior to 5.2.4, update to version 5.2.4 or later to resolve the issue. As a temporary workaround, consider restricting access to the /webapps/ROOT/assets directory and disabling the ability to upload files to /webapps/ROOT/assets/tmp upload until the update is applied.
Exploit
Fix
Unrestricted File Upload
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Dotcms