SQL Injection Is Boring—Advanced Threats You’re Not Watching
summary
Shows a recent CVE 2026 case where PostgreSQL Anonymizer runs unprefixed operators from public schema so a low‑privilege user can plant a malicious operator that executes during anonymization and exposes production data; demonstrates timing and side‑channel exfiltration using pg_sleep and pg_statistic probing to infer secrets; documents metadata injection via plain‑text pg_dump leading to malware on subscribers and reading replication slots via the PG output plugin, and a crypto‑mining campaign that compromises ~1,500 hosts using copy_program. Defenses: strict extension allowlist, superuser‑only extension creation, binary dumps, disable copy_program, prepared statements, monitor replication slots and audit.
AI-written summary · about
chapters (6)
- 0:00Introduction and speakers
- 3:14Privilege escalations via extensions
- 15:54Timing and side channel attacks
- 27:38Logical replication abuse
- 36:32Role inheritance pitfalls
- 40:23Defensive strategies and takeaways
related talks
45mSecurity Attacks on PostgreSQL
32mPostgreSQL Security: Defending Against External Attacks
28mFrom Dev to Prod: Securing Postgres the Right Way
41mSQL Injection Isn't Dead: Smuggling Queries at the Protocol Level
34mWhy your encrypted Database isn't secure: practical attacks against encrypted OSS databases
22mPostgreSQL Threats and Attacks in the Wild
40mPostgreSQL Security for Application Developers
35mSecuring PostgreSQL From External Attack
