~/talk

ESAPI Crypto Changes

Talkat OWASP Project Summit 2013 · 2013-11-18..11-21· [security]
links:none on file
slides:none on file

ESAPI symmetric encryption has a concrete fix and followups: a PoC allowed setting MAC length to zero and enabled a padding‑oracle path so CVE-2013-5960 is addressed in 2.1.0 (released 2013-02-02) and a redesign targets 2.1.1. Changes include remove singleton Java encryptor, add explicit KDF context to derive separate MAC and encryption keys, default PRF HMAC-256, branch kww_crypto_d211 holds in-progress code and destructive tests, and work ensures backward decryption compatibility.

AI-written summary · about

  1. 0:00Start
  2. 1:01Overwrite MAC length and set to 0 and erase MAC → Causes bypass of authenticity check. Could potentially lead to padding oracle attack -Root cause was code left in for ESAPI 1.4 backward compatibility (since removed) - Fixed in ESAPI 2.1.0, released 2013-09-02
  3. 2:42Precautionary measure: potentially changes to cipher transformation or version date, etc. could stil permit authenticity bypass - Being fixed in ESAPI 2.1.1; requires minor redesign of key derivation and MAC computation. . Code in brancheskww.crypto-2.1.1 • Needs some minor code additions
  4. 5:30Pre-2.1.1, the MAC and encryption keys were derived from the main key with no additional context. • In 2.1.1 and later, it's like this
~/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.