title: Gin-vue-admin - Unrestricted File Upload
description: In "Gin-Vue-Admin", versions v2.5.1 through v2.5.3b are vulnerable to Unrestricted File Upload that leads to execution of javascript code, through the "Compress Upload" functionality to the Media Library. When an admin user views the uploaded file, a low privilege attacker will get access to the admin's cookie leading to account takeover.
problem types: CWE-434 Unrestricted Upload of File with Dangerous Type
affected:
{
vendor: gin-vue-admin
product: gin-vue-admin
versions:
version: v2.5.1, status: affected, lessThan: unspecified, versionType: custom
version: unspecified, lessThanOrEqual: v2.5.3b, status: affected, versionType: custom
}
metrics:
other: [
type: unknown
content: {'vectorString': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H', 'attackComplexity': 'LOW', 'attackVector': 'NETWORK', 'availabilityImpact': 'HIGH', 'confidentialityImpact': 'HIGH', 'integrityImpact': 'HIGH', 'privilegesRequired': 'LOW', 'scope': 'CHANGED', 'userInteraction': 'REQUIRED', 'version': 3.1, 'baseScore': 9, 'baseSeverity': 'CRITICAL'}
]