Knowledgebase

mod_security help needed (Execution failed while reading output)

Posted by jibinthomas007, 04-28-2015, 07:48 AM
Hi, I am seeing following errors in the apache error_log:- [Tue Apr 28 04:24:54 2015] [error] [client 46.118.119.63] ModSecurity: Exec: Execution failed while reading output: /usr/sbin/realuploadscan (End of file found) [hostname "www.mysite.com"] [uri "/wp-admin/admin-ajax.php"] [unique_id "VT9R5sxdo3wADMJRVLgAAAAj"] Does any one know how to fix this?. [Tue Apr 28 06:30:23 2015] [error] [client 122.174.224.240] ModSecurity: Rule processing failed. [hostname "mysite.com"] [uri "/upload_ac.php"] [unique_id "VT9vT8xdo3wABjiKD0kAAAAS"] Any idea whats happening here?. Its a cpanel server.

Posted by Srv24x7, 04-28-2015, 10:59 AM
Hi, ModSecurity is blocking the connection made by the file considering it may be an attack according to the modsecurity rule. Check the modsecurity audit logs to see which rule exactly is causing this. Also, check what file is being uploaded properly.

Posted by mellow-h, 04-29-2015, 08:38 AM
I think the error is in this file: ====== /usr/sbin/realuploadscan (End of file found) =========== Are you using some plugin to scan uploads? If yes, you should probably check whether the file realuploadscan is in order or not.

Posted by jibinthomas007, 05-01-2015, 05:07 AM
Hello mellow, Thank you for your update. From the logs I can see that the script is working fine for some exploited scripts, however for others it produced the above error.

Posted by jibinthomas007, 05-07-2015, 05:27 AM
Hi, Does anyone has idea about modsecurity live scanner working with maldet ?



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
what is nthe functions (Views: 555)
IP blocking problem (Views: 631)
MySQL Issue (Views: 612)


Language:

Client Login

Email

Password

Remember Me

Search