Fuzzing FastCGI With AFL-Fuzz

Omaid Faizyar
InfoSec Write-ups
Published in
4 min readJul 1, 2020

--

This is the very long tale of my adventures in fuzzing FastCGI with AFL-Fuzz. If you’re interested in fuzzing a FastCGI binary, look no further.

What is FastCGI?

FastCGI is a binary protocol. In most cases a user interacts with a web server such as nginx or lighttpd, which in turn communicates with FastCGI through a named pipe or TCP connection. FastCGI then executes code.

Why FastCGI?

I had access to a binary written in C/C++ which used FastCGI. In fact, FastCGI is used in almost…

--

--

I hack into companies for a living and dabble in Bitcoin. Sometimes get quoted on Russia Today.