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.
{
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:opensuse:backports_sle:15.0:sp1:*:*:*:*:*:*",
"cpe:2.3:a:opensuse:backports_sle:15.0:sp2:*:*:*:*:*:*"
],
"extracted_events": [
{
"introduced": "15.0-sp1"
},
{
"last_affected": "15.0-sp1"
},
{
"introduced": "15.0-sp2"
},
{
"last_affected": "15.0-sp2"
}
],
"vendor_product": "opensuse:backports_sle",
"source": "CPE_STRING"
},
{
"cpes": [
"cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*",
"cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:*"
],
"extracted_events": [
{
"introduced": "15.1"
},
{
"last_affected": "15.1"
},
{
"introduced": "15.2"
},
{
"last_affected": "15.2"
}
],
"vendor_product": "opensuse:leap",
"source": "CPE_STRING"
}
]
}{
"cpe": [
"cpe:2.3:a:icinga:icinga:*:*:*:*:*:*:*:*",
"cpe:2.3:a:icinga:icinga:2.12.0:rc1:*:*:*:*:*:*"
],
"extracted_events": [
{
"introduced": "2.0.0"
},
{
"last_affected": "2.11.3"
},
{
"introduced": "2.12.0-rc1"
},
{
"last_affected": "2.12.0-rc1"
}
],
"source": [
"CPE_RANGE",
"CPE_STRING"
]
}