While sending a PHP POST request to Apache server, the request is blocked by server. I am getting the forbidden error. This is very specific for some request. In the request i am sending the html data and saving the html data in the MYSQL database. I am using the unix operating system.
I am trying to save some sentence like, process = runtime.exec("");
I am sending the above sentence i am getting the forbidden error, otherwise i am getting the success response.
I think your server set up forbids some URL parameter values. A comparable example (for Struts), that explains why can be found here: https://www.sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt
You could try to trick it with some encoding (I doubt this will work) or substitute the word ".exec(" with something harmless.