CVE-2024-52947: XSS

Published Nov 18, 2024
·
Updated

A cross-site scripting (XSS) vulnerability in LemonLDAP::NG before 2.20.1 allows remote attackers to inject arbitrary web script or HTML via the url parameter of the upgrade session confirmation page (upgradeSession / forceUpgrade) if the "Upgrade session" plugin has been enabled by an admin

Affected Software

5 affected componentsFixes available
LemonLDAP LemonLDAP::NG<2.20.1
debian/lemonldap-ng<2.16.1+ds-deb12u4
2.16.1+ds-deb12u4
debian/lemonldap-ng<2.20.1+ds-1
2.20.1+ds-1
debian/lemonldap-ng<2.20.1+ds-1
2.20.1+ds-1
debian/lemonldap-ng
2.16.1+ds-deb12u82.16.1+ds-deb12u102.21.2+ds-1+deb13u32.21.2+ds-1+deb13u42.23.4+ds+~0.5.5-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/lemonldap-ng to a version that resolves this vulnerability.

    Fixed in 2.16.1+ds-deb12u4
  2. Upgrade

    Upgrade debian/lemonldap-ng to a version that resolves this vulnerability.

    Fixed in 2.20.1+ds-1
  3. Upgrade

    Upgrade debian/lemonldap-ng to a version that resolves this vulnerability.

    Fixed in 2.16.1+ds-deb12u8Fixed in 2.16.1+ds-deb12u10Fixed in 2.21.2+ds-1+deb13u3Fixed in 2.21.2+ds-1+deb13u4Fixed in 2.23.4+ds+~0.5.5-1
  4. Upgrade

    Upgrade LemonLDAP::NG to a version that resolves this vulnerability.

    Fixed in 2.20.1

Event History

Nov 18, 2024
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·06:15 AM
DescriptionSeverityWeakness
Data Sourced
via OSV·06:15 AM
DescriptionSeverityAffected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2024-52947?

CVE-2024-52947 is categorized as a high severity cross-site scripting (XSS) vulnerability.

2

How do I fix CVE-2024-52947?

To remediate CVE-2024-52947, update LemonLDAP::NG to version 2.20.1 or later and disable the 'Upgrade session' plugin if it is not needed.

3

Who is affected by CVE-2024-52947?

CVE-2024-52947 affects all versions of LemonLDAP::NG prior to 2.20.1 when the 'Upgrade session' plugin is enabled.

4

What types of attacks can exploit CVE-2024-52947?

CVE-2024-52947 allows attackers to inject arbitrary web scripts or HTML, potentially leading to account hijacking or data theft.

5

How can I determine if my LemonLDAP::NG installation is vulnerable to CVE-2024-52947?

If you are using LemonLDAP::NG version prior to 2.20.1 with the 'Upgrade session' plugin enabled, your installation is vulnerable to CVE-2024-52947.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203