Sha256: e9bdea4bb2e4a38a761a87f3c48a8d77b7b8c868bb2aba593a95099ea2557aa0

Contents?: true

Size: 1.18 KB

Versions: 19

Compression:

Stored size: 1.18 KB

Contents

module Dawn
  module Kb
    # Automatically created with rake on 2013-12-11
    class SimpleForm_Xss_20131129
      include DependencyCheck

      def initialize
        message = "There is a XSS vulnerability on Simple Form's label, hint and error options. When Simple Form creates a label, hint or error message it marks the text as being HTML safe, even though it may contain HTML tags. In applications where the text of these helpers can be provided by the users, malicious values can be provided and Simple Form will mark it as safe."

        super({
          :name=>"Simple Form XSS - 20131129",
          :cvss=>"none",
          :release_date => Date.new(2013, 11, 29),
          :cwe=>"",
          :owasp=>"A9", 
          :applies=>["rails", "padrino", "sinatra"],
          :kind=>Dawn::KnowledgeBase::DEPENDENCY_CHECK,
          :message=>message,
          :mitigation=>"Please upgrade Simple Form the 3.0.1 and 2.1.1 releases are available at the normal locations.",
          :aux_links=>["https://groups.google.com/forum/#!topic/ruby-security-ann/flHbLMb07tE"]
        })

        self.safe_dependencies = [{:name=>"simple_form", :version=>['3.0.1', '2.1.1']}]

      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
dawnscanner-1.6.9 lib/dawn/kb/simpleform_xss_20131129.rb
dawnscanner-1.6.8 lib/dawn/kb/simpleform_xss_20131129.rb
dawnscanner-1.6.7 lib/dawn/kb/simpleform_xss_20131129.rb
dawnscanner-1.6.6 lib/dawn/kb/simpleform_xss_20131129.rb
dawnscanner-1.6.5 lib/dawn/kb/simpleform_xss_20131129.rb
dawnscanner-1.6.4 lib/dawn/kb/simpleform_xss_20131129.rb
dawnscanner-1.6.3 lib/dawn/kb/simpleform_xss_20131129.rb
dawnscanner-1.6.2 lib/dawn/kb/simpleform_xss_20131129.rb
dawnscanner-1.6.1 lib/dawn/kb/simpleform_xss_20131129.rb
dawnscanner-1.6.0 lib/dawn/kb/simpleform_xss_20131129.rb
dawnscanner-1.5.2 lib/dawn/kb/simpleform_xss_20131129.rb
dawnscanner-1.5.1 lib/dawn/kb/simpleform_xss_20131129.rb
dawnscanner-1.5.0 lib/dawn/kb/simpleform_xss_20131129.rb
dawnscanner-1.4.2 lib/dawn/kb/simpleform_xss_20131129.rb
dawnscanner-1.4.1 lib/dawn/kb/simpleform_xss_20131129.rb
dawnscanner-1.4.0 lib/dawn/kb/simpleform_xss_20131129.rb
dawnscanner-1.3.5 lib/dawn/kb/simpleform_xss_20131129.rb
dawnscanner-1.3.1 lib/dawn/kb/simpleform_xss_20131129.rb
dawnscanner-1.3.0 lib/dawn/kb/simpleform_xss_20131129.rb