CVE-2024-52946
High · 8.8CVSS
8.8
EPSS
0.5%
Published
Nov 18, 2024
CISA due date
—
Cloudanix analysis
Users who already have an account could trick the system into giving them more access than they should have, because of a mistake in how extra login checks are applied.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Privilege Gain
- Component
- Application
- Class
- Privilege Escalation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
An authenticated user can bypass the intended absolute authentication level assignment during session refresh when an adaptive authentication rule uses an increment value, allowing unauthorized elevation of session privileges.
Why it matters to the business
Attackers with valid credentials can gain higher access rights than intended, potentially exposing sensitive applications and data across organizations using this identity federation product; the flaw has been public for over a year with no observed mass exploitation.
How an attack unfolds
An attacker authenticates with a low-level session, triggers a session refresh while an adaptive rule configured with an increment is active, and the improper check allows the increment to raise the authentication level beyond the configured maximum.
How to fix it
Upgrade LemonLDAP::NG to a build containing commit fe2718cc2dd849966f690fb995d96f9ea391fa3f (equivalent to version 2.20.1 or later) and review all adaptive authentication rules to ensure they use absolute values rather than increments.
How to confirm the fix worked
Confirm the installed version includes commit fe2718cc2dd849966f690fb995d96f9ea391fa3f, audit adaptive authentication rules for increment usage, and test session refresh behavior under those rules to verify levels remain absolute.
Typical attack path
- Obtain valid low-privilege credentials for the LemonLDAP::NG instance
- Initiate a session and trigger the session refresh mechanism
- Ensure an adaptive authentication rule using increment (instead of absolute value) is evaluated
- Observe the authentication level increase without re-authentication
How to detect it
Review LemonLDAP::NG session and authentication logs for unexpected authentication level increases during refresh events; correlate with user activity that would not normally trigger re-authentication.
What your security team should do
- Immediately upgrade all LemonLDAP::NG instances to the fixed commit or 2.20.1+
- Audit and correct any adaptive authentication rules that rely on increments
- Monitor authentication level changes in logs for unexpected elevations
- Prioritize this update given the high CVSS score and public disclosure date
The record
An issue was discovered in LemonLDAP::NG before 2.20.1. An Improper Check during session refresh allows an authenticated user to raise their authentication level if the admin configured an "Adaptative authentication rule" with an increment instead of an absolute value.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | lemonldap-ng | 0 | No fix |
| Debian:11 | lemonldap-ng | 0 | 2.0.11+ds-4+deb11u6 |
| Debian:12 | lemonldap-ng | 0 | No fix |
| Debian:13 | lemonldap-ng | 0 | 2.20.1+ds-1 |
| Debian:14 | lemonldap-ng | 0 | 2.20.1+ds-1 |
| Ubuntu:16.04:LTS | lemonldap-ng | 0 | No fix |
| Ubuntu:18.04:LTS | lemonldap-ng | 0 | No fix |
| Ubuntu:20.04:LTS | lemonldap-ng | 0 | No fix |
| Ubuntu:22.04:LTS | lemonldap-ng | 0 | No fix |
| Ubuntu:24.04:LTS | lemonldap-ng | 0 | No fix |
| Ubuntu:24.10 | lemonldap-ng | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | lemonldap-ng | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | lemonldap-ng | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | lemonldap-ng | 0 | No fix |
Related vulnerabilities
- CVE-2024-52947 A cross-site scripting (XSS) vulnerability in LemonLDAP::NG before 2.20.1 allows remote… Also affects lemonldap-ng
- CVE-2024-48933 A cross-site scripting (XSS) vulnerability in LemonLDAP::NG before 2.19.3 allows remote… Also affects lemonldap-ng
- CVE-2024-45160 Incorrect credential validation in LemonLDAP::NG 2.18.x and 2.19.x before 2.19.2 allows… Also affects lemonldap-ng
- CVE-2026-11813 A potential improper permissions vulnerability was reported in the Lenovo Filez Client… CWE-276
- CVE-2026-52766 YesWiki is a wiki system written in PHP. CWE-276
- CVE-2026-77393 In Ignition 8.1.53 and earlier, the Gateway "Create Project Role(s)" setting shipped… CWE-276
- CVE-2026-75166 Insecure Permission vulnerability in MBS-Solutions X-Serie Gateway firmware V6_00_05… CWE-276
- CVE-2026-81302 PALLET CONTROL products contain an incorrect default permission vulnerability, which may… CWE-276