Class: Dawn::Kb::SimpleForm_Xss_20131129
- Inherits:
-
Object
- Object
- Dawn::Kb::SimpleForm_Xss_20131129
- Includes:
- DependencyCheck
- Defined in:
- lib/dawn/kb/simpleform_xss_20131129.rb
Overview
Automatically created with rake on 2013-12-11
Constant Summary
Constants included from BasicCheck
Instance Attribute Summary
Attributes included from DependencyCheck
#aux_mitigation_gem, #dependencies, #not_affected, #safe_dependencies, #save_major, #save_minor
Attributes included from BasicCheck
#applies, #aux_links, #check_family, #cve, #cvss, #cwe, #debug, #evidences, #fixes_version, #kind, #message, #mitigated, #name, #osvdb, #owasp, #priority, #release_date, #remediation, #ruby_version, #ruby_vulnerable_versions, #severity, #status, #target_version, #title
Instance Method Summary collapse
-
#initialize ⇒ SimpleForm_Xss_20131129
constructor
A new instance of SimpleForm_Xss_20131129.
Methods included from DependencyCheck
Methods included from BasicCheck
#applies_to?, #cve_link, #cvss_score, families, #family, #family=, #lint, #mitigated?, #nvd_link, #osvdb_link, #rubysec_advisories_link
Methods included from Utils
#__debug_me_and_return, #debug_me, #debug_me_and_return_false, #debug_me_and_return_true
Constructor Details
#initialize ⇒ SimpleForm_Xss_20131129
Returns a new instance of SimpleForm_Xss_20131129.
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/dawn/kb/simpleform_xss_20131129.rb', line 7 def initialize = "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=>, :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 |