CVE-2024-51991: October CMS Allows Unprotected SVG Rename in Media Manager
Impact
This advisory affects authenticated administrators with sites that have the media.cleanvectors configuration enabled. This configuration will sanitize SVG files uploaded using the media manager. This vulnerability allows an authenticated user to bypass this protection by uploading it with a permitted extension (for example, .jpg or .png) and later modifying it to the .svg extension.
This vulnerability assumes a trusted user will attack another trusted user and cannot be actively exploited without access to the administration panel and interaction from the other user.
Patches
This issue has been patched in v3.7.5.
References
Credits to: - Cyber-Wo0dy
For more information If you have any questions or comments about this advisory: Email us at hello@octobercms.com
Other sources
October is a Content Management System (CMS) and web platform. A vulnerability in versions prior to 3.7.5 affects authenticated administrators with sites that have the media.cleanvectors configuration enabled. This configuration will sanitize SVG files uploaded using the media manager. This vulnerability allows an authenticated user to bypass this protection by uploading it with a permitted extension (for example, .jpg or .png) and later modifying it to the .svg extension. This vulnerability assumes a trusted user will attack another trusted user and cannot be actively exploited without access to the administration panel and interaction from the other user. This issue has been patched in v3.7.5.
— MITRE
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-51991?
The severity of CVE-2024-51991 is considered moderate due to the risk posed to authenticated administrators with the media.clean_vectors configuration enabled.
How do I fix CVE-2024-51991?
To fix CVE-2024-51991, update your October CMS to version 3.7.5 or later.
Who is affected by CVE-2024-51991?
CVE-2024-51991 affects authenticated administrators using October CMS with the media.clean_vectors configuration enabled.
What kind of attacks might exploit CVE-2024-51991?
CVE-2024-51991 can be exploited by authenticated users to upload malicious SVG files that bypass sanitization.
Is the media.clean_vectors configuration safe to use with CVE-2024-51991?
The media.clean_vectors configuration is not safe to use in versions vulnerable to CVE-2024-51991 without the necessary updates.