
Cloud Vulnerability DB
A community-led vulnerabilities database
An arbitrary file upload vulnerability has been identified in the Media Manager component of DokuWiki version 2024-02-06a. The vulnerability allows attackers to execute arbitrary code by uploading a crafted SVG file. This vulnerability is currently disputed, as there are claims that exploitation can only occur with a misconfiguration of the product (NVD).
The vulnerability exists in the Media Manager component where SVG files are allowed in the file extension list. When an attacker uploads a malicious SVG file containing HTML code, while the file may not execute when accessed through the fetch.php interface, it can be triggered by directly accessing the file in the data/media directory. The server does implement some malicious content detection during upload, but it can be bypassed under certain conditions (GitHub Issue).
If successfully exploited, this vulnerability could allow attackers to execute arbitrary code through SVG files, potentially leading to stored XSS attacks that could compromise user cookies and other sensitive information. The impact is heightened when users access the malicious SVG file directly through the media directory (GitHub Issue).
The vulnerability can be exploited by uploading a specially crafted SVG file through the Media Manager interface. However, there is ongoing discussion about whether this vulnerability requires a misconfiguration to be exploitable. A proof of concept exists demonstrating the attack vector through a POST request to /lib/exe/ajax.php followed by accessing the uploaded file directly at /data/media/ (GitHub Issue).
While official patches are pending, administrators should review their DokuWiki Media Manager configurations, particularly focusing on SVG file handling and direct access to the media directory. Consider restricting SVG file uploads or implementing additional security controls for accessing files in the data/media directory (NVD).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."