CVE-2024-5976 SourceCodester Employee and Visitor Gate Pass Logging System log_employee sql injection

Medium 6.9 Published Updated

Attackers can inject SQL via the employee_code parameter to read or modify database records in the Employee and Visitor Gate Pass Logging System.

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-2024-5976?

CVE-2024-5976 is a medium-severity SQL injection vulnerability in SourceCodester Employee and Visitor Gate Pass Logging System, published on 13 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability was found in SourceCodester Employee and Visitor Gate Pass Logging System 1.0. It has been classified as critical. Affected is the function log_employee of the file /classes/Master.php?f=log_employee. The manipulation of the argument employee_code leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. VDB-268422 is the identifier assigned to this vulnerability.

Weakness: CWE-89

Which versions are affected by CVE-2024-5976?

It affects 1 product.

Products include Oretnom23 Employee and Visitor Gate Pass Logging System.

How do I fix CVE-2024-5976?

No fix has been published for CVE-2024-5976 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-5976 being exploited?

There is no known exploitation of CVE-2024-5976 in the wild and no public exploit code.

Sources

Also known as GHSA-ff8c-r6cp-6m85.

Is CVE-2024-5976 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free