{"id":"GHSA-gpq5-7p34-vqx5","summary":"XWiki Platform's async and display macro allow displaying and interacting with any document in restricted mode","details":"### Impact\n\nIt's possible to display any page you cannot access through the combination of the async and display macro. \n\nSteps to reproduce:\n\n1. Enable comments for guests by giving guests comment rights\n2. As a guest, create a comment with content ```{{async}}{{display reference=\"Menu.WebHome\" /}}{{/async}}```\n3. Open the comments viewer from the menu (appends ?viewer=comments to the URL)\n\n-\u003e the `Menu.WebHome` is displayed while the expectation would be to have an error that the current user is not allowed to see it\n\n### Patches\n\nThe vulnerability has been patched in XWiki 15.0-rc-1, 14.10.3, 14.4.8, and 13.10.11.\n\n### Workarounds\n\nThere is no known workaround.\n\n### References\n\nhttps://jira.xwiki.org/browse/XWIKI-20394\nhttps://jira.xwiki.org/browse/XRENDERING-694\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open an issue in [Jira XWiki.org](https://jira.xwiki.org/)\n* Email us at [Security Mailing List](mailto:security@xwiki.org)","aliases":["CVE-2023-29526"],"modified":"2023-11-08T04:12:20.508373Z","published":"2023-04-20T22:24:46Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2023-04-20T22:24:46Z","nvd_published_at":"2023-04-19T00:15:09Z","cwe_ids":["CWE-284","CWE-74"]},"references":[{"type":"WEB","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-gpq5-7p34-vqx5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-29526"},{"type":"PACKAGE","url":"https://github.com/xwiki/xwiki-platform"},{"type":"WEB","url":"https://jira.xwiki.org/browse/XRENDERING-694"},{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-20394"}],"affected":[{"package":{"name":"org.xwiki.platform:xwiki-platform-oldcore","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.11.1"},{"fixed":"13.10.11"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-gpq5-7p34-vqx5/GHSA-gpq5-7p34-vqx5.json"}},{"package":{"name":"org.xwiki.platform:xwiki-platform-oldcore","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0-rc-1"},{"fixed":"14.4.8"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-gpq5-7p34-vqx5/GHSA-gpq5-7p34-vqx5.json"}},{"package":{"name":"org.xwiki.platform:xwiki-platform-oldcore","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.5"},{"fixed":"14.10.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-gpq5-7p34-vqx5/GHSA-gpq5-7p34-vqx5.json"}},{"package":{"name":"org.xwiki.platform:xwiki-platform-rendering-async-macro","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rendering-async-macro"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.11.1"},{"fixed":"13.10.11"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-gpq5-7p34-vqx5/GHSA-gpq5-7p34-vqx5.json"}},{"package":{"name":"org.xwiki.platform:xwiki-platform-rendering-async-macro","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rendering-async-macro"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0-rc-1"},{"fixed":"14.4.8"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-gpq5-7p34-vqx5/GHSA-gpq5-7p34-vqx5.json"}},{"package":{"name":"org.xwiki.platform:xwiki-platform-rendering-async-macro","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rendering-async-macro"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.5"},{"fixed":"14.10.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-gpq5-7p34-vqx5/GHSA-gpq5-7p34-vqx5.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}