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
Link | Resource |
---|---|
https://github.com/PearlyNautilus/Security-Code-Review/issues/3 | Exploit Third Party Advisory |
https://github.com/PearlyNautilus/Security-Code-Review/issues/3 | Exploit Third Party Advisory |
Configurations
History
21 Nov 2024, 04:51
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/PearlyNautilus/Security-Code-Review/issues/3 - Exploit, Third Party Advisory |
Information
Published : 2019-03-05 14:29
Updated : 2024-11-21 04:51
NVD link : CVE-2019-9572
Mitre link : CVE-2019-9572
CVE.ORG link : CVE-2019-9572
JSON object : View
Products Affected
schoolcms
- schoolcms
CWE
CWE-434
Unrestricted Upload of File with Dangerous Type