logo

398 Fragment Injection


Description

The application is vulnerable to Fragment Injection caused either by an unsafe implementation of PreferenceActivity or an insecure configuration of isValidFragment.


Impact

Use malicious fragments to exploit different vulnerabilities.


Recommendation

- Set the attribute exported to false to avoid the attempt of foreign applications to exploit the vulnerability. - Ensure the application is running with targetSdkVersion higher than 19. - Set a whitelist of trusted fragments and validate them through the implementation of isValidFragment.


Threat

Authenticated attacker from the Internet.


Expected Remediation Time

120 minutes.


Score 4.0

Default score using CVSS 4.0. It may change depending on the context of the src.

Base 4.0

  • Attack vector: N
  • Attack complexity: H
  • Attack Requirements: N
  • Privileges required: L
  • User interaction: N
  • Confidentiality (VC): N
  • Integrity (VI): L
  • Availability (VA): N
  • Confidentiality (SC): N
  • Integrity (SI): N
  • Availability (SA): N

Threat 4.0

  • Exploit maturity: P

Requirements


Last updated

2024/02/20