CVE-2025-40692 in Online Fire Reporting Systeminfo

Summary

by MITRE • 09/11/2025

SQL Injection in Online Fire Reporting System v1.2 by PHPGurukul. This vulnerability allows an attacker to retrieve, create, update and delete database via 

'requestid' parameter in the endpoint '/ofrs/details.php'.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 09/12/2025

The vulnerability identified as CVE-2025-40692 represents a critical SQL injection flaw within the Online Fire Reporting System version 1.2 developed by PHPGurukul. This system is designed to manage fire incident reports and related data through a web interface, making it a potentially attractive target for malicious actors seeking unauthorized access to sensitive emergency response information. The vulnerability specifically manifests through the 'requestid' parameter within the '/ofrs/details.php' endpoint, which fails to properly validate or sanitize user input before incorporating it into database queries.

The technical nature of this flaw stems from insufficient input validation mechanisms that allow an attacker to manipulate the 'requestid' parameter to inject malicious SQL code. When the application processes this parameter without proper sanitization, it becomes possible for an attacker to construct crafted SQL statements that execute with the privileges of the database user. This vulnerability falls under CWE-89 which specifically addresses SQL injection attacks where untrusted data is incorporated into SQL commands without proper escaping or parameterization. The flaw enables attackers to perform unauthorized database operations including data retrieval, insertion, modification, and deletion of records within the system's backend database.

The operational impact of this vulnerability extends beyond simple data exposure, as it provides attackers with comprehensive database access capabilities that could compromise the integrity and availability of fire incident reporting data. An attacker could potentially access sensitive information about fire incidents, victim details, response personnel, and other critical emergency response data. The ability to modify or delete records could disrupt the system's functionality and compromise the reliability of incident reporting, potentially affecting emergency response coordination and public safety operations. This vulnerability directly impacts the system's confidentiality, integrity, and availability as defined by the CIA triad, with potential consequences extending to operational continuity and public safety.

Mitigation strategies for this vulnerability should prioritize immediate implementation of parameterized queries or prepared statements to prevent SQL injection attacks. The application code must be reviewed to ensure all database interactions properly validate and sanitize input parameters, particularly the 'requestid' parameter in the '/ofrs/details.php' endpoint. Input validation should be implemented at multiple layers including application-level filtering, database-level restrictions, and proper error handling that prevents information leakage. Security patches should be deployed immediately to address this vulnerability, and the system should be configured with least privilege database access rights to minimize potential damage from successful exploitation. Additionally, implementing web application firewalls and intrusion detection systems can provide additional protective layers against exploitation attempts. The vulnerability's characteristics align with ATT&CK technique T1190 which involves exploiting vulnerabilities in web applications to gain unauthorized access to systems and data, making comprehensive security hardening essential for protecting the integrity of emergency response systems.

Responsible

INCIBE

Reservation

04/16/2025

Disclosure

09/11/2025

Moderation

accepted

CPE

ready

EPSS

0.00309

KEV

no

Activities

very low

Sources

Do you need the next level of professionalism?

Upgrade your account now!