Exploit database

Vulnerability

CVE-2021-43557

Path traversal in request_uri variable

Vulnerability details

Score
7.5
Severity
high

CVSS 3.1 · NVD

Vector string

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

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.

CVE Program

Showing saved CVE details. Refresh is temporarily unavailable.

Exploit source choices

1 source
xvnpw/k8s-cve-2021-43557-poc
GH-e4798037a430cde5a2060ff1c478c966GitHubUnofficial GitHub sourcePreferred

PoC for CVE-2021-43557

2021-11-2211 files · 22 stars