PT-2013-1961 · Ruby On Rails · Authlogic
Published
2013-01-04
·
Updated
2023-05-19
·
CVE-2012-6497
CVSS v2.0
5.0
Medium
| Vector | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Authlogic gem for Ruby on Rails versions prior to 3.3.0
Description
The issue allows remote attackers to conduct SQL injection attacks via a crafted parameter in environments with a known
secret token value. This is demonstrated by a value contained in secret token.rb in an open-source product. The find by id method calls are potentially unsafe.Recommendations
For versions prior to 3.3.0, update to version 3.3.0 or later to resolve the issue. As a temporary workaround, consider restricting access to the
find by id method to minimize the risk of exploitation. Avoid using crafted parameters in environments with a known secret token value until the issue is resolved.Exploit
Fix
Information Disclosure
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Authlogic