1. 26 9月, 2012 1 次提交
  2. 28 7月, 2012 1 次提交
  3. 07 4月, 2012 1 次提交
  4. 16 2月, 2012 1 次提交
    • N
      Catch raw hrefs as bad, warn unless wrapped in a "safe" method · 3dc688ee
      Neil Matatall 提交于
      Add concept of a safe-ening method to mark hrefs as safe
      
      Feature:
      Warn when using unsafe hrefs.  This is a very specific case that as of now produces a ton of noise.  This came out of an xss vuln where the value was escaped but still vulnerable.
      
          link_to 'asdf', h(@scary)
      
      where
      
          @scary = 'javascript:alert(1)'
      
      or
      
          @scary = 'data:  # http://palpapers.plynt.com/issues/2010Oct/bypass-xss-filters/
      
      This branch accomplishes slightly intelligent warnings by adding a new command line option to declare methods that make a string URL safe (unless there is already a standard one out there).  e.g.:
      
          $ brakeman . --url-safe-methods ensure_valid_protocol!
      
          link_to 'asdf', ensure_valid_protocol!(@scary, :javascript)
      3dc688ee
  5. 05 1月, 2012 1 次提交
  6. 23 12月, 2011 1 次提交
  7. 24 11月, 2011 1 次提交
  8. 23 11月, 2011 1 次提交
  9. 15 11月, 2011 2 次提交
  10. 11 11月, 2011 4 次提交
  11. 01 10月, 2011 1 次提交
  12. 09 9月, 2011 3 次提交
  13. 24 8月, 2011 1 次提交
  14. 18 8月, 2011 1 次提交
  15. 30 7月, 2011 2 次提交
  16. 26 7月, 2011 2 次提交
  17. 21 7月, 2011 1 次提交
  18. 19 7月, 2011 2 次提交
  19. 30 6月, 2011 1 次提交