Website Security & Threat Management
The Sleepy User Agent

The Sleepy User Agent

5/17/2016 · John Graham-Cumming

What this post added

This post details a SQL injection vulnerability that can be exploited through the User-Agent HTTP header, specifically using a 'sleep' command to cause a delay. It illustrates how attackers can use this technique for blind SQL injection and demonstrates a vulnerable PHP code example. The post also provides a secure alternative using prepared statements and parameter binding to prevent such attacks. Cloudflare's WAF is mentioned as a mitigation for injection attacks.

Read the original post ↗