5.7

CVE-2023-47635

Decidim vulnerable to possible CSRF attack at questionnaire templates preview

Decidim is a participatory democracy framework. Starting in version 0.23.0 and prior to versions 0.27.5 and 0.28.0, the CSRF authenticity token check is disabled for the questionnaire templates preview. The issue does not imply a serious security thread as you need to have access also to the session cookie in order to see this resource. This URL does not allow modifying the resource but it may allow attackers to gain access to information which was not meant to be public. The issue is fixed in version 0.27.5 and 0.28.0. As a workaround, disable the templates functionality or remove all available templates.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
DecidimDecidim SwPlatformruby Version >= 0.23.0 < 0.27.5
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.31% 0.228
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 5.7 2.1 3.6
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
security-advisories@github.com 4.5 0.9 3.6
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
CWE-352 Cross-Site Request Forgery (CSRF)

The web application does not, or can not, sufficiently verify whether a well-formed, valid, consistent request was intentionally provided by the user who submitted the request.

CWE-918 Server-Side Request Forgery (SSRF)

The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.

https://github.com/decidim/decidim/blob/3187bdfd40ea1c57c2c12512b09a7fec0b2bed08/decidim-templates/app/controllers/decidim/templates/admin/questionnaire_templates_controller.rb#L11
Product
https://github.com/decidim/decidim/commit/5542227be66e3b6d7530f5b536069bce09376660
Patch
https://github.com/decidim/decidim/commit/57a4b467787448307b5d9b01ce6e2c8502e121ac
Patch
https://github.com/decidim/decidim/pull/11743
Issue Tracking
https://github.com/decidim/decidim/pull/6247
Issue Tracking
https://github.com/decidim/decidim/releases/tag/v0.27.5
Release Notes
https://github.com/decidim/decidim/releases/tag/v0.28.0
Release Notes
https://github.com/decidim/decidim/security/advisories/GHSA-f3qm-vfc3-jg6v
Patch
Vendor Advisory