CVE-2021-32746: Possible path traversal by use of the `doc` module
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
alpine/icingaweb2to a version that resolves this vulnerability.Fixed in 2.9.0-r0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.9.0 - Configuration
Disable the doc module or revoke permission to use it from all users.
Icinga Web 2 doc module doc module availability/access permission = disabled or revoked for all users
Event History
Frequently Asked Questions
What is CVE-2021-32746?
CVE-2021-32746 is a vulnerability in Icinga Web 2, an open source monitoring web interface framework and command-line interface.
What is the severity of CVE-2021-32746?
The severity of CVE-2021-32746 is medium with a CVSS score of 5.3.
Which versions of Icinga Web 2 are affected by CVE-2021-32746?
Versions 2.3.0 to 2.7.5 and versions 2.8.0 to 2.8.2 of Icinga Web 2 are affected by CVE-2021-32746.
How can I view documentation directly in the UI in Icinga Web 2?
The `doc` module of Icinga Web 2 allows you to view documentation directly in the UI, but it must be enabled manually by an administrator and users need explicit access permission.
How do I fix CVE-2021-32746 in Icinga Web 2?
To fix CVE-2021-32746, you should upgrade to a version beyond 2.7.5 if you are using versions 2.3.0 to 2.7.5, or upgrade to a version beyond 2.8.2 if you are using versions 2.8.0 to 2.8.2.