SecurityContext

CVE-2022-4566: y_project RuoYi - SQL Injection

  • Cve: CVE-2022-4566
  • Name: y_project RuoYi - SQL Injection
  • Description: A vulnerability, which was classified as critical, has been found in y_project RuoYi 4.7.5. This issue affects some unknown processing of the file com/ruoyi/generator/controller/GenController. The manipulation leads to sql injection. The name of the patch is 167970e5c4da7bb46217f576dc50622b83f32b40. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-215975.
  • Impact: Attackers can execute arbitrary SQL commands, potentially leading to data theft, data loss, or database compromise.
  • Remediation: Apply the patch with identifier 167970e5c4da7bb46217f576dc50622b83f32b40 to fix this issue.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00891
  • Epss percentile: 0.60287
  • Assignee: [email protected]
  • Published at: 2022-12-16T19:15:09Z
  • Age in days: 1439
  • Modified at: 2026-06-17T05:21:13Z
  • Public exploits total: 2
  • References total: 4
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-4566
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

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

Public exploits

UrlSourceAdded date
https://gitee.com/y_project/RuoYi/issues/I65V2Bnvd2022-12-16
https://github.com/luelueking/ruoyi-4.7.5-vuln-pocnvd2022-12-16

References

Same in every row:

  • Source: nvd
UrlTags
https://gitee.com/y_project/RuoYi/issues/I65V2BExploit, Third Party Advisory
https://github.com/luelueking/ruoyi-4.7.5-vuln-pocExploit, Third Party Advisory
https://gitee.com/y_project/RuoYi/commit/167970e5c4da7bb46217f576dc50622b83f32b40Permissions Required, Third Party Advisory
https://vuldb.com/?id.215975Permissions Required, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
ruoyi:ruoyi= 4.7.5nonvd/v1/products/ruoyi/ruoyi

Index

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

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2022-12-16
  • Remote: yes
  • Exposed hosts: 2807
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports