CVE-2021-46013

An unrestricted file upload vulnerability exists in Sourcecodester Free school management software 1.0

published January 18, 2022

CVSS
โ€”
EPSS
3%
Percentile
89.0
In the wild
Unconfirmed
What it is

๐Ÿšจ An unrestricted file upload vulnerability can turn innocent file sharing into a nightmare! An attacker can drop a malicious PHP webshell into Sourcecodester Free School Management Software 1.0. ๐Ÿ”ฅ Think of it as a delivery service that lets anyone drop off packages without checking the contents โ€” a recipe for disaster when those packages contain something malicious! If exploited, an attacker could execute arbitrary commands on the server, allowing them to take control, steal data, or disrupt services. The implications could be devastating for the integrity of the entire school management system! โš ๏ธ

Put simply

Think of it as a delivery service that lets anyone drop off packages without checking the contents โ€” a recipe for disaster when those packages contain something malicious! This vulnerability allows attackers to upload a PHP webshell, specifically the code "<?php system($_GET['cmd']); ?>", to the /uploads/exam_question/ directory without any checks. This results in remote code execution on the server.

What to do

If exploited, an attacker could execute arbitrary commands on the server, allowing them to take control, steal data, or disrupt services. The implications could be devastating for the integrity of the entire school management system! โš ๏ธ To remediate this, ensure proper file validation and type checks on uploads, restrict file permissions, and consider implementing a web application firewall (WAF). Additionally, review your software version; if running 1.0, look for patches or consider an upgrade! ๐Ÿ›ก๏ธ You've got this! Follow these steps to secure your system and protect your users! ๐ŸŒŸ

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.03469 ยท 89.0th percentile
Published
2022-01-18T17:57Z
EPSS history
Timeline
  • 18 JAN 17:57Z
    An unrestricted file upload vulnerability exists in Sourcecodester Free school management software 1.0
    cvelistv5