Title: CGI URL block
Last modified: January 15, 2018

---

# CGI URL block

 *  Resolved [magicmiles](https://wordpress.org/support/users/magicmiles/)
 * (@magicmiles)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/cgi-url-block/)
 * ok, how would I block this one ????
 * `http://mysite.com/cgi-bin/php5?%2D%64+%61%6C%6C%6F%77%5F%75%72%6C%5F%69%6E%63%
   6C%75%64%65%3D%6F%6E+%2D%64+%73%61%66%65%5F%6D%6F%64…`

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [wfalaa](https://wordpress.org/support/users/wfalaa/)
 * (@wfalaa)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/cgi-url-block/#post-9872790)
 * Hi,
    Adding something like that: `/cgi-bin/php5?*` in “[Immediately block IP’s that access these URLs](https://docs.wordfence.com/en/Wordfence_options#Immediately_block_IP.27s_that_access_these_URLs)”
   should block access to this URL, however, I’m not sure if this would affect some
   legit requests made by your hosting provider or not? you might need to double
   check that with them.
 * Thanks.
 *  [wfchloe](https://wordpress.org/support/users/wfchloe/)
 * (@wfchloe)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/cgi-url-block/#post-9972297)
 * Hello!
 * I hope we were successful in helping you resolve your issue with Wordfence! Since
   we have not heard back from you in the past 2 weeks I will now be marking this
   support thread as resolved. However, if we still haven’t resolved your issue 
   please reach out to us as we would be more than happy to further assist you!
 * Thanks and have a great day!
    Chloe

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘CGI URL block’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [block](https://wordpress.org/support/topic-tag/block/)
 * [CGI](https://wordpress.org/support/topic-tag/cgi/)
 * [url](https://wordpress.org/support/topic-tag/url/)

 * 2 replies
 * 3 participants
 * Last reply from: [wfchloe](https://wordpress.org/support/users/wfchloe/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/cgi-url-block/#post-9972297)
 * Status: resolved