CVE-2024-1876 SourceCodester Employee Management System psubmit.php sql injection

High 7.3 Published Updated

Remote attackers can exploit SQL injection in psubmit.php to read or modify database contents in the Employee Management 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-1876?

CVE-2024-1876 is a high-severity SQL injection vulnerability in SourceCodester Employee Management System, published on 26 Feb 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 Management System 1.0. It has been classified as critical. Affected is an unknown function of the file /psubmit.php. The manipulation of the argument pid with the input '+or+1%3d1%23 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-254724.

Weakness: CWE-89

Which versions are affected by CVE-2024-1876?

It affects 1 product.

Products include Razormist Employee Management System.

How do I fix CVE-2024-1876?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-1876 exists.

Sources

Also known as GHSA-v8r4-5m29-8242.

Is CVE-2024-1876 in your software?

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

Check your SBOMs for free