CVE-2017-5217
Samsung Android System Server Crash Due to Large APK Parsing in KK, L, and M Software
Description
Installing a zero-permission Android application on certain Samsung Android devices with KK(4.4), L(5.0/5.1), and M(6.0) software can continually crash the system_server process in the Android OS. The zero-permission app will create an active install session for a separate app that it has embedded within it. The active install session of the embedded app is performed using the android.content.pm.PackageInstaller class and its nested classes in the Android API. The active install session will write the embedded APK file to the /data/app directory, but the app will not be installed since third-party applications cannot programmatically install apps. Samsung has modified AOSP in order to accelerate the parsing of APKs by introducing the com.android.server.pm.PackagePrefetcher class and its nested classes. These classes will parse the APKs present in the /data/app directory and other directories, even if the app is not actually installed. The embedded APK that was written to the /data/app directory via the active install session has a very large but valid AndroidManifest.xml file. Specifically, the AndroidManifest.xml file contains a very large string value for the name of a permission-tree that it declares. When system_server tries to parse the APK file of the embedded app from the active install session, it will crash due to an uncaught error (i.e., java.lang.OutOfMemoryError) or an uncaught exception (i.e., std::bad_alloc) because of memory constraints. The Samsung Android device will encounter a soft reboot due to a system_server crash, and this action will keep repeating since parsing the APKs in the /data/app directory as performed by the system_server process is part of the normal boot process. The Samsung ID is SVE-2016-6917.
INFO
Published Date :
Jan. 9, 2017, 8:59 a.m.
Last Modified :
Nov. 21, 2024, 3:27 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2017-5217
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2017-5217
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2017-5217
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://security.samsungmobile.com/smrupdate.html#SMR-JAN-2017 Added Reference http://www.securityfocus.com/bid/95319 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Jan. 11, 2017
Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/95319 [No Types Assigned] -
Initial Analysis by [email protected]
Jan. 10, 2017
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:M/Au:N/C:N/I:N/A:C) Added CVSS V3 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Changed Reference Type http://security.samsungmobile.com/smrupdate.html#SMR-JAN-2017 No Types Assigned http://security.samsungmobile.com/smrupdate.html#SMR-JAN-2017 Vendor Advisory Added CWE CWE-20 Added CWE CWE-119 Added CPE Configuration OR *cpe:2.3:o:samsung:samsung_mobile:4.4:*:*:*:*:*:*:* *cpe:2.3:o:samsung:samsung_mobile:5.0:*:*:*:*:*:*:* *cpe:2.3:o:samsung:samsung_mobile:5.1:*:*:*:*:*:*:* *cpe:2.3:o:samsung:samsung_mobile:6.0:*:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2017-5217
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2017-5217
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.06 }} 0.00%
score
0.20979
percentile