CVE-2019-9572 File upload in n/a

High 7.2 Published Updated

An attacker can upload a malicious ZIP file containing PHP code to execute arbitrary commands on the server via the theme upload feature.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2019-9572?

CVE-2019-9572 is a high-severity vulnerability in n/a, published on 5 Mar 2019. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

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.

Weakness: CWE-434

Which versions are affected by CVE-2019-9572?

It affects 1 product.

Products include Schoolcms Schoolcms.

How do I fix CVE-2019-9572?

No fix has been published for CVE-2019-9572 yet. Limit exposure of the affected software until one is available.

Is CVE-2019-9572 being exploited?

There is no known exploitation of CVE-2019-9572 in the wild and no public exploit code.

Sources

Also known as GHSA-mfrx-7vc3-c7fw.

Is CVE-2019-9572 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free