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

EPSS: 0.020 (79.1th percentile) — read the EPSS interpretation.

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.

Affected products

  • Schoolcms — versions 2.3.1
  • N/a — versions n/a

Weakness classification (CWE)

References

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.