CVE-2024-5895 SourceCodester Employee and Visitor Gate Pass Logging System delete_users sql injection
Remote attackers can exploit SQL injection in the delete_users function to read or modify database records in the Employee and Visitor Gate Pass Logging System.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-5895?
CVE-2024-5895 is a medium-severity SQL injection vulnerability in SourceCodester Employee and Visitor Gate Pass Logging System, published on 12 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability, which was classified as critical, has been found in SourceCodester Employee and Visitor Gate Pass Logging System 1.0. This issue affects the function delete_users of the file /classes/Users.php?f=delete. The manipulation of the argument id leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-268139.
Weakness: CWE-89
Which versions are affected by CVE-2024-5895?
It affects 1 product.
Products include Oretnom23 Employee and Visitor Gate Pass Logging System.
How do I fix CVE-2024-5895?
No fix has been published for CVE-2024-5895 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2024-5895 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-5895 exists.
Other vulnerabilities in SourceCodester Employee and Visitor Gate Pass Logging System
- CVE-2023-31752 SQL injection in n/a
- CVE-2021-46309 SQL injection in n/a
- CVE-2025-2652 SourceCodester Employee and Visitor Gate Pass Logging System exposure of information through directory listing
- CVE-2024-6649 SourceCodester Employee and Visitor Gate Pass Logging System Users.php save_users cross-site request forgery
- CVE-2024-5976 SourceCodester Employee and Visitor Gate Pass Logging System log_employee sql injection
Sources
Also known as GHSA-2x84-5cch-m2hj.