CVE-2024-1821 code-projects Crime Reporting System police_add.php sql injection

Medium 5.5 Published Updated

SQL injection in Crime Reporting System allows attackers to manipulate database queries via police_add.php parameters, potentially exposing or altering data.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-1821?

CVE-2024-1821 is a medium-severity SQL injection vulnerability in code-projects Crime Reporting System, published on 23 Feb 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability was found in code-projects Crime Reporting System 1.0. It has been rated as critical. This issue affects some unknown processing of the file police_add.php. The manipulation of the argument police_name/police_id/police_spec/password leads to sql injection. The exploit has been disclosed to the public and may be used. The identifier VDB-254609 was assigned to this vulnerability.

Weakness: CWE-89

Which versions are affected by CVE-2024-1821?

It affects 1 product.

Products include Code-Projects Crime Reporting System.

How do I fix CVE-2024-1821?

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

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

Sources

Also known as GHSA-fp58-4rhj-2q23.

Is CVE-2024-1821 in your software?

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

Check your SBOMs for free