Description
Lemonldap::NG::Portal versions from 2.20.0 before 2.21.6, from 2.22.0 before 2.23.4 for Perl allow unauthenticated OAuth2 token introspection because checkEndPointAuthenticationCredentials does not verify the client secret of a public Relying Party.
checkEndPointAuthenticationCredentials() skips the secret comparison for a Relying Party marked public and still returns the authentication method deduced from the request, client_secret_basic or client_secret_post. introspection() rejects a caller only when that method is missing or none, so a request carrying a public client_id and an arbitrary or empty secret passes the endpoint's authentication check.
An attacker who holds an access token and knows the client_id of any public Relying Party can confirm the token is active and read its metadata, including scope, audience, expiry and the sub claim. The sub claim is computed with the calling Relying Party's user identifier attribute, so an attacker can translate a user identifier from one Relying Party to another, defeating per-client and pseudonymous identifiers.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Lemonldap-NG-Portal | 2.20.0 – < 2.21.6, 2.22.0 – < 2.23.4 | 2.21.6 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | lemonldap-ng | 2.23.4+ds-1 | — |
| Debian 13 | lemonldap-ng | 2.21.2+ds-1+deb13u4 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | lemonldap-ng | No fix yet | — |
| Ubuntu 26.04 LTS | lemonldap-ng | No fix yet | — |
| Ubuntu 24.04 LTS | lemonldap-ng | No fix yet | — |
| Ubuntu 22.04 LTS | lemonldap-ng | No fix yet | — |
| Ubuntu 20.04 LTS | lemonldap-ng | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | lemonldap-ng | No fix yet | — |
| Ubuntu 16.04 LTS | lemonldap-ng | No fix yet | — |
References
- https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/work_items/3719 issue-tracking
- https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/work_items/3721 issue-tracking
- https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/releases/v2.23.4 release-notes
- https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/releases/v2.21.6 release-notes