CVE-2013-0233

medium
Published 2013-01-28 ยท Modified 2024-12-03
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
7.8

Description

Devise gem 2.2.x before 2.2.3, 2.1.x before 2.1.3, 2.0.x before 2.0.5, and 1.5.x before 1.5.4 for Ruby, when using certain databases, does not properly perform type conversion when performing database queries, which might allow remote attackers to cause incorrect results to be returned and bypass security checks via unknown vectors, as demonstrated by resetting passwords of arbitrary accounts.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Metasploit modules

Ruby on Rails Devise Authentication Password Reset
Source fetch failed: fetch_error โ€” view the original via the link above.

OS impact

OSVersionStatusFixed in
suse suse12.2affected
debian debianbookwormfixed3.4.1-1
debian debianbullseyefixed3.4.1-1

Package impact

EcosystemPackageVulnerableFixed
ruby RubyGemsdevise<~> 1.5.4~> 1.5.4
ruby RubyGemsdevise>=2.2.0,<2.2.32.2.3
ruby RubyGemsdevise>=2.1.0,<2.1.32.1.3
ruby RubyGemsdevise>=2.0.0,<2.0.52.0.5
ruby RubyGemsdevise>=1.5.0,<1.5.41.5.4

Application impact

VendorProductVersionsFixed
plataformatecdevise1.5.0
plataformatecdevise1.5.1
plataformatecdevise1.5.2
plataformatecdevise1.5.3
plataformatecdevise2.0.0
plataformatecdevise2.0.1
plataformatecdevise2.0.2
plataformatecdevise2.0.3
plataformatecdevise2.0.4
plataformatecdevise2.1.0
plataformatecdevise2.1.1
plataformatecdevise2.1.2
plataformatecdevise2.2.0
plataformatecdevise2.2.1
plataformatecdevise2.2.2
ruby ruby-langruby

References

CWEs

CWE-399

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.