Google Android 4.4 Binder Driver binder_poll use after free
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.4 | $0-$5k | 0.00 |
Summary
A vulnerability identified as critical has been detected in Google Android 4.4. This affects the function binder_poll of the component Binder Driver. The manipulation leads to use after free.
This vulnerability is documented as CVE-2019-2215. The attack needs to be performed locally. Additionally, an exploit exists.
You should upgrade the affected component.
Details
A vulnerability was found in Google Android 4.4 (Smartphone Operating System). It has been rated as critical. This issue affects the function binder_poll of the component Binder Driver. The manipulation with an unknown input leads to a use after free vulnerability. Using CWE to declare the problem leads to CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
A use-after-free in binder.c allows an elevation of privilege from an application to the Linux Kernel. No user interaction is required to exploit this vulnerability, however exploitation does require either the installation of a malicious local application or a separate vulnerability in a network facing application.Product: AndroidAndroid ID: A-141720095
The weakness was released 09/27/2019 as confirmed bug report (Website). It is possible to read the advisory at bugs.chromium.org. The identification of this vulnerability is CVE-2019-2215 since 12/10/2018. Attacking locally is a requirement. No form of authentication is needed for a successful exploitation. Technical details as well as a public exploit are known. The advisory points out:
As described in the upstream commit: “binder_poll() passes the thread->wait waitqueue that can be slept on for work. When a thread that uses epoll explicitly exits using BINDER_THREAD_EXIT, the waitqueue is freed, but it is never removed from the corresponding epoll data structure. When the process subsequently exits, the epoll cleanup code tries to access the waitlist, which results in a use-after-free.
After immediately, there has been an exploit disclosed. The exploit is available at bugs.chromium.org. It is declared as attacked. We expect the 0-day to have been worth approximately $5k-$25k. The code used by the exploit is:
#include <fcntl.h>
#include <sys/epoll.h>
#include <sys/ioctl.h>
#include <unistd.h>
#define BINDER_THREAD_EXIT 0x40046208ul
int main()
{
int fd, epfd;
struct epoll_event event = { .events = EPOLLIN };
fd = open("/dev/binder0", O_RDONLY);
epfd = epoll_create(1000);
epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &event);
ioctl(fd, BINDER_THREAD_EXIT, NULL);
}The CISA Known Exploited Vulnerabilities Catalog lists this issue since 11/03/2021 with a due date of 05/03/2022:Apply updates per vendor instructions.Upgrading to version 3.8, 4.14 LTS or 4.9 eliminates this vulnerability.
The vulnerability is also documented in the vulnerability database at Exploit-DB (47463). Be aware that VulDB is the high quality source for vulnerability data.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.google.com/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.5VulDB Meta Temp Score: 6.4
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Use after freeCWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: No
Availability: 🔍
Access: Public
Status: Attacked
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
KEV Added: 🔍
KEV Due: 🔍
KEV Remediation: 🔍
KEV Ransomware: 🔍
KEV Notice: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Exploit Delay Time: 🔍
Upgrade: Android 3.8/4.14 LTS/4.9
Timeline
12/10/2018 🔍09/27/2019 🔍
09/27/2019 🔍
10/08/2019 🔍
09/09/2024 🔍
Sources
Vendor: google.comAdvisory: sa-20191030-01
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2019-2215 (🔍)
GCVE (CVE): GCVE-0-2019-2215
GCVE (VulDB): GCVE-100-142991
scip Labs: https://www.scip.ch/en/?labs.20150917
Entry
Created: 10/08/2019 07:27Updated: 09/09/2024 22:29
Changes: 10/08/2019 07:27 (65), 09/25/2020 16:37 (2), 01/03/2024 18:44 (4), 01/03/2024 18:52 (1), 04/19/2024 15:55 (27), 06/09/2024 19:45 (1), 07/25/2024 18:24 (1), 09/09/2024 22:29 (1)
Complete: 🔍
Submitter: misc
Cache ID: 216::103
Submit
Accepted
- Submit #88: Android: Use-After-Free in Binder driver (by misc)
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.