~/talk

Deep Thoughts: Betting on Security

Talkat PGCon 2020 · 2020-05-26..05-29· [security, databases]
slides:none on file

A demo installs Postgres, creates seven roles and a few objects, and uses the crunchy_check_access extension to enumerate permissions — initial output shows 984 privilege paths, collapsed to 51 then to 8 meaningful rows after filtering. It reproduces CVE‑2018‑1058: an unprivileged function in the public schema can shadow catalog functions via search_path and implicit casts and escalate a read‑only role to superuser. Fixes: revoke create on schema public, revoke default EXECUTE/temporary grants, make superuser roles noinherit and prefer non‑login owners.

AI-written summary · about

  1. 0:00Welcome and introduction
  2. 1:00Speaker background and security overview
  3. 3:07Defense in depth approach
  4. 4:31Betting on security implications
  5. 16:40Role attributes and membership
  6. 21:21Introducing Crunchy Check Access
  7. 27:43Analyzing role privileges
  8. 34:58Key security takeaways
  9. 43:02CVE 2018-1058 exploit explained
  10. 50:15Mitigating the public schema risk
  11. 55:13Recommended role structure
  12. 59:07Q&A session
~/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.