Debugging enabled in production - APK
Description
The system has debugging enabled in the production environment, which can cause technical information leaks when an error occurs.
Impact
Get technical or sensitive information.
Recommendation
Configure the attribute: application.android:debuggable to false in the file: AndroidManifest.xml.
Threat
Unauthorized attacker from Internet network.
Expected Remediation Time
⌚ 15 minutes.
Score
Default score using CVSS 3.1. It may change depending on the context of the src.
Base
- Attack vector: L
- Attack complexity: H
- Privileges required: N
- User interaction: N
- Scope: U
- Confidentiality: L
- Integrity: N
- Availability: N
Temporal
- Exploit code maturity: X
- Remediation level: O
- Report confidence: X
Result
- Vector string: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N/E:X/RL:O/RC:X
- Score:
- Base: 2.9
- Temporal: 2.8
- Severity:
- Base: Low
- Temporal: Low
Score 4.0
Default score using CVSS 4.0 . It may change depending on the context of the src.
Base 4.0
- Attack vector: L
- Attack complexity: H
- Attack Requirements: N
- Privileges required: N
- User interaction: N
- Confidentiality (VC): L
- Integrity (VI): N
- Availability (VA): N
- Confidentiality (SC): N
- Integrity (SI): N
- Availability (SA): N
Threat 4.0
- Exploit maturity: X
Result 4.0
- Vector string: CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X
- Score:
- CVSS-BT: 2.1
- Severity:
- CVSS-BT: Low
Compliant code
The application does not enable debugging in a production environment
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:sharedUserId="android.uid.system" android:versionCode="4" android:versionName="1.0" package="com.android.zerosms">
<uses-permission android:name="android.permission.SEND_SMS"/>
<application android:debuggable="false" android:label="@7F040001" android:icon="@7F020002">
</application>
</manifest>
Non compliant code
The application has debugging enabled on the AndroidManifest
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:sharedUserId="android.uid.system" android:versionCode="4" android:versionName="1.0" package="com.android.zerosms">
<uses-permission android:name="android.permission.SEND_SMS"/>
<application android:debuggable="true" android:label="@7F040001" android:icon="@7F020002">
</application>
</manifest>
Requirements
Fixes
Search for vulnerabilities in your apps for free with Fluid Attacks' automated security testing! Start your 21-day free trial and discover the benefits of the Continuous Hacking Essential plan. If you prefer the Advanced plan, which includes the expertise of Fluid Attacks' hacking team, fill out this contact form.