Vulnerability CVE-2021-43557


Published: 2021-11-22

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.

Type:

CWE-77

(Improper Neutralization of Special Elements used in a Command ('Command Injection'))

CVSS2 => (AV:N/AC:L/Au:N/C:P/I:N/A:N)

CVSS Base Score
Impact Subscore
Exploitability Subscore
5/10
2.9/10
10/10
Exploit range
Attack complexity
Authentication
Remote
Low
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
None
None
Affected software
Apache -> Apisix 

 References:
https://lists.apache.org/thread/18jyd458ptocr31rnkjs71w4h366mv7h
http://www.openwall.com/lists/oss-security/2021/11/22/2
http://www.openwall.com/lists/oss-security/2021/11/22/1
http://www.openwall.com/lists/oss-security/2021/11/23/1

Copyright 2024, cxsecurity.com

 

Back to Top