Arbitrary file upload in Schoolcms

CVE-2019-9181

SchoolCMS version 2.3.1 allows file upload via the logo upload feature at admin.php?m=admin&c=site&a=save by using the .jpg extension, changing the Content-Type to image/php, and placing PHP code after the JPEG data. This ultimately allows execution of arbitrary PHP code.

Vulnerability class: Unrestricted File Upload

EPSS: 0.020 (78.6th 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-9181?
CVE-2019-9181 is a high-severity vulnerability in Schoolcms, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 7.2/10. Published 2019-02-26.
How severe is CVE-2019-9181?
High severity. CVSS v3 base score is 7.2 out of 10.