CVE-2023-31752

SourceCodester Employee and Visitor Gate Pass Logging System v1.0 is vulnerable to SQL Injection via /employee_gatepass/classes/Login.php

Critical · published May 23, 2023

CVSS v3.1
9.8
EPSS
1%
Percentile
54.6
In the wild
Unconfirmed
What it is

🚨 A crafty SQL injection vulnerability in SourceCodester's Employee and Visitor Gate Pass Logging System gives attackers the keys to your database! 🔥 Think of it like a sneaky vendor slipping a forged pass to enter a secured area — once they’re in, they can access sensitive information without anyone noticing. An attacker could exploit this gap to execute unauthorized SQL commands, allowing them to view, modify, or even delete critical data. This could lead to data leaks, unauthorized access to employee records, and significant operational disruptions. The consequences could be absolutely devastating for both your organization and its employees!

Put simply

Think of it like a sneaky vendor slipping a forged pass to enter a secured area — once they’re in, they can access sensitive information without anyone noticing. The vulnerability in /employee_gatepass/classes/Login.php allows attackers to manipulate SQL queries by injecting malicious input, bypassing standard authentication processes and gaining unauthorized access to the system.

What to do

An attacker could exploit this gap to execute unauthorized SQL commands, allowing them to view, modify, or even delete critical data. This could lead to data leaks, unauthorized access to employee records, and significant operational disruptions. The consequences could be absolutely devastating for both your organization and its employees! Update the Employee and Visitor Gate Pass Logging System to the latest version that addresses this vulnerability. Implement prepared statements or parameterized queries to prevent SQL injection attacks. Regularly audit your codebase for similar vulnerabilities to ensure your systems are secure. You've got this! With these steps, you'll be well on your way to making your system robust against this vulnerability! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00752 · 54.6th percentile
Published
2023-05-23T00:00Z
EPSS history
Timeline
  • 23 MAY 00:00Z
    SourceCodester Employee and Visitor Gate Pass Logging System v1.0 is vulnerable to SQL Injection via /employee_gatepass/classes/Login.php
    cvelistv5