Lemonldap::NG::Handler versions from 2.0.0 before 2.16.10, from 2.17.0 before 2.21.6, from 2.22.0 before 2.23.4 for Perl allow an equivalent spelling of a path to bypass the locationRules that restrict it
What fixes it
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
Lemonldap::NG::Handler versions from 2.0.0 before 2.16.10, from 2.17.0 before 2.21.6, from 2.22.0 before 2.23.4 for Perl allow an equivalent spelling of a path to bypass the locationRules that restrict it.
The handler matches each vhost's locationRules regular expressions against REQUEST_URI, the raw request line, while the web server routes on the path it has already percent-decoded and normalized. A request that percent-encodes a character of the path, inserts dot segments, or doubles a slash therefore reaches the protected resource under a URI that no rule regexp matches, and the vhost's default rule decides access. Deny rules, identity and group conditions, and unprotect and skip rules are bypassed alike.
Only a vhost whose default rule is more permissive than its other rules is affected. An authenticated user then reaches any URL a locationRules regexp was meant to restrict, but gains no more than that default rule already grants.
Text from CVE List
Affected versions 3
- Productaffected: 2.0.0 before 2.16.10CVE List
- Productaffected: 2.17.0 before 2.21.6CVE List
- Productaffected: 2.22.0 before 2.23.4CVE List
References 7
- gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/work_items/3723Exploitvia CVE List
- gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/3723Referencevia CVE List
- gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/releases/v2.23.4Referencevia CVE List
- gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/releases/v2.21.6Referencevia CVE List
- gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/releases/v2.16.10Referencevia CVE List
- cve.org/CVERecord?id=CVE-2020-24660Referencevia CVE List
- lists.debian.org/debian-lts-announce/2026/09/msg00032.htmlReferencevia CVE List