{"id":"CVE-2021-32746","state":"PUBLISHED","title":"Possible path traversal by use of the `doc` module","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.","publishedAt":"2021-07-12T22:25:11.000Z","updatedAt":"2024-08-03T23:33:54.900Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["Icinga icingaweb2"],"affected":[{"vendor":"Icinga","product":"icingaweb2","versions":[{"version":">= 2.3.0, <= 2.8.2","status":"affected"}]}],"references":["https://github.com/Icinga/icingaweb2/security/advisories/GHSA-cmgc-h4cx-3v43","https://github.com/Icinga/icingaweb2/releases/tag/v2.7.5","https://github.com/Icinga/icingaweb2/releases/tag/v2.8.3","https://github.com/Icinga/icingaweb2/releases/tag/v2.9.0"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T19:48:33.225Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/32xxx/CVE-2021-32746.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-32746","state":"PUBLISHED","datePublished":"2021-07-12T22:25:11.000Z","dateUpdated":"2024-08-03T23:33:54.900Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2021-05-12T00:00:00.000Z"},"containers":{"cna":{"title":"Possible path traversal by use of the `doc` module","descriptions":[{"lang":"en","value":"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":[{"vendor":"Icinga","product":"icingaweb2","versions":[{"version":">= 2.3.0, <= 2.8.2","status":"affected"}]}],"references":[{"url":"https://github.com/Icinga/icingaweb2/security/advisories/GHSA-cmgc-h4cx-3v43","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Icinga/icingaweb2/releases/tag/v2.7.5","tags":["x_refsource_MISC"]},{"url":"https://github.com/Icinga/icingaweb2/releases/tag/v2.8.3","tags":["x_refsource_MISC"]},{"url":"https://github.com/Icinga/icingaweb2/releases/tag/v2.9.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2021-07-12T22:25:11.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-cmgc-h4cx-3v43","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-32746","STATE":"PUBLIC","TITLE":"Possible path traversal by use of the `doc` module"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"icingaweb2","version":{"version_data":[{"version_value":">= 2.3.0, <= 2.8.2"}]}}]},"vendor_name":"Icinga"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"}]}]},"references":{"reference_data":[{"name":"https://github.com/Icinga/icingaweb2/security/advisories/GHSA-cmgc-h4cx-3v43","refsource":"CONFIRM","url":"https://github.com/Icinga/icingaweb2/security/advisories/GHSA-cmgc-h4cx-3v43"},{"name":"https://github.com/Icinga/icingaweb2/releases/tag/v2.7.5","refsource":"MISC","url":"https://github.com/Icinga/icingaweb2/releases/tag/v2.7.5"},{"name":"https://github.com/Icinga/icingaweb2/releases/tag/v2.8.3","refsource":"MISC","url":"https://github.com/Icinga/icingaweb2/releases/tag/v2.8.3"},{"name":"https://github.com/Icinga/icingaweb2/releases/tag/v2.9.0","refsource":"MISC","url":"https://github.com/Icinga/icingaweb2/releases/tag/v2.9.0"}]},"source":{"advisory":"GHSA-cmgc-h4cx-3v43","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/Icinga/icingaweb2/security/advisories/GHSA-cmgc-h4cx-3v43","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/Icinga/icingaweb2/releases/tag/v2.7.5","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/Icinga/icingaweb2/releases/tag/v2.8.3","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/Icinga/icingaweb2/releases/tag/v2.9.0","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T23:33:54.900Z"}}]}}}