CVE-2021-43557

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.
References
Link Resource
http://www.openwall.com/lists/oss-security/2021/11/22/1 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2021/11/22/2 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2021/11/23/1 Exploit Mailing List Third Party Advisory
https://lists.apache.org/thread/18jyd458ptocr31rnkjs71w4h366mv7h Exploit Mailing List Vendor Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:apache:apisix:*:*:*:*:*:*:*:*

History

26 Nov 2021, 15:47

Type Values Removed Values Added
CPE cpe:2.3:a:apache:apisix:*:*:*:*:*:*:*:*
CWE CWE-77
CVSS v2 : unknown
v3 : unknown
v2 : 5.0
v3 : 7.5
References (MLIST) http://www.openwall.com/lists/oss-security/2021/11/22/1 - (MLIST) http://www.openwall.com/lists/oss-security/2021/11/22/1 - Mailing List, Third Party Advisory
References (MISC) https://lists.apache.org/thread/18jyd458ptocr31rnkjs71w4h366mv7h - (MISC) https://lists.apache.org/thread/18jyd458ptocr31rnkjs71w4h366mv7h - Exploit, Mailing List, Vendor Advisory
References (MLIST) http://www.openwall.com/lists/oss-security/2021/11/23/1 - (MLIST) http://www.openwall.com/lists/oss-security/2021/11/23/1 - Exploit, Mailing List, Third Party Advisory
References (MLIST) http://www.openwall.com/lists/oss-security/2021/11/22/2 - (MLIST) http://www.openwall.com/lists/oss-security/2021/11/22/2 - Mailing List, Third Party Advisory

23 Nov 2021, 13:15

Type Values Removed Values Added
References
  • (MLIST) http://www.openwall.com/lists/oss-security/2021/11/23/1 -

22 Nov 2021, 13:15

Type Values Removed Values Added
References
  • (MLIST) http://www.openwall.com/lists/oss-security/2021/11/22/1 -
  • (MLIST) http://www.openwall.com/lists/oss-security/2021/11/22/2 -

22 Nov 2021, 09:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-11-22 09:15

Updated : 2024-02-04 22:08


NVD link : CVE-2021-43557

Mitre link : CVE-2021-43557

CVE.ORG link : CVE-2021-43557


JSON object : View

Products Affected

apache

  • apisix
CWE
CWE-77

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