CVE-2022-24112

Scores

EPSS Score

0.9442

CVSS

3.x 9.8

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

All CVSS Scores

CVSS 4.0
0.0
CVSS 3.x
9.8

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS 2.0
7.5

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Description

An attacker can abuse the batch-requests plugin to send requests to bypass the IP restriction of Admin API. A default configuration of Apache APISIX (with default API key) is vulnerable to remote code execution. When the admin key was changed or the port of Admin API was changed to a port different from the data panel, the impact is lower. But there is still a risk to bypass the IP restriction of Apache APISIX's data panel. There is a check in the batch-requests plugin which overrides the client IP with its real remote IP. But due to a bug in the code, this check can be bypassed.

Sources

nvd

CWEs

CWE-290

Related Vulnerabilities

Exploits

Exploit ID: CVE-2022-24112

Source: cisa

URL: https://www.cisa.gov/known-exploited-vulnerabilities-catalog

Exploit ID: 50829

Source: exploitdb

URL: https://www.exploit-db.com/exploits/50829

Vulnerable Software

Type: Configuration

Vendor: apache

Product: apisix

Operating System: * * *

Trait:
{
  "cpe_match": [
    {
      "cpe23uri": "cpe:2.3:a:apache:apisix:*:*:*:*:*:*:*:*",
      "versionEndExcluding": "2.10.4",
      "vulnerable": true
    },
    {
      "cpe23uri": "cpe:2.3:a:apache:apisix:*:*:*:*:*:*:*:*",
      "versionEndExcluding": "2.12.1",
      "versionStartIncluding": "2.11.0",
      "vulnerable": true
    }
  ],
  "operator": "OR"
}

Source: nvd