CVE-2020-14004
What it is
An issue was discovered in Icinga2 before v2.12.0-rc1. The prepare-dirs script (run as part of the icinga2 systemd service) executes chmod 2750 /run/icinga2/cmd. /run/icinga2 is under control of an unprivileged user by default. If /run/icinga2/cmd is a symlink, then it will by followed and arbitrary files can be changed to mode 2750 by the unprivileged icinga2 user.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.7% in the next 30 days (EPSS).
- Severity: 7.8 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.7% · EPSS, next 30 days
- Weakness
- CWE-59
- Record status
- Modified
Affected
- Icinga ≤ 2.11.3
- Icinga 2.12.0
- Opensuse Backports Sle 15.0
- Opensuse Leap 15.1
- Opensuse Leap 15.2
Attack profile CVSS 3.1 · 7.8
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2020-14004.md and follow it. Check whether this project is affected by CVE-2020-14004. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/Icinga/icinga2/pull/8045/commits/2f0f2e8c355b75fa4407d23f85feea037d2bc4b6
- https://github.com/Icinga/icinga2/pull/8045/commits/2f0f2e8c355b75fa4407d23f85feea037d2bc4b6
References
- http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00014.html
- http://www.openwall.com/lists/oss-security/2020/06/12/1
- https://bugzilla.suse.com/show_bug.cgi?id=CVE-2020-14004
- https://github.com/Icinga/icinga2/compare/v2.12.0-rc1...master
- https://github.com/Icinga/icinga2/pull/8045/commits/2f0f2e8c355b75fa4407d23f85feea037d2bc4b6
- https://github.com/Icinga/icinga2/releases
- http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00014.html
- http://www.openwall.com/lists/oss-security/2020/06/12/1
- https://bugzilla.suse.com/show_bug.cgi?id=CVE-2020-14004
- https://github.com/Icinga/icinga2/compare/v2.12.0-rc1...master
- https://github.com/Icinga/icinga2/pull/8045/commits/2f0f2e8c355b75fa4407d23f85feea037d2bc4b6
- https://github.com/Icinga/icinga2/releases