Insecure service configuration - Backup
Description
The mobile application is allowed to backup the application data stored on the device, allowing information leaks to occur.
Impact
Obtain confidential information from the application.
Recommendation
Securely configure the service so that it does not allow data backups.
Threat
Unauthenticated attacker with physical access to mobile device.
Expected Remediation Time
⌚ 30 minutes.
Score
Default score using CVSS 3.1. It may change depending on the context of the vulnerability.
Base
- Attack vector: P
- Attack complexity: L
- Privileges required: N
- User interaction: N
- Scope: U
- Confidentiality: L
- Integrity: N
- Availability: N
Temporal
- Exploit code madurity: P
- Remediation level: O
- Report confidence: X
Result
- Vector string: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:O/RC:X
- Score:
- Base: 2.4
- Temporal: 2.2
- Severity:
- Base: Low
- Temporal: Low
Code Examples
Compliant code
The app does not allow backup data
<manifest ... >
...
<application android:allowDataBackup="false" ... >
...
</application>
</manifest>
Non compliant code
The allowBackup option is set to true in the app manifest
<manifest ... >
...
<application android:allowDataBackup="true" ... >
...
</application>
</manifest>
Requirements
Search for vulnerabilities in your apps for free with our automated security testing! Start your 21-day free trial and discover the benefits of our Continuous Hacking Machine Plan. If you prefer a full service that includes the expertise of our ethical hackers, don't hesitate to contact us for our Continuous Hacking Squad Plan.