Sha256: 38bd79ea35e9dbc4bfe0f60e9eb7839555b3530648c40399b0f426c3a38a0c08

Contents?: true

Size: 1.37 KB

Versions: 23

Compression:

Stored size: 1.37 KB

Contents

module Codesake
	module Dawn
		module Kb
			# Automatically created with rake on 2013-07-12
			class CVE_2012_3424
				include DependencyCheck

				def initialize
          message = "The decode_credentials method in actionpack/lib/action_controller/metal/http_authentication.rb in Ruby on Rails 3.x before 3.0.16, 3.1.x before 3.1.7, and 3.2.x before 3.2.7 converts Digest Authentication strings to symbols, which allows remote attackers to cause a denial of service by leveraging access to an application that uses a with_http_digest helper method, as demonstrated by the authenticate_or_request_with_http_digest method."

           super({
            :name=>"CVE-2012-3424",
            :cvss=>"AV:N/AC:L/Au:N/C:N/I:N/A:P",
            :release_date => Date.new(2012, 8, 8),
            :cwe=>"287",
            :owasp=>"A9", 
            :applies=>["rails"],
            :kind=>Codesake::Dawn::KnowledgeBase::DEPENDENCY_CHECK,
            :message=>message,
            :mitigation=>"Please upgrade rails version at least to 3.0.16, 3.1.7 or 3.2.7. As a general rule, using the latest stable rails version is recommended.",
            :aux_links=>["https://groups.google.com/group/rubyonrails-security/msg/244d32f2fa25147d?hl=en&dmode=source&output=gplain"]
          })

          self.safe_dependencies = [{:name=>"rails", :version=>['3.0.16', '3.1.7', '3.2.7']}]


				end
			end
		end
	end
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
dawnscanner-1.2.99 lib/codesake/dawn/kb/cve_2012_3424.rb
codesake-dawn-1.2.99 lib/codesake/dawn/kb/cve_2012_3424.rb
codesake-dawn-1.2.0 lib/codesake/dawn/kb/cve_2012_3424.rb
codesake-dawn-1.1.3 lib/codesake/dawn/kb/cve_2012_3424.rb
codesake-dawn-1.1.2 lib/codesake/dawn/kb/cve_2012_3424.rb
codesake-dawn-1.1.1 lib/codesake/dawn/kb/cve_2012_3424.rb
codesake-dawn-1.1.0 lib/codesake/dawn/kb/cve_2012_3424.rb
codesake-dawn-1.1.0.rc2 lib/codesake/dawn/kb/cve_2012_3424.rb
codesake-dawn-1.1.0.rc1 lib/codesake/dawn/kb/cve_2012_3424.rb
codesake-dawn-1.0.6 lib/codesake/dawn/kb/cve_2012_3424.rb
codesake-dawn-1.0.5 lib/codesake/dawn/kb/cve_2012_3424.rb
codesake-dawn-1.0.4 lib/codesake/dawn/kb/cve_2012_3424.rb
codesake-dawn-1.0.3 lib/codesake/dawn/kb/cve_2012_3424.rb
codesake-dawn-1.0.2 lib/codesake/dawn/kb/cve_2012_3424.rb
codesake-dawn-1.0.1 lib/codesake/dawn/kb/cve_2012_3424.rb
codesake-dawn-1.0.0 lib/codesake/dawn/kb/cve_2012_3424.rb
codesake-dawn-1.0.0.rc2 lib/codesake/dawn/kb/cve_2012_3424.rb
codesake-dawn-1.0.0.rc1 lib/codesake/dawn/kb/cve_2012_3424.rb
codesake-dawn-0.85 lib/codesake/dawn/kb/cve_2012_3424.rb
codesake-dawn-0.80.0 lib/codesake/dawn/kb/cve_2012_3424.rb