CVE-2017-14159
openldap: Privilege escalation via PID file manipulation
Overview
Description
slapd in OpenLDAP 2.4.45 and earlier creates a PID file after dropping privileges to a non-root account, which might allow local users to kill arbitrary processes by leveraging access to this non-root account for PID file modification before a root script executes a "kill cat /pathname" command, as demonstrated by openldap-initscript.
Source: OX vulnerability database
Severity
4.7 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-665
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 12 fixes
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openldap | 2.4.46-r0 |
| 3.23 | openldap | 2.4.46-r0 |
| 3.24 | openldap | 2.4.46-r0 |
| edge | openldap | 2.4.46-r0 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | openldap | affected |
| 12 | openldap | affected |
| 13 | openldap | affected |
| 14 | openldap | affected |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openldap | 2.5.13+dfsg-5 |
root.io debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-openldap | affected |
| 12 | rootio-openldap | affected |
seal debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openldap +1 | 2.5.13+dfsg-5+sp999 |
References
- www.openldap.org http://www.openldap.org/its/index.cgi?findid=8703
- access.redhat.com https://access.redhat.com/security/cve/CVE-2017-14159
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2017-14159
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2017-14159
- www.oracle.com https://www.oracle.com/security-alerts/cpuapr2022.html
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.