Sha256: b849b2620b649b28861e8bf0403768190169046d76789e663799f7ef0d6c38dd
Contents?: true
Size: 695 Bytes
Versions: 10
Compression:
Stored size: 695 Bytes
Contents
require 'brakeman/checks/base_check' #Warn about response splitting in Rails versions before 2.3.13 #http://groups.google.com/group/rubyonrails-security/browse_thread/thread/6ffc93bde0298768 class Brakeman::CheckResponseSplitting < Brakeman::BaseCheck Brakeman::Checks.add self @description = "Report response splitting in Rails 2.3.0 - 2.3.13" def run_check if version_between?('2.3.0', '2.3.13') warn :warning_type => "Response Splitting", :message => "Versions before 2.3.14 have a vulnerability content type handling allowing injection of headers: CVE-2011-3186", :confidence => CONFIDENCE[:med], :file => gemfile_or_environment end end end
Version data entries
10 entries across 10 versions & 1 rubygems