{"id":"CVE-2024-36113","published":"2024-07-03T19:07:27Z","modified":"2024-08-02T03:30:13Z","title":"Discourse missing authorization checks for suspending admins/moderators","vendor":"discourse","product":"discourse","tier":"tail","description":{"text":"Discourse is an open-source discussion platform. Prior to version 3.2.3 on the `stable` branch, version 3.3.0.beta3 on the `beta` branch, and version 3.3.0.beta4-dev on the `tests-passed` branch, a rogue staff user could suspend other staff users preventing them from logging in to the site. The issue is patched in version 3.2.3 on the `stable` branch, version 3.3.0.beta3 on the `beta` branch, and version 3.3.0.beta4-dev on the `tests-passed` branch. No known workarounds are available.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00418,"percentile":0.36967,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-3w3f-76p7-3c4g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/discourse/discourse/commit/8470546f59b04bd82ce9b711406758fd5439936d","tags":["x_refsource_MISC"]},{"url":"https://github.com/discourse/discourse/commit/9c4a5f39d3ad351410a1453ff5e5f7ffce17cd7e","tags":["x_refsource_MISC"]}],"priority":{"score":10.8,"factors":[{"name":"EPSS percentile","points":7.39},{"name":"CVSS severity","points":3.43}]},"vendorSlug":"discourse","affectedVersions":[{"vendor":"discourse","product":"discourse","versions":["stable < 3.2.3","tests-passed < 3.3.0.beta4-dev","beta < 3.3.0.beta3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-05T20:03:09.788623Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-35887","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-discourse-cve-2024-27100","parents":[{"from":"CVE-2024-27100","to":"CVE-2024-36113","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["app/controllers/admin/users_controller.rb"],"commits":["https://github.com/discourse/discourse/commit/8cade1e825e90a66f440e820992d43c6905f4b47","https://github.com/discourse/discourse/commit/8470546f59b04bd82ce9b711406758fd5439936d","https://github.com/discourse/discourse/commit/9c4a5f39d3ad351410a1453ff5e5f7ffce17cd7e"],"basis":"shared function","functions":["deactivate","silence","suspend"]}]}]}}