Skip to content
OpenAdvisories
Medium CVE-2012-6497 EUVD-2022-5249GHSA-rx7j-mw4c-76g9

Authlogic Information Exposure vulnerability

Published Jan 4, 2013 · Updated Aug 6, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rails 2.3.14.1 —
Debian 13 rails 2.3.14.1 —
Debian 12 rails 2.3.14.1 —
Debian 6.0 rails 2.3.5-1.2+squeeze4 DSA-2597-1

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems authlogic < 3.3.0 3.3.0 GHSA-rx7j-mw4c-76g9

Advisories 1

References