CVE-2023-36465 Decidim has broken access control in templates

Critical 9.1 Published Updated

Logged-in users can improperly access the administration panel to create, modify, or delete survey templates due to missing permission checks.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-36465?

CVE-2023-36465 is a critical missing authorization vulnerability in decidim, published on 6 Oct 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Decidim is a participatory democracy framework, written in Ruby on Rails, originally developed for the Barcelona City government online and offline participation website. The `templates` module doesn't enforce the correct permissions, allowing any logged-in user to access to this functionality in the administration panel. An attacker could use this vulnerability to change, create or delete templates of surveys. This issue has been patched in version 0.26.8 and 0.27.4.

Weakness: CWE-732, CWE-284

Which versions are affected by CVE-2023-36465?

8 open source packages ship an affected version, including decidim and decidim-templates. It affects 1 product.

PackageAffectedFixed in
decidim RubyGemsFrom 0.23.20.26.8
decidim RubyGemsFrom 0.23.20.26.8
decidim RubyGemsFrom 0.27.00.27.4
decidim RubyGemsFrom 0.27.00.27.4
decidim-templates RubyGemsFrom 0.23.20.26.8
decidim-templates RubyGemsFrom 0.23.20.26.8
2 more packages
decidim-templates RubyGemsFrom 0.27.00.27.4
decidim-templates RubyGemsFrom 0.27.00.27.4

Products include Decidim Decidim.

How do I fix CVE-2023-36465?

Upgrade decidim to a fixed version for your release line: 0.26.8 or 0.27.4.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2023-36465 being exploited?

There is no known exploitation of CVE-2023-36465 in the wild and no public exploit code.

Sources

Also known as GHSA-639h-86hw-qcjq.

Is CVE-2023-36465 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free