CVE-2022-31976

Online Fire Reporting System v1.0 is vulnerable to SQL Injection via /ofrs/classes/Master.php?f=delete_request

published June 1, 2022

CVSS
—
EPSS
7%
Percentile
94.2
In the wild
Unconfirmed
What it is

⚠️ A sneaky SQL injection lurks in the Online Fire Reporting System! This vulnerability lets attackers potentially manipulate your data through a simple URL trick. 🔍 Think of it like a fast-food restaurant where the cashier doesn't check orders before handing them over. If someone slips in an incorrect tape, they could just as easily send out a burger with a secret ingredient — only in this case, it’s your database they’re tampering with! An attacker could exploit this vulnerability to execute arbitrary SQL commands, potentially altering or deleting critical records in your system. This could compromise the integrity of your fire reporting data, resulting in devastating consequences for emergency responses!

Put simply

Think of it like a fast-food restaurant where the cashier doesn't check orders before handing them over. If someone slips in an incorrect tape, they could just as easily send out a burger with a secret ingredient — only in this case, it’s your database they’re tampering with! This SQL injection vulnerability exists in the delete_request function of the Master.php file, allowing attackers to inject malicious SQL code through specially crafted requests, compromising the database operations.

What to do

An attacker could exploit this vulnerability to execute arbitrary SQL commands, potentially altering or deleting critical records in your system. This could compromise the integrity of your fire reporting data, resulting in devastating consequences for emergency responses! To fix this issue, sanitize all input data and use prepared statements to prevent SQL injection attacks. Additionally, review your application’s code to ensure that proper validation and error handling are in place. 🛡️ You've got this! By taking these steps, you're not just fixing the vulnerability, but also becoming a security hero! 🦸

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.07043 · 94.2th percentile
Published
2022-06-01T18:18Z
EPSS history
Timeline
  • 01 JUN 18:18Z
    Online Fire Reporting System v1.0 is vulnerable to SQL Injection via /ofrs/classes/Master.php?f=delete_request
    cvelistv5