Arbitrary file upload in Schoolcms
CVE-2019-9572
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.
EPSS exploit prediction
EPSS: 0.020 (80.4th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 80th percentile — 80.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.020 · newest: 0.020 · change: 0.000
Affected products
- Schoolcms — versions 2.3.1
Weakness classification (CWE)
References
- github.com/PearlyNautilus/Security-Code-Review/issues/3 (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2019-9572?
- CVE-2019-9572 is a high-severity vulnerability in Schoolcms, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 7.2/10. Published 2019-03-05.
- How severe is CVE-2019-9572?
- High severity. CVSS v3 base score is 7.2 out of 10.