~/talk

Give Me a SQL Injection, I Shall PWN IIS and SQL Server

Talkat Black Hat Asia 2021 · 2021-05-04..05-07· [security]
name:Qi Deng
links:none on file
name:Bo Qu
links:none on file
links:none on file
slides:none on file

SQL injection into any app that lets SQL Server or Access call the ancient Jet 4.0/ACE 12.0 provider lets a remote attacker point the engine at an attacker-controlled DB file served over WebDAV/SMB/FTP, trigger memory corruption by mutating DB records and SQL payloads, and get RCE in IIS or sqlservr with one web request. Fuzzing the provider and database-file formats finds ~100 bugs, demos use a WebDAV server and WinDbg to crash and pivot to SYSTEM via token impersonation, and exploits work from XP through Windows 10.

AI-written summary · about

  1. 0:00Introduction
  2. 0:55Agenda
  3. 1:15Who are we
  4. 1:37Motivation
  5. 2:22Circuit Injection
  6. 3:43Jet Database Engine
  7. 5:13Main Dish
  8. 5:39Cross Database
  9. 7:48MSJet
  10. 10:00MS Excel
  11. 13:35Summary
  12. 14:29Attack Scenarios
  13. 14:53Access Scenario
  14. 16:04Analysis
  15. 19:20Demo
  16. 20:07Scenario 2 is and the second server
  17. 21:21Example
  18. 21:53Information
  19. 26:18Web Shell
  20. 27:45Core EX
  21. 29:10Memory Copy
  22. 29:44Destination Address Buffer
  23. 30:30Page Description Object
  24. 31:18Demonstration
  25. 32:08Short Summary
  26. 33:10Conclusion
  27. 34:23Security Boundary
~/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.