9.8
CRITICAL
CVE-2022-4566
RuoYi SQL Injection Vulnerability
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.

INFO

Published Date :

Dec. 16, 2022, 7:15 p.m.

Last Modified :

Nov. 7, 2023, 3:58 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2022-4566 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Ruoyi ruoyi
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-4566.

URL Resource
https://gitee.com/y_project/RuoYi/commit/167970e5c4da7bb46217f576dc50622b83f32b40 Permissions Required Third Party Advisory
https://gitee.com/y_project/RuoYi/issues/I65V2B Exploit Third Party Advisory
https://github.com/luelueking/ruoyi-4.7.5-vuln-poc Exploit Third Party Advisory
https://vuldb.com/?id.215975 Permissions Required Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-4566 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-4566 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Removed CWE VulDB CWE-89
    Removed CWE VulDB CWE-74
  • Reanalysis by [email protected]

    Mar. 07, 2023

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:ruoyi_project:ruoyi:4.7.5:*:*:*:*:*:*:* OR *cpe:2.3:a:ruoyi:ruoyi:4.7.5:*:*:*:*:*:*:*
  • Initial Analysis by [email protected]

    Dec. 22, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://gitee.com/y_project/RuoYi/commit/167970e5c4da7bb46217f576dc50622b83f32b40 No Types Assigned https://gitee.com/y_project/RuoYi/commit/167970e5c4da7bb46217f576dc50622b83f32b40 Permissions Required, Third Party Advisory
    Changed Reference Type https://gitee.com/y_project/RuoYi/issues/I65V2B No Types Assigned https://gitee.com/y_project/RuoYi/issues/I65V2B Exploit, Third Party Advisory
    Changed Reference Type https://github.com/luelueking/ruoyi-4.7.5-vuln-poc No Types Assigned https://github.com/luelueking/ruoyi-4.7.5-vuln-poc Exploit, Third Party Advisory
    Changed Reference Type https://vuldb.com/?id.215975 No Types Assigned https://vuldb.com/?id.215975 Permissions Required, Third Party Advisory
    Added CWE NIST CWE-89
    Added CPE Configuration OR *cpe:2.3:a:ruoyi_project:ruoyi:4.7.5:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-4566 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-4566 weaknesses.

CAPEC-7: Blind SQL Injection Blind SQL Injection CAPEC-66: SQL Injection SQL Injection CAPEC-108: Command Line Execution through SQL Injection Command Line Execution through SQL Injection CAPEC-109: Object Relational Mapping Injection Object Relational Mapping Injection CAPEC-110: SQL Injection through SOAP Parameter Tampering SQL Injection through SOAP Parameter Tampering CAPEC-470: Expanding Control over the Operating System from the Database Expanding Control over the Operating System from the Database CAPEC-3: Using Leading 'Ghost' Character Sequences to Bypass Input Filters Using Leading 'Ghost' Character Sequences to Bypass Input Filters CAPEC-7: Blind SQL Injection Blind SQL Injection CAPEC-43: Exploiting Multiple Input Interpretation Layers Exploiting Multiple Input Interpretation Layers CAPEC-52: Embedding NULL Bytes Embedding NULL Bytes CAPEC-53: Postfix, Null Terminate, and Backslash Postfix, Null Terminate, and Backslash CAPEC-64: Using Slashes and URL Encoding Combined to Bypass Validation Logic Using Slashes and URL Encoding Combined to Bypass Validation Logic CAPEC-78: Using Escaped Slashes in Alternate Encoding Using Escaped Slashes in Alternate Encoding CAPEC-79: Using Slashes in Alternate Encoding Using Slashes in Alternate Encoding CAPEC-83: XPath Injection XPath Injection CAPEC-84: XQuery Injection XQuery Injection CAPEC-250: XML Injection XML Injection CAPEC-276: Inter-component Protocol Manipulation Inter-component Protocol Manipulation CAPEC-277: Data Interchange Protocol Manipulation Data Interchange Protocol Manipulation CAPEC-278: Web Services Protocol Manipulation Web Services Protocol Manipulation CAPEC-279: SOAP Manipulation SOAP Manipulation CAPEC-468: Generic Cross-Browser Cross-Domain Theft Generic Cross-Browser Cross-Domain Theft
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.20 }} 0.06%

score

0.58402

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability