Vulnerability · Published Jul 12, 2021 · Assigned by GitHub_M
CVE-2021-32746Possible path traversal by use of the `doc` module
Medium 5.3
In plain English
A medium-severity path traversal in icingaweb2 from Icinga. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Icinga Web 2 is an open source monitoring web interface, framework and command-line interface. Between versions 2.3.0 and 2.8.2, the `doc` module of Icinga Web 2 allows to view documentation directly in the UI. It must be enabled manually by an administrator and users need explicit access permission to use it. Then, by visiting a certain route, it is possible to gain access to arbitrary files readable by the web-server user. The issue has been fixed in the 2.9.0, 2.8.3, and 2.7.5 releases. As a workaround, an administrator may disable the `doc` module or revoke permission to use it from all users.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | icingaweb2 | 2.9.0-r0 | ALPINE-CVE-2021-32746 |
| Alpine:v3.21 | icingaweb2 | 2.9.0-r0 | ALPINE-CVE-2021-32746 |
| Alpine:v3.22 | icingaweb2 | 2.9.0-r0 | ALPINE-CVE-2021-32746 |
| Alpine:v3.23 | icingaweb2 | 2.9.0-r0 | ALPINE-CVE-2021-32746 |
| Alpine:v3.24 | icingaweb2 | 2.9.0-r0 | ALPINE-CVE-2021-32746 |
| Debian:12 | icingaweb2 | 2.8.4-1 | DEBIAN-CVE-2021-32746 |
| Debian:13 | icingaweb2 | 2.8.4-1 | DEBIAN-CVE-2021-32746 |
| Debian:14 | icingaweb2 | 2.8.4-1 | DEBIAN-CVE-2021-32746 |
| Ubuntu:22.04:LTS | icingaweb2 | no fix listed | UBUNTU-CVE-2021-32746 |
| Ubuntu:24.04:LTS | icingaweb2 | no fix listed | UBUNTU-CVE-2021-32746 |
| Ubuntu:25.10 | icingaweb2 | no fix listed | UBUNTU-CVE-2021-32746 |
| Ubuntu:26.04:LTS | icingaweb2 | no fix listed | UBUNTU-CVE-2021-32746 |
| Ubuntu:26.10 | icingaweb2 | no fix listed | UBUNTU-CVE-2021-32746 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Icinga | icingaweb2 | >= 2.3.0, <= 2.8.2 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/Icinga/icingaweb2/security/advisories/GHSA-cmgc-h4cx-3v43 x_refsource_CONFIRM
- https://github.com/Icinga/icingaweb2/releases/tag/v2.7.5 x_refsource_MISC
- https://github.com/Icinga/icingaweb2/releases/tag/v2.8.3 x_refsource_MISC
- https://github.com/Icinga/icingaweb2/releases/tag/v2.9.0 x_refsource_MISC