CVE-2013-0233
Plataformatec Devise vulnerability
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.
Affected products
Devise, Opensuse. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Plataformatec Devise runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- blog.plataformatec.com.br/2013/01/security-announcement-devise-v2-2-3-v2-1-3-v2-0-5-and-v1 · Vendor Advisory
- www.metasploit.com/modules/auxiliary/admin/http/rails_devise_pass_reset · Exploit
- www.phenoelit.org/blog/archives/2013/02/05/mysql_madness_and_rails/index.html · Exploit
- lists.opensuse.org/opensuse-updates/2013-03/msg00000.html
- www.openwall.com/lists/oss-security/2013/01/29/3
- www.securityfocus.com/bid/57577
- github.com/Snorby/snorby/issues/261
- nvd.nist.gov/vuln/detail/CVE-2013-0233
- cve.org/CVERecord?id=CVE-2013-0233
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.