Arbitrary file upload in Schoolcms
CVE-2019-9572
- CVSS v3
- 7.2 High
- Public exploits
- None known
- EPSS
- 0.020 · 81.5th percentile
- Published
- 2019-03-05
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.
Vulnerability class: Unrestricted File Upload
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- High
PR:H - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.020, 81.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Schoolcms — versions 2.3.1
Weakness classification (CWE)
References
- github.com/PearlyNautilus/Security-Code-Review/issues/3 (Exploit, Third Party Advisory)