Class: Dawn::Kb::CVE_2008_4310

Inherits:
Object
  • Object
show all
Includes:
ComboCheck
Defined in:
lib/dawn/kb/cve_2008_4310.rb

Constant Summary

Constants included from BasicCheck

BasicCheck::ALLOWED_FAMILIES

Instance Attribute Summary

Attributes included from ComboCheck

#checks, #options, #vulnerable_checks

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

Methods included from ComboCheck

#dump_status, find_vulnerable_checks_by_class, #vuln?

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

#initializeCVE_2008_4310

Returns a new instance of CVE_2008_4310.



80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# File 'lib/dawn/kb/cve_2008_4310.rb', line 80

def initialize
  message = "httputils.rb in WEBrick in Ruby 1.8.1 and 1.8.5, as used in Red Hat Enterprise Linux 4 and 5, allows remote attackers to cause a denial of service (CPU consumption) via a crafted HTTP request. NOTE: this issue exists because of an incomplete fix for CVE-2008-3656."

  super({
    :name=>"CVE-2008-4310",
    :cvss=>"AV:N/AC:L/Au:N/C:N/I:N/A:C",
    :release_date => Date.new(2008, 12, 9),
    :cwe=>"399",
    :owasp=>"A9", 
    :applies=>["sinatra", "padrino", "rails"],
    :kind=>Dawn::KnowledgeBase::COMBO_CHECK,
    :message=>message,
    :mitigation=>"Please upgrade your ruby interpreter",
    :aux_links=>["http://secunia.com/advisories/33013"],
    :checks=>[CVE_2008_4310_a.new, CVE_2008_4310_b.new]
  })

end