Skip to main content

Insecure service configuration - App Backup

Description

The application has the backup option active, which allows an attacker who has access to a users device to obtain the information stored by the application inside the device.

Impact

Obtain confidential user and application information.

Recommendation

Unless absolutely necessary, the application should not allow to backup itself.

Threat

Anonymous attacker with local access to a users device.

Expected Remediation Time

⌚ 15 minutes.

Score

Default score using CVSS 3.1. It may change depending on the context of the vulnerability.

Base

  • Attack vector: L
  • Attack complexity: H
  • Privileges required: N
  • User interaction: N
  • Scope: U
  • Confidentiality: L
  • Integrity: N
  • Availability: N

Temporal

  • Exploit code madurity: 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

Code Examples

Compliant code

The app manifest does not allow backup

<manifest ... >
...
<application android:allowBackup="false" ... >
...
</application>
</manifest>

Non compliant code

The allowBackup option is set to true in the app manifest

<manifest ... >
...
<application android:allowBackup="true" ... >
...
</application>
</manifest>

Requirements

free trial

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.