CVE-2024-1821 code-projects Crime Reporting System police_add.php sql injection
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.
Other vulnerabilities in code-projects Crime Reporting System
- CVE-2024-1820 code-projects Crime Reporting System inchargelogin.php sql injection
- CVE-2025-7168 code-projects Crime Reporting System userlogin.php sql injection
- CVE-2025-7169 code-projects Crime Reporting System complainer_page.php sql injection
- CVE-2025-7170 code-projects Crime Reporting System registration.php sql injection
- CVE-2025-7171 code-projects Crime Reporting System policelogin.php sql injection
Sources
Also known as GHSA-fp58-4rhj-2q23.