CVE-2021-43557Command Injection in Software Foundation Apache Apisix

CWE-77Command Injection3 documents3 sources
Severity
7.5HIGHNVD
EPSS
58.3%
top 1.80%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedNov 22
Latest updateNov 23

Description

The uri-block plugin in Apache APISIX before 2.10.2 uses $request_uri without verification. The $request_uri is the full original request URI without normalization. This makes it possible to construct a URI to bypass the block list on some occasions. For instance, when the block list contains "^/internal/", a URI like `//internal/` can be used to bypass it. Some other plugins also have the same issue. And it may affect the developer's custom plugin.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitability: 3.9 | Impact: 3.6

Affected Packages2 packages

NVDapache/apisix< 2.10.2
CVEListV5apache_software_foundation/apache_apisix1.5Apache APISIX 1.5*

🔴Vulnerability Details

2
GHSA
GHSA-9wxc-375c-cvq2: The uri-block plugin in Apache APISIX before 22021-11-23
CVEList
Path traversal in request_uri variable2021-11-22
CVE-2021-43557 — Command Injection | cvebase