SecurityContext

CVE-2022-31974: Online Fire Reporting System - SQL Injection

  • Cve: CVE-2022-31974
  • Name: Online Fire Reporting System - SQL Injection
  • Description: Online Fire Reporting System v1.0 is vulnerable to SQL Injection via /ofrs/admin/?page=reports&date=.
  • Impact: Attackers can retrieve, modify, or delete sensitive database information, leading to data breach or corruption.
  • Remediation: Implement parameterized queries and input validation, update to the latest version if available.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.2
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.04914
  • Epss percentile: 0.92326
  • Assignee: [email protected]
  • Published at: 2022-06-02T14:15:59Z
  • Age in days: 1636
  • Modified at: 2026-06-17T04:46:31Z
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-31974
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-89Improper Neutralization of Special Elements used in an SQL Command

Nuclei templates

IdUrl
CVE-2022-31974https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-31974.yaml

Public exploits

UrlSourceAdded date
https://github.com/k0xx11/bug_report/blob/main/vendors/oretnom23/online-fire-reporting-system/SQLi-1.mdnvd2022-06-02

References

UrlSourceTags
https://github.com/k0xx11/bug_report/blob/main/vendors/oretnom23/online-fire-reporting-system/SQLi-1.mdnvdExploit, Third Party Advisory
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-31974.yamlnuclei_templateNuclei Template

Products

ProductAffectedPlatform boundSourcesUrl
online_fire_reporting_system_project:online_fire_reporting_system= 1.0nonvd/v1/products/online_fire_reporting_system_project/online_fire_reporting_system

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2022-06-02
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, initial access since, hackerone reports, exposed hosts

Nuclei template