CVE-2023-48220: Decidim's devise_invitable gem vulnerable to circumvention of invitation token expiry period
Affected: decidim · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 56% of scored CVEs
DescriptionCVE.org
Decidim is a participatory democracy framework. Starting in version 0.4.rc3 and prior to version 2.0.9 of the `devise_invitable` gem, the invites feature allows users to accept the invitation for an unlimited amount of time through the password reset functionality. This issue creates vulnerable dependencies starting in version 0.0.1.alpha3 and prior to versions 0.26.9, 0.27.5, and 0.28.0 of the `decidim,` `decidim-admin`, and `decidim-system` gems. When using the password reset functionality, the `devise_invitable` gem always accepts the pending invitation if the user has been invited. The only check done is if the user has been invited but the code does not ensure that the pending invitation is still valid as defined by the `invite_for` expiry period. Decidim sets this configuration to `2.weeks` so this configuration should be respected. The bug is in the `devise_invitable` gem and should be fixed there and the dependency should be upgraded in Decidim once the fix becomes available. `devise_invitable` to version `2.0.9` and above fix this issue. Versions 0.26.9, 0.27.5, and 0.28.0 of the `decidim,` `decidim-admin`, and `decidim-system` gems contain this fix. As a workaround, invitations can be cancelled directly from the database.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- decidim · decidim>= 0.0.1.alpha3, < 0.26.9; >= 0.27.0, < 0.27.5; >= 0.4.rc3, < 2.0.9
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- decidim
- Published
- February 2024
CoverageNo articles yet
No CyberSIXT article names CVE-2023-48220 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-672cwe.mitre.org
- github.com/decidim/decidim/security/advisories/GHSA-w3q8-m492-4pgithub.com
- github.com/decidim/decidim/commit/073e60e2e4224dd81815a784002ebbgithub.com
- github.com/decidim/decidim/commit/b12800717a689c295a9ea680a38ca9github.com
- github.com/scambra/devise_invitable/commit/94d859c7de0829bf63f67github.com
- github.com/decidim/decidim/blob/d2d390578050772d1bdb6d731395f1afgithub.com
- github.com/decidim/decidim/releases/tag/v0.26.9github.com
- github.com/decidim/decidim/releases/tag/v0.27.5github.com
- github.com/decidim/decidim/releases/tag/v0.28.0github.com
- github.com/scambra/devise_invitable/blob/41f58970ff76fb64382a9b9github.com