CVE-2012-6497: Authlogic Authlogic Information Exposure Vulnerability Vulnerability
MODERATECVE-2012-6497 is a MODERATE authlogic information exposure vulnerability vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Authlogic libraries in the RubyGems ecosystem. The issue involves authlogic information exposure vulnerability. Remediation is available by upgrading affected packages to version 3.3.0.
CVE-2012-6497 at a Glance
How to Fix CVE-2012-6497
To remediate this vulnerability, upgrade all affected Authlogic dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade authlogic to 3.3.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for authlogic
How to Check if You Are Affected
To determine whether your application is affected by CVE-2012-6497, inspect your project dependencies for Authlogic:
inspect dependencies for authlogic
Analyze the terminal output to locate any version of Authlogic in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.3.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Authlogic, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2012-6497 Affected Authlogic Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
authlogic
|
RubyGems |
< 3.3.0
|
3.3.0
|
References
Frequently Asked Questions
What is CVE-2012-6497?
Which Authlogic versions are affected?
What version fixes CVE-2012-6497?
Is authlogic affected?
What CWE is associated with CVE-2012-6497?
How can I check RubyGems dependencies for CVE-2012-6497?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rx7j-mw4c-76g9",
"modified" : "2023-01-26T23:55:17Z",
"published" : "2022-05-14T00:54:20Z",
"aliases" : [ "CVE-2012-6497" ],
"summary" : "Authlogic Information Exposure vulnerability",
"details" : "The Authlogic gem for Ruby on Rails prior to version 3.3.0 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.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "authlogic"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.3.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-6497"
}, {
"type" : "WEB",
"url" : "https://github.com/binarylogic/authlogic/pull/341"
}, {
"type" : "WEB",
"url" : "https://github.com/binarylogic/authlogic/commit/1d57a6c4abe43a3c0b4ef578486ea00e1f7a9873"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/binarylogic/authlogic"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20130104161608/http://www.securityfocus.com/bid/57084"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20130116043311/http://phenoelit.org/blog/archives/2012/12/21/let_me_github_that_for_you/index.html"
}, {
"type" : "WEB",
"url" : "http://blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the-facts"
}, {
"type" : "WEB",
"url" : "http://openwall.com/lists/oss-security/2013/01/03/12"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-01-26T23:55:17Z",
"nvd_published_at" : "2013-01-04T04:46:00Z"
}
}