2017 OWASP Top 10: Cross-Site Scripting (XSS)

Поділитися
Вставка
  • Опубліковано 19 лют 2018
  • New 2021 OWASP Lightboard Series:
    • 2021 OWASP Top Ten
    Video 7/10 on the 2017 OWASP Top Ten Security Risks.
    John Wagnon discusses the details of the #7 vulnerability listed in this year's OWASP Top 10 Security Risks: Cross-Site Scripting. Learn about this security risk and how to keep your Web Applications safe!
    community.f5.com/articles/lig...
  • Наука та технологія

КОМЕНТАРІ • 116

  • @hayleyha9433
    @hayleyha9433 4 роки тому +23

    Thank you so much, this is the most insightful introduction of XSS I have found on UA-cam.

  • @eyalpery8470
    @eyalpery8470 4 роки тому +4

    This video is amazing! I understood so much about XSS, Thank you!

  • @jamesslaterly8670
    @jamesslaterly8670 3 роки тому +2

    now i understand XSS thank you!

    • @devcentral
      @devcentral  3 роки тому

      You're welcome...glad you enjoyed the video!

  • @finally_code
    @finally_code 4 роки тому +3

    You guys are great. I can always be sure to see a quality video when clicking on F5 stuff.

  • @shimmeringreflection
    @shimmeringreflection 4 роки тому +1

    Excellent video and exactly the right length. A topic like this needs a lengthy explanation to get one's head around it. Too many other vids try to sum it up in a few minutes only to leave the learner not really understanding what XSS is at the end of it.

  • @Dasman_adventures
    @Dasman_adventures 6 років тому +3

    Really like this example and the breakdown! Thanks for making the OWASP Top 10 a bit more available! :)

    • @devcentral
      @devcentral  6 років тому

      Thanks! Glad you are enjoying the videos...

  • @amarchhabra2175
    @amarchhabra2175 2 роки тому +1

    What a terrific video - very clear and concise - yet comprehensive and easy to understand!

  • @BobCat981
    @BobCat981 4 роки тому +5

    Though I found your presentation really neat and useful, I find it even 'neater' that you had logo on your shirt sewn backwards, to appear as it should once you mirror your video(s).
    Kudos to you, good sir. I cant think of any other way you made this, unless you're actually writing mirrored which i highly doubt......

  • @rayyu9684
    @rayyu9684 2 роки тому +1

    Thank you! This is the best explanation I have ever seen!!!!!

  • @sudhanshupal4427
    @sudhanshupal4427 4 роки тому +1

    Thanks a lot you cleared my concept of cross site scripting !!!

  • @mfstuff8252
    @mfstuff8252 4 роки тому +1

    Very good and simply explained!

  • @vinaydrdo
    @vinaydrdo 5 років тому +1

    Good video full of clarity on the topic

  • @HD_Heresy
    @HD_Heresy 2 роки тому +1

    REALLY awesome video, thanks so much!

  • @shubhampaul8394
    @shubhampaul8394 3 роки тому +1

    Amazingg..your way of explaining things❤ loved it..nice video..

  • @duonganphong7643
    @duonganphong7643 4 роки тому

    Amazing, thanks!

  • @bigmarkua
    @bigmarkua 4 роки тому +1

    Thanks!

  • @Cognitoman
    @Cognitoman 6 років тому +1

    great job!

    • @devcentral
      @devcentral  6 років тому

      thanks...glad you enjoyed it!

  • @houssamboudahra7803
    @houssamboudahra7803 3 роки тому +1

    Thank you

  • @suan_tech2019
    @suan_tech2019 2 роки тому +1

    thanks

  • @venkateshbogadhi4652
    @venkateshbogadhi4652 5 років тому +1

    Its a very nice video, Thanks.
    Whatever the example you mentioned in the video is related to a type of XSS i.e, Stored/Persistent XSS.
    Similarly can you explain about other types of XSS like Reflected, Blind and DOM Based XSS attacks?

    • @devcentral
      @devcentral  4 роки тому

      great question! the example I gave in the video is a stored/persistent XSS example. here's a great article that outlines all the different types and gives some good examples as well: portswigger.net/web-security/cross-site-scripting

  • @h.rehaief3567
    @h.rehaief3567 5 років тому +1

    great job

  • @25kirtan
    @25kirtan 3 роки тому +1

    Thanks man!

  • @nguyenhuyhoang555
    @nguyenhuyhoang555 5 років тому

    What is different between Redirected XSS and CSRF?

  • @HH-qe3sr
    @HH-qe3sr 2 роки тому

    thank you very useful and clear but still didn't hear you talking about input validation in the video witch is one of method of mitigation

  • @sirdondaniel
    @sirdondaniel 4 роки тому +1

    Why don't you split the Webapp in two: server and froendend (client)?

  • @deeraj3069
    @deeraj3069 4 роки тому +1

    Thank you sir...

  • @illt3ck
    @illt3ck 4 роки тому +3

    Really enjoyed this series so thanks for producing it. In this example, wouldn't the victim's system execute the attackers code and do a POST (including the session cookie) to the attackers server and not a GET?

    • @devcentral
      @devcentral  4 роки тому +2

      Great question, Mark! In this case, the attacker would have set up his "evil.com" site to accept the GET request sent by the victim and would be looking for the parameter value in that GET request. Based on the way the attacker set up the malicious post on the vulnerable web application (the one that the victim visits), the GET request would include a parameter that has the victim's cookie value. The attacker could then take the site cookie and start down the path of more nefarious actions. For more on GET requests that include parameters, here's a good thread to look at: stackoverflow.com/questions/514892/how-to-make-an-http-get-request-with-parameters
      I hope this helps...thanks!

    • @RajivKumar-ee7xv
      @RajivKumar-ee7xv 3 роки тому +1

      @@devcentral I was also thinking same. Thanks for clarifying.

  • @LetsBeHuman
    @LetsBeHuman 5 років тому +3

    @10:52 - How can a firewall around Web app can prevent XSS, as the script is posted in an input field, right?
    So, How can a firewall check what an attacker is entering into the fields like username, password , etc.??

    • @devcentral
      @devcentral  5 років тому +8

      Thanks for the great questions! When you put a Web Application Firewall (WAF) in front of your web application, then all requests to the web application have to pass through the WAF before they get to the application itself. The WAF will learn all about your web application and know what parameters are used, what fields are used, what URLs are used, what file types are allowed/disallowed, etc. So, when a user sends a XSS attack to an input field of the web application, the WAF will know that the request is destined for the input field on the web app, and it will check the request against a variety of signatures, etc to determine if that particular request is malicious or not. If the WAF determines that the request is malicious (i.e. it detects stuff like xyz123) then it will block the request. Hope this helps!

    • @LetsBeHuman
      @LetsBeHuman 5 років тому +2

      @@devcentral thank you very much

  • @artmasterpl
    @artmasterpl 6 років тому +9

    its now 7 because they change marking criteria for OWASP top 10 its now calculated by risk not for a number of attacks. XSS is still most popular attack but its not that dangerous like others ;)

    • @devcentral
      @devcentral  6 років тому +2

      great info...thanks for the clarification!

    • @ramsthoughts
      @ramsthoughts 5 років тому

      That's great info, even I too had impression that rating based on popular not by risk...but YES that's sound sense too.

    • @joshwaphilip9840
      @joshwaphilip9840 5 років тому +1

      you can't say it's not dangerous. because attacker steal cookie with help of XSS. and phishing also very dangerous. attacker use help of phishing email sending xss alert script and shows pop message. that way steal victim confidential data. why don't think that's not dangerous

    • @artmasterpl
      @artmasterpl 4 роки тому +1

      @@joshwaphilip9840 yes u are right, sorry for my English back then ;p

  • @frankthabo
    @frankthabo 2 роки тому +1

    Salute !!!

  • @LetsBeHuman
    @LetsBeHuman 5 років тому +1

    What tool you use to make these kind of videos?
    You seem to write in your right hand, but...
    Please answer.

    • @SpeedlPN
      @SpeedlPN 5 років тому

      They have a pane of glass between him and the camera, he writes naturally but the video is flipped vertically.

  • @Rookey_Traveller
    @Rookey_Traveller 4 роки тому +1

    Please explain types is xss attacks.

    • @devcentral
      @devcentral  4 роки тому

      Thanks for the comment! The example I gave in the video is a stored/persistent XSS example. here's a great article that outlines all the different types and gives some good examples as well: portswigger.net/web-security/cross-site-scripting

  • @tarunvishwakarma2562
    @tarunvishwakarma2562 6 років тому +1

    Hi, thank you for making Owasp video but there is not all the owasp top ten video only I found 5 to 6 Please make it all...

    • @devcentral
      @devcentral  6 років тому

      Hi tarun. Thanks for the comment. I am in the process of making all 10 videos, but I've only finalized 7 of them so far. Be sure to stay tuned to our channel as the remaining 3 will be published here as well.

    • @tarunvishwakarma2562
      @tarunvishwakarma2562 6 років тому

      okay & thanks, guys..........

    • @devcentral
      @devcentral  6 років тому

      FYI...we created a playlist on our channel that has the OWASP Top Ten videos. We haven't finished all the videos yet (March, 2018), but once they are all finished, the playlist will have them all. ua-cam.com/video/rWHvp7rUka8/v-deo.html

  • @RajeshSriMuthu
    @RajeshSriMuthu 4 роки тому +1

    subscribed liked and shared.......

  • @rpithawala
    @rpithawala 6 років тому +3

    thanks.. creative --- on glass board. ;)

  • @rudyc79
    @rudyc79 3 роки тому +1

    Is injection still number 1?

    • @psilvas
      @psilvas 3 роки тому

      Yes it is: owasp.org/www-project-top-ten/

  • @sariksiddiqui6059
    @sariksiddiqui6059 4 роки тому

    if the words he's writing are not laterally inverted,means he is right-handed?

  • @Watcher3121
    @Watcher3121 5 років тому +1

    is he writing reverse on glass?

  • @tanercoder1915
    @tanercoder1915 4 роки тому +1

    This sure sounded like CSRF vulnerability. Remote XSS == CSRF ?

  • @gck330
    @gck330 6 років тому

    my question is what browser will sent the cookies of example.com to another site, evil.com ? is this posible ?

    • @mlrhazi
      @mlrhazi 5 років тому

      the bad runs in the context of example.com page. browser will give it all the cookies of that domain, right? It will then send them to evil.com. The script will send the cookies names and values... not the browser.

  • @sunilchaudhari5730
    @sunilchaudhari5730 3 роки тому +1

    It seems Web Application Firewall is solution to most of the OWASP 10 problems.

  • @deeptipathak7739
    @deeptipathak7739 5 років тому

    What is post script

    • @devcentral
      @devcentral  5 років тому

      Hi Deepti...just wanted to get some clarification on what you are asking. What exactly are you referring to when you say "post script"? There's a post script in reference to printing, but I'm not sure if that's what you are talking about here. We are glad to help clarify, but need some more context around what you are referring to. Thanks!

  • @letsTalkBoutIt14
    @letsTalkBoutIt14 2 роки тому

    Mobile browser the function character is %

  • @pineappleapplepens
    @pineappleapplepens 5 років тому

    is instructor Wagnon writing backwards?

    • @DjSeymur
      @DjSeymur 5 років тому

      No, the video is horizontally flipped. And if you ask about the logo on the shirt, I assume it is specially printed in mirrored form for this kind of video

  • @Xpressd
    @Xpressd 4 роки тому

    are you writing backwards or flipping the screen 😕

    • @psilvas
      @psilvas 4 роки тому

      check out this video to show you how we do it: ua-cam.com/video/U7E_L4wCPTc/v-deo.html

  • @surens7850
    @surens7850 6 років тому

    what is nutshell

    • @devcentral
      @devcentral  6 років тому +1

      Hi Suren. The phrase "in a nutshell" means to sum it up, or to say it concisely or briefly. I hope this helps...thanks!

    • @manilakid3
      @manilakid3 5 років тому

      The shell that holds a nut. Nutshell.

  • @h.rehaief3567
    @h.rehaief3567 5 років тому +1

    more videos pls

    • @devcentral
      @devcentral  5 років тому

      glad you enjoy these videos!

  • @dudebroepicgamer4847
    @dudebroepicgamer4847 5 років тому +2

    alert("hacked!");

    • @devcentral
      @devcentral  5 років тому +2

      Looks like the UA-cam comment feature has been designed properly to handle this attack! :)

    • @RajeshSriMuthu
      @RajeshSriMuthu 4 роки тому

      i appreciate your try

  • @debjitpaul8580
    @debjitpaul8580 5 років тому +5

    Wait wait is he writing it in reverse?? 🤥 Someone please tell me there's some trick to it.

    • @picklecrash
      @picklecrash 5 років тому +2

      no, he flips the video after recording it

    • @petervtzand
      @petervtzand 4 роки тому +1

      @@picklecrash So what about the logo on his shirt?

    • @picklecrash
      @picklecrash 4 роки тому

      @@petervtzand sewn in reverse

    • @ilypineapple6461
      @ilypineapple6461 4 роки тому

      Joshua Clougherty then wouldn’t one be backwards and the other not? Lmfao

    • @shimmeringreflection
      @shimmeringreflection 4 роки тому

      @@petervtzand hehe. I thought the commenter was right when he said he flips the video after recording it but then you pointed out the logo on his shirt. Very astute!

  • @benjamingoldman6983
    @benjamingoldman6983 3 роки тому

    alert(1)

  • @letsTalkBoutIt14
    @letsTalkBoutIt14 2 роки тому

    Non script terminal back doors is the latest
    Ex:

  • @passord1d493
    @passord1d493 4 роки тому +2

    destroyWebsite();

    • @devcentral
      @devcentral  4 роки тому +1

      lol...looks like the UA-cam comments section has included secure coding practices!

  • @angeloreyes707
    @angeloreyes707 2 роки тому +1

    Are you drawing all of that backwards??? Lol

    • @psilvas
      @psilvas 2 роки тому

      this is how we do these: ua-cam.com/video/U7E_L4wCPTc/v-deo.html

  • @Child0ne
    @Child0ne 2 роки тому

    Why do we need a victim