CVE-2013-4562: Omniauth facebook Omniauth-facebook Cross-Site Request Forgery Vulnerability Vulnerability
MODERATECVE-2013-4562 is a MODERATE omniauth-facebook cross-site request forgery vulnerability vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting Omniauth facebook libraries in the RubyGems ecosystem. The issue involves omniauth-facebook cross-site request forgery vulnerability. Remediation is available by upgrading affected packages to version 1.5.0.
CVE-2013-4562 at a Glance
How to Fix CVE-2013-4562
To remediate this vulnerability, upgrade all affected Omniauth facebook 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 omniauth-facebook to 1.5.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for omniauth-facebook
How to Check if You Are Affected
To determine whether your application is affected by CVE-2013-4562, inspect your project dependencies for Omniauth facebook:
inspect dependencies for omniauth-facebook
Analyze the terminal output to locate any version of Omniauth facebook in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.5.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-352: Cross-Site Request Forgery (CSRF), where the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. In Omniauth facebook, 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-2013-4562 Affected Omniauth facebook Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
omniauth-facebook
|
RubyGems |
≥ 1.4.1
< 1.5.0
|
1.5.0
|
References
Frequently Asked Questions
What is CVE-2013-4562?
Which Omniauth facebook versions are affected?
What version fixes CVE-2013-4562?
Is omniauth-facebook affected?
What CWE is associated with CVE-2013-4562?
How can I check RubyGems dependencies for CVE-2013-4562?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cf36-985g-v73c",
"modified" : "2023-01-23T21:12:18Z",
"published" : "2017-10-24T18:33:37Z",
"aliases" : [ "CVE-2013-4562" ],
"summary" : "omniauth-facebook Cross-Site Request Forgery vulnerability",
"details" : "The omniauth-facebook gem 1.4.1 before 1.5.0 does not properly store the session parameter, which allows remote attackers to conduct cross-site request forgery (CSRF) attacks via the state parameter.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "omniauth-facebook"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.4.1"
}, {
"fixed" : "1.5.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-4562"
}, {
"type" : "WEB",
"url" : "https://github.com/mkdynamic/omniauth-facebook/commit/ccfcc26fe7e34acbd75ad4a095fd01ce5ff48ee7"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/mkdynamic/omniauth-faceboo"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/d/msg/ruby-security-ann/-tJHNlTiPh4/9SJxdEWLIawJ"
}, {
"type" : "WEB",
"url" : "http://seclists.org/oss-sec/2013/q4/264"
}, {
"type" : "WEB",
"url" : "http://seclists.org/oss-sec/2013/q4/267"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-352" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:31:10Z",
"nvd_published_at" : "2014-05-13T15:55:04Z"
}
}