PT-2019-19717 · Schoolcms · Schoolcms

Publicado

2019-03-05

·

Atualizado

2019-03-08

·

CVE-2019-9572

CVSS v3.1

7.2

Alta

VetorAV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions SchoolCMS version 2.3.1
Description The issue allows for file upload via the theme upload feature at "admin.php?m=admin&c=theme&a=upload" by exploiting the mishandling in the Upload() function of the ThemeController.class.php file. This can be achieved by using the .zip extension along with the Static substring, changing the Content-Type to application/zip, and placing PHP code after the ZIP header, ultimately allowing execution of arbitrary PHP code in PublicHome1 Static.php.
Recommendations For SchoolCMS version 2.3.1, consider disabling the theme upload feature at "admin.php?m=admin&c=theme&a=upload" until a patch is available to prevent exploitation. Restrict access to the Upload() function in the ApplicationAdminControllerThemeController.class.php file to minimize the risk of arbitrary PHP code execution. Avoid using the Static substring in the theme upload feature to prevent mishandling of uploaded files.

Exploit

Correção

Unrestricted File Upload

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2019-9572

Produtos afetados

Schoolcms