CVE-2026-93352
Beschrijving NL
Laravel-Mediable 7.0.0 voor 7.0.2 bevat een onvolledige patch voor CVE-2026-49972 waarin de .pht-extensie ontbreekt in de bloklijst forbidden_extensions in config/mediable.php. De blokkeerlijst die is geïntroduceerd om CVE-2026-49972 aan te pakken, bevat phpt, maar laat pht weg, die Apache als PHP uitvoert via de standaard FilesMatch-richtlijn op Debian- en Ubuntu-systemen. Een aanvaller kan een .pht-bestand uploaden dat alle validatie in MediaUploader:: verifyExtension () en File:: sanitizeFileName () doorstaat omdat pht niet aanwezig is in de blokkeerlijst, waardoor het bestand op verzoek naar de schijf wordt geschreven en als PHP wordt uitgevoerd, waardoor externe code kan worden uitgevoerd met de privileges van het webserverproces.
Origineel (Engels) tonen
Laravel-Mediable 7.0.0 before 7.0.2 contains an incomplete patch for CVE-2026-49972 in which the .pht extension is absent from the forbidden_extensions blocklist in config/mediable.php. The blocklist introduced to address CVE-2026-49972 includes phpt but omits pht, which Apache executes as PHP via the default FilesMatch directive on Debian and Ubuntu systems. An attacker can upload a .pht file that passes all validation in MediaUploader::verifyExtension() and File::sanitizeFileName() because pht is not present in the blocklist, causing the file to be written to disk and executed as PHP when requested, enabling remote code execution with the privileges of the web server process.