class Dawn::Kb::CVE_2012_6134

Automatically created with rake on 2013-05-31

Public Class Methods

new() click to toggle source
Calls superclass method Dawn::Kb::DependencyCheck::new
# File lib/dawn/kb/cve_2012_6134.rb, line 7
                      def initialize
message="Cross-site request forgery (CSRF) vulnerability in the omniauth-oauth2 gem 1.1.1 and earlier for Ruby allows remote attackers to hijack the authentication of users for requests that modify session state."
super({
  :name=>"CVE-2012-6134",
  :cvss=>"AV:N/AC:M/Au:N/C:P/I:P/A:P",
  :release_date => Date.new(2013, 4, 9),
  :cwe=>"352",
  :owasp=>"A8", 
  :applies=>["rails"],
  :kind=>Dawn::KnowledgeBase::DEPENDENCY_CHECK,
  :message=>message,
  :mitigation=>"At January 2014 there are no further releases of omniauth-oauth2 gem, however the vulnerability it has been fixed in the git repository. As remediation we suggest to ask your Gemfile to fetch the code directly from git@github.com:intridea/omniauth-oauth2.git",
  :aux_links=>["https://github.com/intridea/omniauth-oauth2/pull/25"]
})

self.safe_dependencies = [{:name=>"omniauth-oauth2", :version=>['1.1.2']}]

                      end