PT-2018-14707 · Nc · Nc-Cms
Published
2018-10-31
·
Updated
2018-12-10
·
CVE-2018-18874
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
nc-cms versions prior to 2017-03-10
Description
The issue allows remote attackers to execute arbitrary PHP code via the "Upload File or Image" feature. This can be achieved by uploading a file with a .php filename and setting the
Content-Type to application/octet-stream in the request to the "index.php?action=file manager upload" API endpoint.Recommendations
For versions prior to 2017-03-10, as a temporary workaround, consider disabling the file upload feature in the
file manager upload action until a patch is available. Restrict access to the index.php?action=file manager upload endpoint to minimize the risk of exploitation. Avoid using the Content-Type: application/octet-stream header in requests to this endpoint until the issue is resolved.Exploit
Fix
Unrestricted File Upload
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Nc-Cms