PT-2022-11271 · Sourcecodester · Sourcecodester Online Dj Management System
Published
2022-01-21
·
Updated
2022-01-26
·
CVE-2021-40595
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Sourcecodester Online Leave Management System version v1
Description
The issue allows attackers to execute arbitrary SQL commands via the
username parameter to the "/leave system/classes/Login.php" API endpoint. This enables attackers to manipulate the database, potentially leading to unauthorized data access or modification.Recommendations
For Sourcecodester Online Leave Management System version v1, consider restricting access to the "/leave system/classes/Login.php" API endpoint until a patch is available, and avoid using the
username parameter in this endpoint to minimize the risk of exploitation.Exploit
Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Sourcecodester Online Dj Management System