Arbitrary file upload in Free School Management Software Project

CVE-2021-46013

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.

Vulnerability class: Unrestricted File Upload

EPSS: 0.035 (87.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

  • cve@mitre.org (Exploit, VDB Entry, Third Party Advisory, x_refsource_MISC)

Frequently asked questions

What is CVE-2021-46013?
CVE-2021-46013 is a critical-severity vulnerability in Free School Management Software Project, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 9.8/10. Published 2022-01-18.
How severe is CVE-2021-46013?
Critical severity. CVSS v3 base score is 9.8 out of 10.
Is CVE-2021-46013 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.