Skip to content
This repository has been archived by the owner on Jan 5, 2019. It is now read-only.

Owasp Ror CheatSheet: Security Related Headers check failed #121

Closed
pgwillia opened this issue Mar 2, 2015 · 2 comments
Closed

Owasp Ror CheatSheet: Security Related Headers check failed #121

pgwillia opened this issue Mar 2, 2015 · 2 comments

Comments

@pgwillia
Copy link
Member

pgwillia commented Mar 2, 2015

gem install dawnscanner

[root@hydranorth hydranorth]# dawn .
16:25:38 [!] dawn: Owasp Ror CheatSheet: Security Related Headers check failed
16:25:38 [$] dawn: Severity: info
16:25:38 [$] dawn: Priority: unknown
16:25:38 [$] dawn: Description: To set a header value, simply access the response.headers object as a hash inside your controller (often in a before/after_filter). Rails 4 provides the "default_headers" functionality that will automatically apply the values supplied. This works for most headers in almost all cases.
16:25:38 [$] dawn: Solution: Use response headers like X-Frame-Options, X-Content-Type-Options, X-XSS-Protection in your project.
16:25:38 [$] dawn: Evidence:
16:25:38 [$] dawn: {:filename=>"./spec/controllers/users_spec.rb", :matches=>[]}
16:25:38 [$] dawn: {:filename=>"./spec/controllers/users_controller_spec.rb", :matches=>[]}
16:25:38 [$] dawn: {:filename=>"./app/controllers/application_controller.rb", :matches=>[]}
16:25:38 [$] dawn: {:filename=>"./app/controllers/catalog_controller.rb", :matches=>[]}
16:25:38 [$] dawn: {:filename=>"./app/controllers/users_controller.rb", :matches=>[]}
16:25:38 [$] dawn: {:filename=>"./app/controllers/generic_files_controller.rb", :matches=>[]}

@criedlberger
Copy link
Contributor

It seems that this is a known bug for dawnscanner, see thesp0nge/dawnscanner#38

@pgwillia
Copy link
Member Author

not an issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants