~/talk

Think like a hacker

Talkat Laracon Online Summer 2021 · on Wednesday, 2021-09-01· [php, security]
slides:none on file

Demos show concrete attacks and fixes: credential stuffing via registration enumeration finds reused passwords (one example password seen >40,000 times) and logs in as admin; output left unescaped after nl2br yields stored XSS, fixed by escaping with e() or using the browser and a content security policy middleware; adding an extra form field exploits mass assignment to flip an admin flag, fixed by whitelisting with a validator; a July Laravel cookie+encryption-oracle bug leads to RCE using PHPGGC gadget chain, giving a remote shell — remedy: patch, rotate keys, separate encryption keys.

AI-written summary · about

  1. 0:00Introduction to hacker mindset
  2. 3:01Breaking into a vulnerable Laravel app
  3. 7:15Defending against credential stuffing
  4. 12:03Exploiting XSS with newlines
  5. 14:48Fixing XSS with escaping and CSP
  6. 20:07Mass assignment vulnerability demo
  7. 23:15Validating requests to prevent attacks
  8. 26:01Laravel cookie session RCE exploit
  9. 31:35Preventing remote code execution
  10. 33:21Summary and resources
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.