PT-2022-12504 · Sourcecodester · Sourcecodester Free School Management

Published

2022-01-18

·

Updated

2022-01-24

·

CVE-2021-46013

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Sourcecodester Free school management software version 1.0
Description An unrestricted file upload issue exists, allowing an attacker to enable remote code execution on the affected web server. This can be achieved by uploading a PHP webshell containing "" which gets saved into the /uploads/exam question/ directory and is accessible by all users.
Recommendations For Sourcecodester Free school management software version 1.0, consider restricting or disabling file uploads until a patch is available to prevent remote code execution. As a temporary workaround, restrict access to the /uploads/exam question/ directory to minimize the risk of exploitation. Avoid using the cmd variable in the affected PHP code until the issue is resolved.

Exploit

Fix

Unrestricted File Upload

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-46013

Affected Products

Sourcecodester Free School Management