CVE-2022-26149: Unrestricted Upload of File with Dangerous Type in MODX Revolution
Summary
CVE-2022-26149: Unrestricted Upload of File with Dangerous Type in MODX Revolution. Affects modx/revolution versions < 2.8.3-pl. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
MODX Revolution is a content management system (CMS) that allows users to create and manage websites. It provides a flexible and customizable platform for building websites and web applications. However, a vulnerability has been discovered in MODX Revolution versions up to 2.8.3-pl that allows remote authenticated administrators to execute arbitrary code by uploading an executable file. This vulnerability arises from the ability of administrators to change the Uploadable File Types setting, which can lead to the upload of dangerous files.
Vulnerability Detail
The vulnerability in MODX Revolution allows authenticated administrators to upload executable files, which can then be executed on the server. This can lead to arbitrary code execution and potential compromise of the server. The Uploadable File Types setting, which determines the file types that can be uploaded, can be modified by administrators, allowing them to bypass any restrictions on file types. This vulnerability has a CVSS score of 7.2, indicating a high severity level.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a temporary workaround, administrators can disable file uploads or restrict the Uploadable File Types setting to only allow safe file types. This can help mitigate the risk of uploading and executing dangerous files. However, it is important to note that this is only a temporary solution and updating to the latest version of MODX Revolution is still recommended.
Conclusion
In conclusion, the vulnerability in MODX Revolution allows authenticated administrators to upload and execute arbitrary code on the server. To mitigate this risk, it is important to update to the latest version of MODX Revolution, restrict the Uploadable File Types setting, and regularly monitor file uploads. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for modx/revolution →
FAQ
MODX Revolution is a content management system (CMS) that allows users to create and manage websites.
This vulnerability allows authenticated administrators to upload and execute arbitrary code on the server, potentially leading to server compromise.
To fix this vulnerability, update MODX Revolution to version 2.8.4 or later and restrict the Uploadable File Types setting.
Yes, you can temporarily disable file uploads or restrict the Uploadable File Types setting to only allow safe file types.
Yes, this vulnerability has a CVSS score of 7.2, indicating a high severity level.
Related vulnerabilities
Recent vulnerabilities recorded for modx/revolution.