Local privilege escalation from ldap to root when using OPENLDAP_CONFIG_BACKEND=ldap in openldap2 (CVE-2020-8023)
Published Sources: CVE.org
What is affected, what to do
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.
An exploit is publicly available. Update SUSE Enterprise Storage 5 to version 2.4.41-18.71.2, SUSE Linux Enterprise Debuginfo 11-SP3 to version 2.4.26-0.74.13.1, SUSE Linux Enterprise Debuginfo 11-SP4 to version 2.4.26-0.74.13.1.
- Affected
- SUSE Enterprise Storage 5
lt openldap2..2.4.41-18.71.2 - SUSE Linux Enterprise Debuginfo 11-SP3
lt openldap2..2.4.26-0.74.13.1 - SUSE Linux Enterprise Debuginfo 11-SP4
lt openldap2..2.4.26-0.74.13.1 - SUSE Linux Enterprise Point of Sale 11-SP3
lt openldap2..2.4.26-0.74.13.1 - SUSE Linux Enterprise Server 11-SECURITY
lt openldap2-client-openssl1..2.4.26-0.74.13.1 - SUSE Linux Enterprise Server 11-SP4-LTSS
lt openldap2..2.4.26-0.74.13.1 - SUSE Linux Enterprise Server 12-SP2-BCL
lt openldap2..2.4.41-18.71.2 - SUSE Linux Enterprise Server 12-SP2-LTSS
lt openldap2..2.4.41-18.71.2 - SUSE Linux Enterprise Server 12-SP3-BCL
lt openldap2..2.4.41-18.71.2 - SUSE Linux Enterprise Server 12-SP3-LTSS
lt openldap2..2.4.41-18.71.2 - SUSE Linux Enterprise Server 12-SP4
lt openldap2..2.4.41-18.71.2 - SUSE Linux Enterprise Server 12-SP5
lt openldap2..2.4.41-18.71.2 - SUSE Linux Enterprise Server 15-LTSS
lt openldap2..2.4.46-9.31.1 - SUSE Linux Enterprise Server for SAP 12-SP2
lt openldap2..2.4.41-18.71.2 - SUSE Linux Enterprise Server for SAP 12-SP3
lt openldap2..2.4.41-18.71.2 - SUSE Linux Enterprise Server for SAP 15
lt openldap2..2.4.46-9.31.1 - SUSE OpenStack Cloud 7
lt openldap2..2.4.41-18.71.2 - SUSE OpenStack Cloud 8
lt openldap2..2.4.41-18.71.2 - SUSE OpenStack Cloud Crowbar 8
lt openldap2..2.4.41-18.71.2 - openSUSE Leap 15.1
lt openldap2..2.4.46-lp151.10.12.1 - openSUSE Leap 15.2
lt openldap2..2.4.46-lp152.14.3.1
- SUSE Enterprise Storage 5
- Fixed in
- SUSE Enterprise Storage 5
2.4.41-18.71.2 - SUSE Linux Enterprise Debuginfo 11-SP3
2.4.26-0.74.13.1 - SUSE Linux Enterprise Debuginfo 11-SP4
2.4.26-0.74.13.1 - SUSE Linux Enterprise Point of Sale 11-SP3
2.4.26-0.74.13.1 - SUSE Linux Enterprise Server 11-SECURITY
2.4.26-0.74.13.1 - SUSE Linux Enterprise Server 11-SP4-LTSS
2.4.26-0.74.13.1 - SUSE Linux Enterprise Server 12-SP2-BCL
2.4.41-18.71.2 - SUSE Linux Enterprise Server 12-SP2-LTSS
2.4.41-18.71.2 - SUSE Linux Enterprise Server 12-SP3-BCL
2.4.41-18.71.2 - SUSE Linux Enterprise Server 12-SP3-LTSS
2.4.41-18.71.2 - SUSE Linux Enterprise Server 12-SP4
2.4.41-18.71.2 - SUSE Linux Enterprise Server 12-SP5
2.4.41-18.71.2 - SUSE Linux Enterprise Server 15-LTSS
2.4.46-9.31.1 - SUSE Linux Enterprise Server for SAP 12-SP2
2.4.41-18.71.2 - SUSE Linux Enterprise Server for SAP 12-SP3
2.4.41-18.71.2 - SUSE Linux Enterprise Server for SAP 15
2.4.46-9.31.1 - SUSE OpenStack Cloud 7
2.4.41-18.71.2 - SUSE OpenStack Cloud 8
2.4.41-18.71.2 - SUSE OpenStack Cloud Crowbar 8
2.4.41-18.71.2 - openSUSE Leap 15.1
2.4.46-lp151.10.12.1 - openSUSE Leap 15.2
2.4.46-lp152.14.3.1
- SUSE Enterprise Storage 5
Not sure whether and how you are affected? Ask a question about this vulnerability
Metrics
7.8
Priority
XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.
Source: NVD, CVSS v3
7.7
CVSS v3
Severity High on the scale from 0 to 10.
Source: CVE.org
0.4 %
EPSS score
Low — model estimates < 1% exploitation likelihood.
Source: FIRST EPSS, percentile 34.9
Show all metrics
- Severity
- High
Priority (0–325)
The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?
Read in glossary- 48.25 Methodology
Exploit maturity
An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.
Read in glossary- PoC (publicly reported)
XIEM Effective CVSS
XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.
Read in glossary- 7.8 Methodology
CVSS v3
CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.
Read in glossary- 7.7
EPSS score
The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.
Read in glossary- 0.4 %
- Low — model estimates < 1% exploitation likelihood.
EPSS percentile
The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.
Read in glossary- 34.9
- Elevated — this CVE ranks above at least 10% of all CVEs scored today.
KEV status
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- —
- Published
CWE
CWE is a catalogue of typical weakness types in software and hardware — such as flawed input validation, unsafe memory handling or poor authentication. Where a CVE names a concrete vulnerability in a concrete product, a CWE describes the underlying class of defect.
Read in glossary- CWE-349
Detection rules
No NEOSEC detection rule is available for this vulnerability yet.
Classification under NIS2 and CRA
Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.
NIS2
NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.
Read in glossary- High technical severity: assess and remediate the vulnerability in vulnerability handling under Art. 21(2)(e) NIS2 and document the decision.
CRA
The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.
Read in glossary- From 11.12.2027, Annex I Part II CRA requires manufacturers of affected products with digital elements to handle vulnerabilities without delay and provide security updates.
ISO/IEC 27001
ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.
Read in glossary- Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.
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.
Source: cvelistv5, NVD (NIST)
Affected products
The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.
| Affected versions | Fixed in | ||
|---|---|---|---|
| openSUSE | openSUSE Leap 15.1 |
|
|
| openSUSE | openSUSE Leap 15.2 |
|
|
| SUSE | SUSE Enterprise Storage 5 |
|
|
| SUSE | SUSE Linux Enterprise Debuginfo 11-SP3 |
|
|
| SUSE | SUSE Linux Enterprise Debuginfo 11-SP4 |
|
|
| SUSE | SUSE Linux Enterprise Point of Sale 11-SP3 |
|
|
| SUSE | SUSE Linux Enterprise Server 11-SECURITY |
|
|
| SUSE | SUSE Linux Enterprise Server 11-SP4-LTSS |
|
|
| SUSE | SUSE Linux Enterprise Server 12-SP2-BCL |
|
|
| SUSE | SUSE Linux Enterprise Server 12-SP2-LTSS |
|
|
| SUSE | SUSE Linux Enterprise Server 12-SP3-BCL |
|
|
| SUSE | SUSE Linux Enterprise Server 12-SP3-LTSS |
|
|
| SUSE | SUSE Linux Enterprise Server 12-SP4 |
|
|
| SUSE | SUSE Linux Enterprise Server 12-SP5 |
|
|
| SUSE | SUSE Linux Enterprise Server 15-LTSS |
|
|
| SUSE | SUSE Linux Enterprise Server for SAP 12-SP2 |
|
|
| SUSE | SUSE Linux Enterprise Server for SAP 12-SP3 |
|
|
| SUSE | SUSE Linux Enterprise Server for SAP 15 |
|
|
| SUSE | SUSE OpenStack Cloud 7 |
|
|
| SUSE | SUSE OpenStack Cloud 8 |
|
|
| SUSE | SUSE OpenStack Cloud Crowbar 8 |
|
|
| opensuse | openldap2 |
|
|
Vendors and products
- openSUSE openSUSE Factory
- openSUSE Opensuse Leap 15.1
- openSUSE Opensuse Leap 15.2
- SUSE Suse Linux Enterprise Server 11-sp4-ltss
- SUSE Suse Linux Enterprise Server 12-sp4
- SUSE Suse Linux Enterprise Server 12-sp5
- SUSE Suse Linux Enterprise Server 15-ltss
- SUSE Suse Linux Enterprise Server For Sap 15
- SUSE Suse Openstack Cloud 7
- SUSE Suse Openstack Cloud 8
- SUSE Suse Openstack Cloud Crowbar 8
Weakness classes (CWE)
CWE-349Acceptance of Extraneous Untrusted Data With Trusted Data
Base
The product, when processing trusted data, accepts any untrusted data that is also included with the trusted data, treating the untrusted data as if it were trusted.
Entry at MITRE CWE-349
Public exploit references
Publicly reported proof-of-concepts, exploit modules and detection templates for this vulnerability. NEOSEC links to the original sources only and does not provide any exploit code.
| Reference tagged as exploit | bugzilla.suse.com (opens in a new tab) | PoC (publicly reported)reported, not verified | — |
References & sources
- bugzilla.suse.comshow_bug.cgi?id=1172698x_refsource_CONFIRM, Exploit, Issue tracking, Vendor advisory
Embed badge
Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.
<a href="https://intel.neosec.eu/en/cve/CVE-2020-8023"><img src="https://intel.neosec.eu/badge/cve/CVE-2020-8023.svg?lang=en" alt="CVE-2020-8023 – NEOSEC Intel" height="20"></a>