BulletProof Plugin Blocking POST Requests with 403 Error
-
Hi – I tried searching the KnowledgeBase but didn’t find a post that matched my scenario. To begin, I have a file in my custom theme directory that receives (and parses) POST requests whenever a button is clicked from the UI. PRIOR to installing the BPS Security Plugin, a single line in my htaccess made this functionality possible:
<code>
RewriteCond %{QUERY_STRING} !^request=true$
</code>AFTER installing the BPS Security Plugin, adding this line of code to the Custom Code section for the Root htaccess file no longer works. No matter which block I include this line of code in, I continuously receive the following 403 Error in the browser console:
<code>
[403 POST Request: October 6, 2024 2:39 pm]
BPS: 6.9
WP: 6.6.2
Event Code: BFHS - Blocked/Forbidden Hacker or Spammer
Solution: N/A - Hacker/Spammer Blocked/Forbidden
REMOTE_ADDR: 174.163.111.56
Host Name: c-174-163-111-56.hsd1.ga.comcast.net
SERVER_PROTOCOL: HTTP/1.0
HTTP_CLIENT_IP:
HTTP_FORWARDED:
HTTP_X_FORWARDED_FOR:
HTTP_X_CLUSTER_CLIENT_IP:
REQUEST_METHOD: GET
HTTP_REFERER: https://domainname.com/
REQUEST_URI: /wp-content/themes/custom-wordpress-theme/api/randomizer/random-text/random-text.php?request=true
QUERY_STRING: request=true
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0
REQUEST BODY: BPS Security Log option set to: Do Not Log POST Request Body Data
</code>I’ve tried piecing together responses from related posts in this forum to come up with a solution, but haven’t been successful. Any help you can provide would be greatly appreciated.
- You must be logged in to reply to this topic.