CVE-2024-34987 SQL injection in n/a

Critical 9.1 Published Updated

Attackers can bypass authentication and gain unauthorized access by injecting SQL commands into the login username field of the Online Fire Reporting 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-34987?

CVE-2024-34987 is a critical SQL injection vulnerability in n/a, published on 3 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A SQL Injection vulnerability exists in the `ofrs/admin/index.php` script of PHPGurukul Online Fire Reporting System 1.2. The vulnerability allows attackers to bypass authentication and gain unauthorized access by injecting SQL commands into the username input field during the login process.

Weakness: CWE-89

Which versions are affected by CVE-2024-34987?

It affects 1 product.

Products include Phpgurukul Online Fire Reporting System.

How do I fix CVE-2024-34987?

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

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

Sources

Also known as GHSA-74jr-x2w7-635g.

Is CVE-2024-34987 in your software?

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

Check your SBOMs for free