National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2012-6497 Detail

Current Description

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.

Source:  MITRE
View Analysis Description

Impact

CVSS v2.0 Severity and Metrics:

Base Score: 5.0 MEDIUM
Vector: (AV:N/AC:L/Au:N/C:P/I:N/A:N) (V2 legend)
Impact Subscore: 2.9
Exploitability Subscore: 10.0


Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (AU): None
Confidentiality (C): Partial
Integrity (I): None
Availability (A): None
Additional Information:
Allows unauthorized disclosure of information

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the-facts/ Exploit
http://openwall.com/lists/oss-security/2013/01/03/12
http://phenoelit.org/blog/archives/2012/12/21/let_me_github_that_for_you/index.html Exploit
http://www.securityfocus.com/bid/57084

Technical Details

Vulnerability Type (View All)

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:rubyonrails:rails:0.9.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:0.9.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:0.9.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:0.9.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:0.9.4.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:0.10.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:0.10.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:0.11.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:0.11.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:0.12.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:0.12.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:0.13.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:0.13.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:0.14.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:0.14.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:0.14.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:0.14.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:1.0.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:1.1.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:1.1.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:1.1.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:1.1.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:1.1.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:1.1.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:1.1.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:1.2.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:1.2.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:1.2.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:1.2.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:1.2.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:1.2.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:1.2.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:1.9.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.0.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.0.0:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.0.0:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.0.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.0.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.0.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.1.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.1.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.1.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.1.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.2.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.2.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.2.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.3.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.3.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.3.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.3.9:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.3.10:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.3.11:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:2.3.12:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.0:beta:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.0:beta2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.0:beta3:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.0:beta4:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.0:rc:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.0:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.1:pre:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.2:pre:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.4:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.4:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.5:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.6:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.6:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.7:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.7:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.7:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.8:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.8:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.8:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.8:rc3:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.8:rc4:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.9:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.9:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.9:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.9:rc3:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.9:rc4:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.9:rc5:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.10:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.10:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.11:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.12:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.12:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.13:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.13:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.14:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.16:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.0.17:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.0:beta1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.0:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.0:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubyonrails:rails:3.1.0:rc3:*:*:*:*:*:*
     Show Matching CPE(s)

Showing 100 of 148 CPEs, view all CPEs here.

Change History

138 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2012-6497
NVD Published Date:
01/03/2013
NVD Last Modified:
08/08/2019