Android
Android : Unsafe internal storage (SharedPreferences)
Classification
OWASP Mobile Top 10 2014
OWASP Mobile Top 10 2016
OWASP Top 10 2017
OWASP Top 10 2021
CWE/SANS Top 25 2011
Overview
The application stores confidential information insecurely.
Valuable data is protected on an Android device via the SharedPreferences class. Although by default information in SharedPreferences is only available to the corresponding application, it will not stop an attacker who has physical access to the device.
Furthermore, using MODE_WORLD_READABLE opens read access to SharedPreferences for all applications.
MEDIUM
DerScanner Severity Score
Check your Android app for this vulnerability, free
Request a free pilot of DerScanner. We give you access and help with the first scan. It works in the cloud and on-premise.
Try it on your code, free
By submitting this form, I acknowledge that DerScanner may process my personal data I provided above for purposes explained above. More details about the processing.
