~/talk

A Beginners Guide to Security Exploits in Action

Talkat DjangoCon Europe 2023 · on Monday, 2023-05-29· at 12:20· Music Hall· [security]
links:none on file
links:none on file
slides:none on file

A fake MySpace clone called TeamSpace demonstrates five live vulnerabilities and their fixes: SQL injection via raw() string formatting is used to delete a post by injecting a semicolon payload and is fixed by using ORM filters or passing params to raw; unsanitized HTML uses the Bleach library for sanitization to allow safe links/images while blocking scripts; a wildcard ALLOWED_HOSTS plus an open redirect lets attacker-crafted Host headers and next parameters phish logins and hijack password reset links; a hard-coded SECRET_KEY enables forged password-reset tokens and is fixed by rotating secrets and not embedding keys in code.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:50Introducing TeamSpace platform
  3. 2:31SQL injection vulnerability
  4. 6:32HTML sanitization issues
  5. 9:05Allowed hosts misconfiguration
  6. 11:35Open redirect vulnerability
  7. 13:20Exposed secret key exploit
  8. 15:54Summary and fixes
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.