CVE-2023-31752 SQL injection in n/a
Attackers can exploit SQL injection in the login module to access or modify sensitive employee and visitor data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-31752?
CVE-2023-31752 is a critical SQL injection vulnerability in n/a, published on 23 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
SourceCodester Employee and Visitor Gate Pass Logging System v1.0 is vulnerable to SQL Injection via /employee_gatepass/classes/Login.php.
Weakness: CWE-89
Which versions are affected by CVE-2023-31752?
It affects 1 product.
Products include Oretnom23 Employee and Visitor Gate Pass Logging System.
How do I fix CVE-2023-31752?
No fix has been published for CVE-2023-31752 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-2023-31752 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-31752 exists.
Other vulnerabilities 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
- CVE-2024-5896 SourceCodester Employee and Visitor Gate Pass Logging System save_users sql injection
Sources
Also known as GHSA-p4fq-jmgr-8jvp.