BIT-apisix-2021-43557

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/apisix/BIT-apisix-2021-43557.json
JSON Data
https://api.osv.dev/v1/vulns/BIT-apisix-2021-43557
Aliases
Published
2024-03-06T10:51:17.884Z
Modified
2024-03-06T11:25:28.861Z
Summary
[none]
Details

The uri-block plugin in Apache APISIX before 2.10.2 uses $requesturi without verification. The $requesturi 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.

Database specific
{
    "cpes": [
        "cpe:2.3:a:apache:apisix:*:*:*:*:*:*:*:*"
    ],
    "severity": "High"
}
References

Affected packages

Bitnami / apisix

Package

Name
apisix
Purl
pkg:bitnami/apisix

Severity

  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.10.2