$30 off During Our Annual Pro Sale. View Details »

Web Platform Security @ TechDays 2019

Web Platform Security @ TechDays 2019

Web Platform Security.

Mike West
PRO

June 03, 2019
Tweet

More Decks by Mike West

Other Decks in Programming

Transcript

  1. Web Platform Security
    Mike West, Google Chrome
    @mikewest
    [email protected]
    http://bit.ly/wps_techdays_2019

    View Slide

  2. View Slide

  3. View Slide

  4. Google Vulnerability Reward Program (VRP) payouts in 2018
    XSS 35.6%
    CSRF 3.2%
    Clickjacking 4.2%
    Other web bugs 7.8%
    Non-web issues 49.1%
    Mobile app vulnerabilities
    Business logic (authorization)
    Server /network misconfigurations
    ...

    View Slide

  5. Injections

    foo.innerHTML = location.hash.slice(1)
    1. Logged in user visits attacker's page
    2. Attacker navigates user to a vulnerable URL
    3. Script runs, attacker gets access to user's session
    … and many other patterns
    Bugs: Cross-site scripting (XSS)
    https://victim.example/?query=<br/>

    View Slide

  6. Insufficient isolation
    1. Logged in user visits attacker's page
    2. Attacker sends cross-origin request to vulnerable URL
    3. Attacker takes action on behalf of user, or infers information
    about the user's data in the vulnerable app.
    Bugs: Cross-site request forgery (CSRF), XS-leaks, timing, ...






    View Slide

  7. Insufficient isolation
    New classes of flaws related to insufficient isolation on
    the web:
    - Microarchitectural issues (Spectre / Meltdown)
    - Advanced web APIs used by attackers
    - Improved exploitation techniques
    The number and severity of these flaws is growing.

    View Slide

  8. Collaborate in
    standards bodies

    View Slide

  9. https://w3c.github.io/webappsec-csp/
    https://csp.withgoogle.com/

    View Slide

  10. https://wicg.github.io/trusted-types

    View Slide

  11. https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis
    https://web.dev/samesite-cookies-explained/

    View Slide

  12. https://w3c.github.io/webappsec-fetch-metadata

    View Slide

  13. https://github.com/whatwg/html/issues/3740

    View Slide

  14. https://github.com/whatwg/fetch/issues/687

    View Slide

  15. https://www.arturjanc.com/cross-origin-infoleaks.pdf

    View Slide

  16. Thanks!
    Mike West, Google Chrome
    @mikewest
    [email protected]
    http://bit.ly/wps_techdays_2019

    View Slide