{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-37899","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2024-06-10T19:54:41.362Z","datePublished":"2024-06-20T22:13:59.450Z","dateUpdated":"2024-08-13T13:51:01.754Z"},"containers":{"cna":{"title":"Disabling a user account changes its author, allowing RCE from user account in XWiki","problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","version":"3.1"}}],"references":[{"name":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-j584-j2vj-3f93","tags":["x_refsource_CONFIRM"],"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-j584-j2vj-3f93"},{"name":"https://github.com/xwiki/xwiki-platform/commit/f89c8f47fad6e5cc7e68c69a7e0acde07f5eed5a","tags":["x_refsource_MISC"],"url":"https://github.com/xwiki/xwiki-platform/commit/f89c8f47fad6e5cc7e68c69a7e0acde07f5eed5a"},{"name":"https://jira.xwiki.org/browse/XWIKI-21611","tags":["x_refsource_MISC"],"url":"https://jira.xwiki.org/browse/XWIKI-21611"}],"affected":[{"vendor":"xwiki","product":"xwiki-platform","versions":[{"version":">= 13.4.7, <= 13.5","status":"affected"},{"version":">= 13.10.3, < 14.10.21","status":"affected"},{"version":">= 15.0-rc-1, < 15.5.5","status":"affected"},{"version":">= 15.6-rc-1, < 15.10.6","status":"affected"},{"version":">= 16.0.0-rc-1, < 16.0.0","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2024-06-20T22:13:59.450Z"},"descriptions":[{"lang":"en","value":"XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. When an admin disables a user account, the user's profile is executed with the admin's rights. This allows a user to place malicious code in the user profile before getting an admin to disable the user account. To reproduce, as a user without script nor programming rights, edit the about section of your user profile and add `{{groovy}}services.logging.getLogger(\"attacker\").error(\"Hello from Groovy!\"){{/groovy}}`.\nAs an admin, go to the user profile and click the \"Disable this account\" button. Then, reload the page. If the logs show `attacker - Hello from Groovy!` then the instance is vulnerable. This has been patched in XWiki 14.10.21, 15.5.5, 15.10.6 and 16.0.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.\n\n### Workarounds\nWe're not aware of any workaround except upgrading.\n\n### References\n* https://jira.xwiki.org/browse/XWIKI-21611\n* https://github.com/xwiki/xwiki-platform/commit/f89c8f47fad6e5cc7e68c69a7e0acde07f5eed5a\n"}],"source":{"advisory":"GHSA-j584-j2vj-3f93","discovery":"UNKNOWN"}},"adp":[{"affected":[{"vendor":"xwiki","product":"xwiki","cpes":["cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"13.4.7","status":"affected","lessThanOrEqual":"13.5","versionType":"custom"},{"version":"13.10.3","status":"affected","lessThanOrEqual":"14.10.21","versionType":"custom"},{"version":"15.0-rc-1","status":"affected","lessThan":"15.5.5","versionType":"custom"},{"version":"15.6-rc-1,","status":"affected","lessThan":"15.10.6","versionType":"custom"},{"version":"16.0.0-rc-1,","status":"affected","lessThan":"16.0.0","versionType":"custom"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-27T18:36:25.554418Z","id":"CVE-2024-37899","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-08-13T13:51:01.754Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T04:04:23.403Z"},"title":"CVE Program Container","references":[{"name":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-j584-j2vj-3f93","tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-j584-j2vj-3f93"},{"name":"https://github.com/xwiki/xwiki-platform/commit/f89c8f47fad6e5cc7e68c69a7e0acde07f5eed5a","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/xwiki/xwiki-platform/commit/f89c8f47fad6e5cc7e68c69a7e0acde07f5eed5a"},{"name":"https://jira.xwiki.org/browse/XWIKI-21611","tags":["x_refsource_MISC","x_transferred"],"url":"https://jira.xwiki.org/browse/XWIKI-21611"}]}]}}