Skip to main content
← All vulnerabilities
CVE-2021-43557

Path traversal in request_uri variable

Published
Last modified
published
Not listed in CISA KEV
1 proof of concept on GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated
  3. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • Apache Software Foundation Apache APISIX

    From 1.5

References 5

lists.apache.org

openwall.com

GitHub · xvnpw/k8s-CVE-2021-43557-poc