Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 1881

Server unable to send a response to the URLs with sql commands "pg_sleep(1)" & "case when cast"

$
0
0

In our security testing we are injecting sql commands "pg_sleep(1)" & "case when cast" to the web URL's, the expected behaviour is to redirect the users to the home page, but unfortunately it is continuously loading in the web browser with a timeout error.

Example URLs : http://<website.com>/get-started/contact-us?view=contactus;select%20pg_sleep%281%29;%20--

http://<website.com>/index.php?option=com_content&view=article&id=case%20when%20cast%28pg_sleep%285%29%20as%20varchar%29%20%3E%20%27%27%20then%200%20else%201%20end&Itemid=123

We are assuming that IIS 7.5 server is not sending the response. As it is a security threat to our website, could you please send us your thoughts to fix this. These sql command UrL's has to re-direct the user to the homepage.


Viewing all articles
Browse latest Browse all 1881

Trending Articles