Security Vulnerability Report
中文
CVE-2025-55340 CVSS 7.0 HIGH

CVE-2025-55340

Published: 2025-10-14 17:15:48
Last Modified: 2025-10-24 15:30:01

Description

Improper authentication in Windows Remote Desktop Protocol allows an authorized attacker to bypass a security feature locally.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:o:microsoft:windows_10_21h2:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:microsoft:windows_10_22h2:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:microsoft:windows_11_22h2:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:microsoft:windows_11_23h2:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:microsoft:windows_11_24h2:*:*:*:*:*:*:*:* - VULNERABLE
Microsoft Windows 10 (所有版本)
Microsoft Windows 11 (所有版本)
Microsoft Windows Server 2016
Microsoft Windows Server 2019
Microsoft Windows Server 2022
Microsoft Windows Server 2025

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-55340 - Windows RDP Authentication Bypass PoC (Conceptual) # This is a conceptual demonstration based on public vulnerability information. # Actual exploitation requires specific environment configuration. import subprocess import sys import os # Note: This PoC demonstrates the concept of the vulnerability. # Real exploitation requires local access and specific RDP configurations. def check_rdp_service(): """Check if RDP service is running on the local system""" try: result = subprocess.run( ["sc", "query", "TermService"], capture_output=True, text=True ) if "RUNNING" in result.stdout: print("[+] RDP Service (TermService) is running") return True else: print("[-] RDP Service is not running") return False except Exception as e: print(f"[-] Error checking RDP service: {e}") return False def enumerate_rdp_sessions(): """Enumerate active RDP sessions (low-privilege context)""" try: result = subprocess.run( ["query", "session"], capture_output=True, text=True ) print("[+] Active RDP Sessions:") print(result.stdout) return result.stdout except Exception as e: print(f"[-] Error enumerating sessions: {e}") return None def check_user_privileges(): """Check current user privilege level""" try: result = subprocess.run( ["whoami", "/priv"], capture_output=True, text=True ) print("[+] Current User Privileges:") print(result.stdout) # Check for SeAssignPrimaryTokenPrivilege or similar if "SeRemoteInteractiveLogonRight" in result.stdout: print("[!] User has RDP-related privileges") return result.stdout except Exception as e: print(f"[-] Error checking privileges: {e}") return None def exploit_auth_bypass(target_session_id): """ Conceptual exploitation of RDP authentication bypass. The vulnerability allows a low-privilege user to bypass authentication checks in the RDP subsystem. """ print(f"[*] Attempting to exploit CVE-2025-55340 on session {target_session_id}") # In the actual vulnerability, the authentication bypass occurs # due to improper validation in the RDP authentication subsystem. # A low-privilege attacker can leverage this to gain unauthorized # access to RDP-protected resources. print("[!] This is a conceptual PoC - actual exploitation requires") print(" specific system configuration and the Microsoft patch") print(" for CVE-2025-55340 must NOT be applied.") if __name__ == "__main__": print("=" * 60) print("CVE-2025-55340 - Windows RDP Authentication Bypass") print("CVSS 3.1: 7.0 (HIGH)") print("Vector: AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H") print("=" * 60) if not check_rdp_service(): sys.exit(1) enumerate_rdp_sessions() check_user_privileges() print("\n[*] Recommendation: Apply Microsoft security update") print(" https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-55340")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-55340", "sourceIdentifier": "[email protected]", "published": "2025-10-14T17:15:47.620", "lastModified": "2025-10-24T15:30:00.670", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper authentication in Windows Remote Desktop Protocol allows an authorized attacker to bypass a security feature locally."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.0, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.0, "impactScore": 5.9}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.0, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.0, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-287"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_10_21h2:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.19044.6456", "matchCriteriaId": "1485A427-10FF-4C39-9911-4C6F1820BE7F"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_10_22h2:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.19045.6456", "matchCriteriaId": "26CAACAA-3FE8-4740-8CF2-6BF3D069C47F"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_11_22h2:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.22621.6060", "matchCriteriaId": "6F387FA2-66C8-4B70-A537-65806271F16A"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_11_23h2:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.22631.6060", "matchCriteriaId": "A3FEBF91-5010-4C84-B93A-6EFA4838185A"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_11_24h2:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.26100.6899", "matchCriteriaId": "41E9F7AC-8E6D-43A0-A157-48A5E0B5BD0D"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_11_25h2:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.26200.6899", "matchCriteriaId": "3B77A066-4F79-4B1F-AECF-58DB4C651EA5"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_server_2022:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.20348.4294", "matchCriteriaId": "B1C1EA69-6BB8-4E59-8659-43581FDB48B7"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_server_2022_23h2:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.25398.1913", "matchCriteriaId": "370C12D6-90EF-44BE-8070-AA0080C12600"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_server_2025:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.26100.6899", "matchCriteriaId": "72C1771B-635B-41E3-84AF-8822467A1869"}]}]}], "references": [{"url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-55340", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}