CVE-2020-8023 Local privilege escalation from ldap to root when using OPENLDAP_CONFIG_BACKEND=ldap in openldap2

High 7.7 Published Updated

Local attackers can escalate privileges from user ldap to root in SUSE Linux when using the ldap configuration backend.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2020-8023?

CVE-2020-8023 is a high-severity vulnerability in SUSE Enterprise Storage 5, published on 1 Sep 2020. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A acceptance of Extraneous Untrusted Data With Trusted Data vulnerability in the start script of openldap2 of SUSE Enterprise Storage 5, SUSE Linux Enterprise Debuginfo 11-SP3, SUSE Linux Enterprise Debuginfo 11-SP4, SUSE Linux Enterprise Point of Sale 11-SP3, SUSE Linux Enterprise Server 11-SECURITY, SUSE Linux Enterprise Server 11-SP4-LTSS, SUSE Linux Enterprise Server 12-SP2-BCL, SUSE Linux Enterprise Server 12-SP2-LTSS, SUSE Linux Enterprise Server 12-SP3-BCL, SUSE Linux Enterprise Server 12-SP3-LTSS, SUSE Linux Enterprise Server 12-SP4, SUSE Linux Enterprise Server 12-SP5, SUSE Linux Enterprise Server 15-LTSS, SUSE Linux Enterprise Server for SAP 12-SP2, SUSE Linux Enterprise Server for SAP 12-SP3, SUSE Linux Enterprise Server for SAP 15, SUSE OpenStack Cloud 7, SUSE OpenStack Cloud 8, SUSE OpenStack Cloud Crowbar 8; openSUSE Leap 15.1, openSUSE Leap 15.2 allows local attackers to escalate privileges from user ldap to root. This issue affects: SUSE Enterprise Storage 5 openldap2 versions prior to 2.4.41-18.71.2. SUSE Linux Enterprise Debuginfo 11-SP3 openldap2 versions prior to 2.4.26-0.74.13.1,. SUSE Linux Enterprise Debuginfo 11-SP4 openldap2 versions prior to 2.4.26-0.74.13.1,. SUSE Linux Enterprise Point of Sale 11-SP3 openldap2 versions prior to 2.4.26-0.74.13.1,. SUSE Linux Enterprise Server 11-SECURITY openldap2-client-openssl1 versions prior to 2.4.26-0.74.13.1. SUSE Linux Enterprise Server 11-SP4-LTSS openldap2 versions prior to 2.4.26-0.74.13.1,. SUSE Linux Enterprise Server 12-SP2-BCL openldap2 versions prior to 2.4.41-18.71.2. SUSE Linux Enterprise Server 12-SP2-LTSS openldap2 versions prior to 2.4.41-18.71.2. SUSE Linux Enterprise Server 12-SP3-BCL openldap2 versions prior to 2.4.41-18.71.2. SUSE Linux Enterprise Server 12-SP3-LTSS openldap2 versions prior to 2.4.41-18.71.2. SUSE Linux Enterprise Server 12-SP4 openldap2 versions prior to 2.4.41-18.71.2. SUSE Linux Enterprise Server 12-SP5 openldap2 versions prior to 2.4.41-18.71.2. SUSE Linux Enterprise Server 15-LTSS openldap2 versions prior to 2.4.46-9.31.1. SUSE Linux Enterprise Server for SAP 12-SP2 openldap2 versions prior to 2.4.41-18.71.2. SUSE Linux Enterprise Server for SAP 12-SP3 openldap2 versions prior to 2.4.41-18.71.2. SUSE Linux Enterprise Server for SAP 15 openldap2 versions prior to 2.4.46-9.31.1. SUSE OpenStack Cloud 7 openldap2 versions prior to 2.4.41-18.71.2. SUSE OpenStack Cloud 8 openldap2 versions prior to 2.4.41-18.71.2. SUSE OpenStack Cloud Crowbar 8 openldap2 versions prior to 2.4.41-18.71.2. openSUSE Leap 15.1 openldap2 versions prior to 2.4.46-lp151.10.12.1. openSUSE Leap 15.2 openldap2 versions prior to 2.4.46-lp152.14.3.1.

Weakness: CWE-349

Which versions are affected by CVE-2020-8023?

It affects 1 product.

