{"id":"GHSA-2gj2-vj98-j2qq","summary":"Missing Authorization in User#setDisabledStatus in org.xwiki.platform:xwiki-platform-oldcore","details":"### Impact\n\nIt's possible for a user with only Script rights to enable or disable a user: this operation should be only doable for users with admin rights. \n\n### Patches\n\nThis problem has been patched in XWiki 13.10.7, 14.4.2 and 14.5RC1.\n\n### Workarounds\n\nThere is no workaround other than upgrading the wiki, but note that this only impacts users with Script rights: administrator should take care which users have such right. \n\n### References\n\n  * https://jira.xwiki.org/browse/XWIKI-19804\n  * https://github.com/xwiki/xwiki-platform/commit/0b732f2ef0224e2aaf10e2e1ef48dbd3fb6e10cd\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [JIRA](https://jira.xwiki.org)\n* Email us at [security ML](mailto:security@xwiki.org)\n","aliases":["CVE-2022-41929"],"modified":"2023-11-08T04:10:36.120478Z","published":"2022-11-21T22:35:22Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-11-21T22:35:22Z","nvd_published_at":"2022-11-23T19:15:00Z","cwe_ids":["CWE-862"],"severity":"MODERATE"},"references":[{"type":"WEB","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2gj2-vj98-j2qq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41929"},{"type":"WEB","url":"https://github.com/xwiki/xwiki-platform/commit/0b732f2ef0224e2aaf10e2e1ef48dbd3fb6e10cd"},{"type":"PACKAGE","url":"https://github.com/xwiki/xwiki-platform"},{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-19804"}],"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":"11.7RC1"},{"fixed":"13.10.7"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-2gj2-vj98-j2qq/GHSA-2gj2-vj98-j2qq.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.0"},{"fixed":"14.4.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-2gj2-vj98-j2qq/GHSA-2gj2-vj98-j2qq.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N"}]}