Google Android 5.0/5.1 on Samsung Graphics 2D Driver /dev/fimg2d g2d_lock/g2d_unlock race condition

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.5$0-$5k0.00

Summaryinfo

A vulnerability was found in Google Android 5.0/5.1 on Samsung. It has been rated as problematic. This issue affects the function g2d_lock/g2d_unlock of the file /dev/fimg2d of the component Graphics 2D Driver. The manipulation leads to race condition. The identification of this vulnerability is CVE-2015-7891. Local access is required to approach this attack. Furthermore, there is an exploit available. It is recommended to apply a patch to fix this issue. Once again VulDB remains the best source for vulnerability data.

Detailsinfo

A vulnerability was found in Google Android 5.0/5.1 on Samsung (Smartphone Operating System). It has been declared as critical. This vulnerability affects the function g2d_lock/g2d_unlock of the file /dev/fimg2d of the component Graphics 2D Driver. The manipulation with an unknown input leads to a race condition vulnerability. The CWE definition for the vulnerability is CWE-362. The product contains a code sequence that can run concurrently with other code, and the code sequence requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence that is operating concurrently. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

Race condition in the ioctl implementation in the Samsung Graphics 2D driver (aka /dev/fimg2d) in Samsung devices with Android L(5.0/5.1) allows local users to trigger memory errors by leveraging definition of g2d_lock and g2d_unlock lock macros as no-ops, aka SVE-2015-4598.

The bug was discovered 10/28/2015. The weakness was released 08/02/2017 by leecam as EDB-ID 38557 as not defined exploit (Exploit-DB). The advisory is shared for download at exploit-db.com. This vulnerability was named CVE-2015-7891 since 10/22/2015. The attack needs to be approached locally. No form of authentication is required for a successful exploitation. Technical details and also a public exploit are known.

After immediately, there has been an exploit disclosed. It is possible to download the exploit at exploit-db.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 644 days. During that time the estimated underground price was around $5k-$25k.

Applying a patch is able to eliminate this problem.

The vulnerability is also documented in the databases at Exploit-DB (38557) and SecurityFocus (BID 77335†). Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.0
VulDB Meta Temp Score: 6.5

VulDB Base Score: 7.0
VulDB Temp Score: 6.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.0
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Race condition
CWE: CWE-362
CAPEC: 🔍
ATT&CK: 🔍

Local: Yes
Remote: No

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍
Exploit Delay Time: 🔍

Timelineinfo

10/22/2015 🔍
10/28/2015 +6 days 🔍
10/28/2015 +0 days 🔍
08/02/2017 +644 days 🔍
08/02/2017 +0 days 🔍
08/02/2017 +0 days 🔍
08/03/2017 +1 days 🔍
06/09/2024 +2502 days 🔍

Sourcesinfo

Vendor: google.com

Advisory: EDB-ID 38557
Researcher: leecam (leecam)
Status: Not defined
Confirmation: 🔍

CVE: CVE-2015-7891 (🔍)
GCVE (CVE): GCVE-0-2015-7891
GCVE (VulDB): GCVE-100-104776
SecurityFocus: 77335 - Samsung Fimg2d CVE-2015-7891 Local Race Condition Security Bypass Vulnerability

scip Labs: https://www.scip.ch/en/?labs.20150917

Entryinfo

Created: 08/03/2017 10:38 AM
Updated: 06/09/2024 03:21 AM
Changes: 08/03/2017 10:38 AM (75), 11/03/2019 10:26 AM (1), 01/07/2021 08:42 AM (2), 06/09/2024 03:21 AM (16)
Complete: 🔍
Cache ID: 18:6FA:40

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!