Sha256: 218e0072ac6500d9de64d0752feffecc00eb68262ca5c0118f0a26f53beb67bf

Contents?: true

Size: 1.03 KB

Versions: 3

Compression:

Stored size: 1.03 KB

Contents

module Codesake
	module Dawn
		module Kb
			# Automatically created with rake on 2014-05-12
			class CVE_2013_2105
				include DependencyCheck

				def initialize
          message = "The Show In Browser (show_in_browser) gem 0.0.3 for Ruby allows local users to inject arbitrary web script or HTML via a symlink attack on /tmp/browser.html."
           super({
            :name=>"CVE-2013-2105",
            :cvss=>"AV:L/AC:M/AU:N/C:N/I:P/A:P",
            :release_date => Date.new(2014, 4, 22),
            :cwe=>"59",
            :owasp=>"A9",
            :applies=>["sinatra", "padrino", "rails"],
            :kind=>Codesake::Dawn::KnowledgeBase::DEPENDENCY_CHECK,
            :message=>message,
            :mitigation=>"Please upgrade show_in_browser version at least to 0.0.4. As a general rule, using the latest stable version is recommended.",
            :aux_links=>["http://xforce.iss.net/xforce/xfdb/84378"]
           })
           self.safe_dependencies = [{:name=>"show_in_browser", :version=>['0.0.4']}]

				end
			end
		end
	end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
dawnscanner-1.2.99 lib/codesake/dawn/kb/cve_2013_2105.rb
codesake-dawn-1.2.99 lib/codesake/dawn/kb/cve_2013_2105.rb
codesake-dawn-1.2.0 lib/codesake/dawn/kb/cve_2013_2105.rb