CVE-2024-5896 SourceCodester Employee and Visitor Gate Pass Logging System save_users sql injection

Medium 6.9 Published Updated

Remote attackers can exploit SQL injection in the save_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
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-5896?

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

Official description

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

Weakness: CWE-89

Which versions are affected by CVE-2024-5896?

It affects 1 product.

Products include Oretnom23 Employee and Visitor Gate Pass Logging System.

How do I fix CVE-2024-5896?

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

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

Sources

Also known as GHSA-h339-65jr-4wwh.

Is CVE-2024-5896 in your software?

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

Check your SBOMs for free