Description
SchoolCMS version 2.3.1 allows file upload via the theme upload feature at admin.php?m=admin&c=theme&a=upload 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. This ultimately allows execution of arbitrary PHP code in Public\Home\1_Static.php because of mishandling in the Application\Admin\Controller\ThemeController.class.php Upload() function.
References (1)
Core 1
Core References
Exploit, Third Party Advisory x_refsource_misc
https://github.com/PearlyNautilus/Security-Code-Review/issues/3
Scores
CVSS v3
7.2
EPSS
0.0094
EPSS Percentile
76.4%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-434
Status
published
Products (1)
schoolcms/schoolcms
2.3.1
Published
Mar 05, 2019
Tracked Since
Feb 18, 2026