Vulnerabilities · 2012 · Rubyonrails
CVE-2012-6497
Rubyonrails Rails vulnerability
The Authlogic gem for Ruby on Rails, when used with certain versions before 3.2.10, makes potentially unsafe find_by_id method calls, which might allow remote attackers to conduct CVE-2012-6496 SQL injection attacks via a crafted parameter in environments that have a known secret_token value, as demonstrated by a value contained in secret_token.rb in an open-source product.
Affected products
Rails. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Rubyonrails Rails 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
- openwall.com/lists/oss-security/2013/01/03/12 · Third Party Advisory
- www.securityfocus.com/bid/57084 · Third Party Advisory
- blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the · Exploit
- phenoelit.org/blog/archives/2012/12/21/let_me_github_that_for_you/index.html · Exploit
- nvd.nist.gov/vuln/detail/CVE-2012-6497
- cve.org/CVERecord?id=CVE-2012-6497
More vulnerabilities in Rubyonrails products
CVE-2024-53989CVE-2024-53988CVE-2024-53987CVE-2024-53986CVE-2024-53985CVE-2024-32464CVE-2024-28103CVE-2024-26144All 134
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.