Debian dla-3287 : lemonldap-ng - security update

high Nessus Plugin ID 170758

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 10 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-3287 advisory.

------------------------------------------------------------------------- Debian LTS Advisory DLA-3287-1 [email protected] https://www.debian.org/lts/security/ Guilhem Moulin January 28, 2023 https://wiki.debian.org/LTS
-------------------------------------------------------------------------

Package : lemonldap-ng Version : 2.0.2+ds-7+deb10u8 CVE ID : CVE-2020-16093 CVE-2022-37186

Two vulnerabilities were found in lemonldap-ng, an OpenID-Connect, CAS and SAML compatible Web-SSO system, that could result in information disclosure or impersonation.

CVE-2020-16093

Maxime Besson discovered that LemonLDAP::NG before 2.0.9 did not check validity of the X.509 certificate by default when connecting to remote LDAP backends, because the default configuration of the Net::LDAPS module for Perl is used.

This update changes the default behavior to require X.509 validation against the distribution bundle /etc/ssl/certs/ca-certificates.crt.
Previous behavior can reverted by running `/usr/share/lemonldap-ng/bin/lemonldap-ng-cli set ldapVerify none`.

If a session backend is set to Apache::Session::LDAP or Apache::Session::Browseable::LDAP, then the complete fix involves upgrading the corresponding Apache::Session module (libapache-session-ldap-perl resp. libapache-session-browseable-perl) to 0.4-1+deb10u1 (or 0.5) resp. 1.3.0-1+deb10u1 (or 1.3.8). See related advisories DLA-3284-1 and DLA-3285-1 for details.

CVE-2022-37186

Mickael Bride discovered that under certain conditions the session remained valid on handlers after being destroyed on portal.

For Debian 10 buster, these problems have been fixed in version 2.0.2+ds-7+deb10u8.

We recommend that you upgrade your lemonldap-ng packages.

For the detailed security status of lemonldap-ng please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/lemonldap-ng

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS Attachment:
signature.asc Description: PGP signature

Tenable has extracted the preceding description block directly from the Debian security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade the lemonldap-ng packages.

See Also

http://www.nessus.org/u?9f8cb51e

https://security-tracker.debian.org/tracker/CVE-2020-16093

https://security-tracker.debian.org/tracker/CVE-2022-37186

https://packages.debian.org/source/buster/lemonldap-ng

Plugin Details

Severity: High

ID: 170758

File Name: debian_DLA-3287.nasl

Version: 1.3

Type: local

Agent: unix

Published: 1/28/2023

Updated: 1/22/2025

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:C/A:N

CVSS Score Source: CVE-2020-16093

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:lemonldap-ng, p-cpe:/a:debian:debian_linux:liblemonldap-ng-portal-perl, p-cpe:/a:debian:debian_linux:lemonldap-ng-handler, p-cpe:/a:debian:debian_linux:liblemonldap-ng-manager-perl, p-cpe:/a:debian:debian_linux:lemonldap-ng-fastcgi-server, cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:liblemonldap-ng-handler-perl, p-cpe:/a:debian:debian_linux:lemonldap-ng-uwsgi-app, p-cpe:/a:debian:debian_linux:liblemonldap-ng-common-perl, p-cpe:/a:debian:debian_linux:lemonldap-ng-doc

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/28/2023

Vulnerability Publication Date: 7/18/2022

Reference Information

CVE: CVE-2020-16093, CVE-2022-37186