GHSA-rx7j-mw4c-76g9

Suggest an improvement
Source
https://github.com/advisories/GHSA-rx7j-mw4c-76g9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-rx7j-mw4c-76g9/GHSA-rx7j-mw4c-76g9.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rx7j-mw4c-76g9
Aliases
Published
2022-05-14T00:54:20Z
Modified
2024-12-05T06:06:38.300231Z
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.

Database specific
{
    "nvd_published_at": "2013-01-04T04:46:00Z",
    "cwe_ids": [
        "CWE-200"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-01-26T23:55:17Z"
}
References

Affected packages

RubyGems / authlogic

Package

Name
authlogic
Purl
pkg:gem/authlogic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.3.0

Affected versions

0.*

0.10.4

1.*

1.0.0
1.1.0
1.1.1
1.1.2
1.2.0
1.2.1
1.2.2
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.2
1.4.3

2.*

2.0.0
2.0.1
2.0.2
2.0.3
2.0.4
2.0.5
2.0.6
2.0.7
2.0.8
2.0.9
2.0.11
2.0.12
2.0.13
2.0.14
2.1.0
2.1.1
2.1.2
2.1.3
2.1.4
2.1.5
2.1.6
2.1.7
2.1.8
2.1.10
2.1.11

3.*

3.0.0
3.0.1
3.0.2
3.0.3
3.1.0
3.1.1
3.1.2
3.1.3
3.2.0