Home / Vulnerability Database / Android : Unsafe internal storage (SharedPreferences)
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
Do you want to fix Android : Unsafe internal storage (SharedPreferences) in your application?
See also
Android
Android : Debug mode on
Android
Android : Error handling: generic exception
Android
