CVE-2024-1827 code-projects Library System login.php sql injection

High 7.3 Published Updated

Remote attackers can exploit SQL injection in the login form to access or modify database information in the Library System application.

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-1827?

CVE-2024-1827 is a high-severity SQL injection vulnerability in code-projects Library System, published on 23 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 code-projects Library System 1.0 and classified as critical. This issue affects some unknown processing of the file Source/librarian/user/teacher/login.php. The manipulation of the argument username/password leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-254615.

Weakness: CWE-89

Which versions are affected by CVE-2024-1827?

It affects 1 product.

Products include Code-Projects Library System.

How do I fix CVE-2024-1827?

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

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

Sources

Also known as GHSA-5j6p-376x-h7gg.

Is CVE-2024-1827 in your software?

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

Check your SBOMs for free