// For flags

CVE-2017-13209

Android - Hardware Service Manager Arbitrary Service Replacement due to getpidcon

Severity Score

7.8
*CVSS v3

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

1
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

In the ServiceManager::add function in the hardware service manager, there is an insecure permissions check based on the PID of the caller which could allow an application or service to replace a HAL service with its own service. This could lead to a local elevation of privilege enabling code execution as a privileged process with no additional execution privileges needed. User interaction is not needed for exploitation. Product: Android. Versions: 8.0, 8.1. Android ID: A-68217907.

En la función ServiceManager::add en el gestor de servicio hardware, hay una comprobación no segura de permisos basado en el PID del llamante. Esto podría permitir que una aplicación o servicio remplace un servico HAL con su propio servicio. Esto podría llevar a una elevación local de privilegios que permite la ejecución de código como proceso privilegiado sin necesitar privilegios de ejecución adicionales. No se necesita interacción del usuario para explotarlo. Producto: Android. Versiones: 8.0, 8.1. Android ID: A-68217907.

Android hardware service manager suffers from an arbitrary service replacement issue due to getpidcon.

*Credits: N/A
CVSS Scores
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Local
Attack Complexity
Low
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2017-08-23 CVE Reserved
  • 2018-01-11 CVE Published
  • 2023-12-23 EPSS Updated
  • 2024-09-16 CVE Updated
  • 2024-09-16 First Exploit
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-862: Missing Authorization
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Google
Search vendor "Google"
Android
Search vendor "Google" for product "Android"
8.0
Search vendor "Google" for product "Android" and version "8.0"
-
Affected
Google
Search vendor "Google"
Android
Search vendor "Google" for product "Android"
8.1
Search vendor "Google" for product "Android" and version "8.1"
-
Affected