Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAC8fJNZ9WakxS9tLqYtxkj3zQBU+==ZHvNM_-DA=-FiWzvTySw@mail.gmail.com>
Date: Mon, 22 Nov 2021 07:57:25 +0100
From: Marcin Niemiec <niemiec.marcin@...il.com>
To: Zexuan Luo <spacewander@...che.org>
Cc: announce@...che.org, dev@...six.apache.org, 
	Apache Security Team <security@...che.org>, oss-security@...ts.openwall.com
Subject: Re: CVE-2021-43557: Apache APISIX: Path traversal in request_uri variable

Hi,

Looks good to me.

It's really awesome that you verified this issue and provided fix so
quickly!

Best,
Marcin

pon., 22 lis 2021 o 07:30 Zexuan Luo <spacewander@...che.org> napisaƂ(a):

> Severity: moderate
>
> Description:
>
> The uri-block plugin in APISIX 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.
>
> This issue is fixed in APISIX 2.10.2.
> Thanks to Marcin Niemiec for reporting the vulnerability.
>
> Mitigation:
>
> 1. Upgrade to APISIX 2.10.2
> 2. Carefully review custom code, find & fix the usage of $request_uri
> without verification.
>

Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.