Similar to Blind Out-of-band SQL Injection vulnerabilities, AcuMonitor can now detect Blind Out-of-band Remote Code Execution (RCE) vulnerabilities.
Let’s consider a vulnerable PHP application that contains the following code

$cmd = isset($_GET['1']) ? $_GET['1'] : '';		
	if ($cmd) {	
		exec('ping -c 1 ' . $cmd);

This application executes a shell command that is composed from the user input. However, the result of the command execution is not returned to the user.

An attacker could issue a payload such as


When we URL decode the payload we will get the following OS command

ping -c 1 localhost&nslookup

This will force the server to initiate a name lookup (a DNS query) for
The attacker can monitor DNS server logs for such queries to detect Blind Remote Code Execution vulnerabilities such as this one.

AcuMonitor can now detect such vulnerabilities as well and will send an email when this occurs.

AcuMonitor Blind Out-of-band Remote Code Execution alert

AcuMonitor Blind Out-of-band Remote Code Execution alert

Bogdan Calin

Acunetix developers and tech agents regularly contribute to the blog. All the Acunetix developers come with years of experience in the web security sphere.