CVE-2022-31984
published 2022-06-02CVE-2022-31984: Online Fire Reporting System v1.0 is vulnerable to SQL Injection via /ofrs/admin/requests/take_action.php?id=.
PriorityP268high7.2CVSS 3.1
AVNACLPRHUINSUCHIHAH
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
4.86%
90.9th percentile
Online Fire Reporting System v1.0 is vulnerable to SQL Injection via /ofrs/admin/requests/take_action.php?id=.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| online_fire_reporting_system_project | online_fire_reporting_system | — | — |
Detection & IOCsextracted from sources · hover to see the quote
path/admin/requests/take_action.php
command6'+UNION+ALL+SELECT+md5('999999999'),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL--+-
- →Detect SQL injection probe: GET request to /admin/requests/take_action.php with an id parameter containing a UNION-based payload (10-column SELECT with md5() canary value). A 200 response body containing the md5 of the injected integer confirms exploitation.
- →Match HTTP 200 response body containing the md5 hash of the injected canary value (md5('999999999')) to confirm blind/UNION SQLi success.
- →The vulnerable parameter is 'id' in the GET query string; the injection requires high privileges (PR:H per CVSS) — monitor authenticated admin-session requests to take_action.php for SQLi patterns.
- ·Exploitation requires high privileges (authenticated admin session); unauthenticated attackers cannot directly reach the vulnerable endpoint.
- ·The nuclei template targets the path /admin/requests/take_action.php (without the /ofrs/ prefix used in the NVD description); deployments may differ in base path — adjust detection rules accordingly.
- ·The UNION SELECT payload assumes exactly 10 columns in the underlying query; schema changes in other versions would require a different column count.
CVSS provenance
nvdv3.17.2HIGHCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
nvdv2.06.5MEDIUMAV:N/AC:L/Au:S/C:P/I:P/A:P
vulncheck7.2HIGH
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-vc6m-c5qg-65hv: Online Fire Reporting System v1
ghsa_unreviewed·2022-06-03
CVE-2022-31984 [HIGH] CWE-89 GHSA-vc6m-c5qg-65hv: Online Fire Reporting System v1
Online Fire Reporting System v1.0 is vulnerable to SQL Injection via /ofrs/admin/requests/take_action.php?id=.
VulnCheck
online_fire_reporting_system_project online_fire_reporting_system Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
vulncheck·2022·CVSS 7.2
CVE-2022-31984 [HIGH] online_fire_reporting_system_project online_fire_reporting_system Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
online_fire_reporting_system_project online_fire_reporting_system Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Online Fire Reporting System v1.0 is vulnerable to SQL Injection via /ofrs/admin/requests/take_action.php?id=.
Affected: online_fire_reporting_system_project online_fire_reporting_system
Required Action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Exploitation References: https://app.crowdsec.net/cti/cve-explorer/CVE-2022-31984
No detection rules found.
Nuclei
Online Fire Reporting System v1.0 - SQL injection
nuclei·CVSS 7.2
CVE-2022-31984 [HIGH] Online Fire Reporting System v1.0 - SQL injection
Online Fire Reporting System v1.0 - SQL injection
Online Fire Reporting System v1.0 is vulnerable to SQL Injection via /ofrs/admin/requests/take_action.php?id=.
Template:
id: CVE-2022-31984
info:
name: Online Fire Reporting System v1.0 - SQL injection
author: theamanrawat
severity: high
description: |
Online Fire Reporting System v1.0 is vulnerable to SQL Injection via /ofrs/admin/requests/take_action.php?id=.
impact: |
Successful exploitation of this vulnerability could lead to unauthorized access, data leakage, or manipulation of the database.
remediation: |
To remediate this issue, ensure that all user-supplied input is properly validated and sanitized before being used in SQL queries.
reference:
- https://github.com/debug601/bug_report/blob/main/vendors/oretnom23/online-fire-report
2022-06-02
Published
Exploited in the wild