Skip to content
OpenAdvisories
Unscored Public exploit CVE-2021-43557 EUVD-2021-30486GHSA-9wxc-375c-cvq2

Path traversal in request_uri variable

Published Nov 22, 2021 · Updated Aug 4, 2024 · Assigned by apache

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache APISIX 1.5 – < Apache APISIX 1.5* Apache APISIX 1.5*

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

References