NetSight
hoch8.4

CVE-2024-52291

Local File System Validation Bypass Leading to File Overwrite, Sensitive File Access, and Potential Code Execution

Auswirkung

Craft is a content management system (CMS). A vulnerability in CraftCMS allows an attacker to bypass local file system validation by utilizing a double file:// scheme (e.g., file://file:////). This enables the attacker to specify sensitive folders as the file system, leading to potential file overwriting through malicious uploads, unauthorized access to sensitive files, and, under certain conditions, remote code execution (RCE) via Server-Side Template Injection (SSTI) payloads. Note that this will only work if you have an authenticated administrator account with allowAdminChanges enabled. This is fixed in 5.4.6 and 4.12.5.

Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem Administratorkonto, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle. Der Angriff kann über die verwundbare Komponente hinaus wirken.

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben in
composercraftcms/cms>= 5.0.0-RC1, <= 5.4.5.15.4.6

Betroffene Produkte · Craftcms

ProduktBetroffene Versionen
Craft Cms
nach 4.0.0 vor 4.12.5
nach 5.0.0 vor 5.4.6
Versionen 4.0.0, 5.0.0

Schwachstellenklasse

Referenzen