~/talk

The Node.js Highway: Attacks Are At Full Throttle

Talkat OWASP AppSec Research (AppSecEU) 2015 · on Thursday, 2015-05-21· at 11:55· Room E106 & E107· [nodejs, security]
links:none on file
slides:none on file

Node.js is single‑threaded so CPU‑heavy code creates trivial DoS; a demo runs a 100‑million loop and ties up one core. V8’s Math.random plus MD5 password generation lets an attacker register three consecutive md5s, reverse them via a custom rainbow table and predict future passwords using a cloud cracker — the uploader hosts a 200 gigabyte rainbow table on Amazon and the attack succeeds. Other specifics: MongoDB queries accept Json operators enabling NoSQL injection and regex ReDoS that drives 25% CPU for 3–4 seconds; Express route handlers can be overwritten in memory so routes are hijacked until restart.

AI-written summary · about

  1. 0:00Introduction
  2. 1:11Agenda
  3. 3:37Architecture
  4. 4:49NoJS
  5. 5:25CPU Intensive Code
  6. 8:03Nodejs Web Server
  7. 8:58ThirdParty Components
  8. 9:29Example
  9. 11:30Random Number Prediction
  10. 12:37Rainbow Tables
  11. 15:35Demo
  12. 24:15MongoDB
  13. 24:46Document
  14. 30:32User Find
  15. 34:27NoJS vs Evil
  16. 37:08NoJS routing stack
  17. 37:45Add method
  18. 38:58Add page
  19. 39:09Route stack
  20. 39:52No tracking
~/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.