Cyber Risks · PortSwigger Research

Lab: Blind SQL injection with out-of-band data exfiltration

Summary: PortSwigger's lab presents a blind SQL injection in an application that runs a SQL query against the value of a tracking cookie, executed asynchronously with no effect on the application's response. The database holds a separate users table with username and password columns, and the goal is to exploit the injection to leak the administrator's password through out-of-band interactions with Burp Collaborator's default public server, since the Academy firewall blocks interactions with arbitrary external systems.

Key Takeaway: The query's result never appears in the response, so a vulnerability scanner watching only page output would see nothing - the data leaves through an out-of-band channel to an external domain instead, and the only thing standing between the attacker and the administrator's password is whether that channel is reachable.

Read the original at PortSwigger Research ↗

Topics
Vulnerabilities & Patching
Related