CVE-2020-14004
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.74%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.74% probability · 53th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-59
- Affected
- icinga/icinga · opensuse/backports sle · opensuse/leap
- Source
- cve@mitre.org
References
- http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00014.htmlBroken Link, Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/06/12/1Exploit, Mailing List, Third Party Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=CVE-2020-14004Broken Link, Issue Tracking
- https://github.com/Icinga/icinga2/compare/v2.12.0-rc1...masterThird Party Advisory
- https://github.com/Icinga/icinga2/pull/8045/commits/2f0f2e8c355b75fa4407d23f85feea037d2bc4b6Patch, Third Party Advisory
- https://github.com/Icinga/icinga2/releasesRelease Notes, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00014.htmlBroken Link, Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/06/12/1Exploit, Mailing List, Third Party Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=CVE-2020-14004Broken Link, Issue Tracking
- https://github.com/Icinga/icinga2/compare/v2.12.0-rc1...masterThird Party Advisory
- https://github.com/Icinga/icinga2/pull/8045/commits/2f0f2e8c355b75fa4407d23f85feea037d2bc4b6Patch, Third Party Advisory
- https://github.com/Icinga/icinga2/releasesRelease Notes, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.