title: LGInstallService - Deletion of arbitrary files with system privilege
description: he vulnerability is to delete arbitrary files in LGInstallService ("com.lge.lginstallservies") app. The app contains the exported "com.lge.lginstallservies.InstallService" service that exposes an AIDL interface. All its "installPackage*" methods are finally calling the "installPackageVerify()" method that performs signature validation after the delete file method. An attacker can control conditions so this security check is never performed and an attacker-controlled file is deleted.
problem types: CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
affected:
{
defaultStatus: unaffected
product: LG V60 Thin Q 5G(LMV600VM)
vendor: LG Electronics
versions:
lessThanOrEqual: 13, status: affected, version: Android 4, versionType: Android
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: LOCAL
availabilityImpact: LOW
baseScore: 5
baseSeverity: MEDIUM
confidentialityImpact: LOW
integrityImpact: NONE
privilegesRequired: NONE
scope: CHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:L
version: 3.1
]
format: CVSS
scenarios: GENERAL