Linux distribution packages (39)
openldap2 SUSE:Enterprise Storage 5All versions2.4.41-18.71.2
openldap2 SUSE:HPE Helion OpenStack 8All versions2.4.41-18.71.2
openldap2 SUSE:Linux Enterprise High Performance Computing 15-ESPOSAll versions2.4.46-9.31.1
openldap2 SUSE:Linux Enterprise High Performance Computing 15-LTSSAll versions2.4.46-9.31.1
openldap2 SUSE:Linux Enterprise Module for Basesystem 15 SP1All versions2.4.46-9.31.1
openldap2 SUSE:Linux Enterprise Module for Basesystem 15 SP2All versions2.4.46-9.31.1
openldap2 SUSE:Linux Enterprise Module for Development Tools 15 SP1All versions2.4.46-9.31.1
openldap2 SUSE:Linux Enterprise Module for Development Tools 15 SP2All versions2.4.46-9.31.1
openldap2 SUSE:Linux Enterprise Module for Legacy 12All versions2.4.41-18.24.20.2
openldap2 SUSE:Linux Enterprise Module for Legacy 15 SP1All versions2.4.46-9.31.1
openldap2 SUSE:Linux Enterprise Module for Legacy 15 SP2All versions2.4.46-9.31.1
openldap2 SUSE:Linux Enterprise Point of Sale 11 SP3All versions2.4.26-0.74.13.1
openldap2-client SUSE:Linux Enterprise Point of Sale 11 SP3All versions2.4.26-0.74.13.1
openldap2 SUSE:Linux Enterprise Server 11 SP4-LTSSAll versions2.4.26-0.74.13.1
openldap2-client SUSE:Linux Enterprise Server 11 SP4-LTSSAll versions2.4.26-0.74.13.1
openldap2-client-openssl1 SUSE:Linux Enterprise Server 11-SECURITYAll versions2.4.26-0.74.13.1
openldap2 SUSE:Linux Enterprise Server 12 SP2-BCLAll versions2.4.41-18.71.2
openldap2 SUSE:Linux Enterprise Server 12 SP2-LTSSAll versions2.4.41-18.71.2
openldap2 SUSE:Linux Enterprise Server 12 SP3-BCLAll versions2.4.41-18.71.2
openldap2 SUSE:Linux Enterprise Server 12 SP3-LTSSAll versions2.4.41-18.71.2
openldap2 SUSE:Linux Enterprise Server 12 SP4All versions2.4.41-18.71.2
openldap2 SUSE:Linux Enterprise Server 12 SP5All versions2.4.41-18.71.2
openldap2 SUSE:Linux Enterprise Server 15-LTSSAll versions2.4.46-9.31.1
openldap2 SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions2.4.41-18.24.20.2
openldap2 SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions2.4.41-18.71.2
openldap2 SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions2.4.41-18.24.20.2
openldap2 SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions2.4.41-18.71.2
openldap2 SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions2.4.41-18.24.20.2
openldap2 SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions2.4.41-18.71.2
openldap2 SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions2.4.41-18.24.20.2
openldap2 SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions2.4.41-18.71.2
openldap2 SUSE:Linux Enterprise Server for SAP Applications 15All versions2.4.46-9.31.1
openldap2 SUSE:Linux Enterprise Software Development Kit 12 SP4All versions2.4.41-18.71.2
openldap2 SUSE:Linux Enterprise Software Development Kit 12 SP5All versions2.4.41-18.71.2
openldap2 SUSE:OpenStack Cloud 7All versions2.4.41-18.71.2
openldap2 SUSE:OpenStack Cloud 8All versions2.4.41-18.71.2
openldap2 SUSE:OpenStack Cloud Crowbar 8All versions2.4.41-18.71.2
openldap2 openSUSE:Leap 15.1All versions2.4.46-lp151.10.12.1
openldap2 openSUSE:Leap 15.2All versions2.4.46-lp152.14.3.1

Products include Opensuse Openldap2.

How do I fix CVE-2020-8023?

Apply the vendor's patch.

Is CVE-2020-8023 being exploited?

There is no known exploitation of CVE-2020-8023 in the wild and no public exploit code.

Sources

Also known as GHSA-jpq8-q698-27vp, SUSE-SU-2020:14419-1, SUSE-SU-2020:1855-1, SUSE-SU-2020:1856-1, SUSE-SU-2020:1859-1, openSUSE-SU-2020:0956-1 and 1 more.

Is CVE-2020-8023 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free