CVE-2021-46013 File upload in n/a

Critical 9.8 Published Updated

An attacker can upload a malicious PHP webshell to the school management software, enabling remote code execution on the server.

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

What is CVE-2021-46013?

CVE-2021-46013 is a critical vulnerability in n/a, published on 18 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An unrestricted file upload vulnerability exists in Sourcecodester Free school management software 1.0. An attacker can leverage this vulnerability to enable remote code execution on the affected web server. Once a php webshell containing "<?php system($_GET["cmd"]); ?>" gets uploaded it is saved into /uploads/exam_question/ directory, and is accessible by all users.

Weakness: CWE-434

Which versions are affected by CVE-2021-46013?

It affects 1 product.

Products include Free School Management Software Project Free School Management Software.

How do I fix CVE-2021-46013?

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

Is CVE-2021-46013 being exploited?

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

Sources

Also known as GHSA-cp62-q7v3-5q5w.

Is CVE-2021-46013 in your software?

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

Check your SBOMs for free