~/talk

Hacking with Unicode in 2016

Talkat RuhrSec 2016 · 2016-04-28..04-29· [web-platform, security]
slides:none on file

Unicode has ~1.1M code points (up to 0x10FFFF) split into a 65k BMP and astral planes, and this causes concrete bugs: JavaScript counts astral symbols as two (length reports 2 for U+1F4A9), ES6 fixes via Array.from / spread and normalize; MySQL’s default utf8 truncates 4‑byte chars so switching to utf8mb4 prevents silent data loss that enables account-takeover and WordPress/Joomla RCE via serialized payload truncation; encoding mismatches (UTF‑16/32 → UTF‑8) enable XSS; tools demonstrated: jss, punycode, srever.

AI-written summary · about

  1. 0:00Introduction
  2. 1:01Unicode basics
  3. 3:56Choosing an encoding
  4. 5:25Unicode in JavaScript
  5. 12:12Advanced string handling
  6. 18:51Unicode in MySQL
  7. 20:53Exploiting encoding issues
  8. 27:26JSON and Unicode risks
  9. 32:01Real-world vulnerability case
  10. 44:56Conclusion
~/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.