403 Forbidden error in WordPress admin

I’m getting a 403 Forbidden error in WordPress admin when trying to edit a blog post using the Block editor. I think it’s related to Cloudflare WAF or caching. I’ve disabled the WAF managed rules and cleared the cache and added a cache exception for x-wp-nonce headers but it’s still happening.

I disabled all Cloudflare optimization settings as well so it’s basically at the point where none of my Cloudflare optimizations are active but I’m still getting the error, which leads me to believe there’s an issue with Cloudflare caching.

The site has been running for more than a year with Cloudflare DNS but it wasn’t until a few days ago that I upgraded to a paid plan and configured some security and optimization settings. I don’t have any other Security or Caching plugins installed in WordPress and I’ve tried resetting the .htaccess file as well.

Hi there,

You’re being challenged by OWASP:
Screenshot 2024-03-06 at 12.10.29
(were since now you have OWASP disabled)

The challenge is issued because the total score from the triggered signatures added up to 35.

There are several options to solve this. One of them is to disable OWASP, as you did, another one is to disable rules you feel it might not make sense, yet another is to increase the OWASP score threshold to a higher value, but in my opinion, the best way to overcome this without compromising security would be to create an exception for your particular case, trying to be as specific as possible.

Exceptions can be created under Security > WAF > Managed rules > Add exception

Take care.

2 Likes

Thank you. I will review the link you included on how to create a specific exception rule.

I’ve disabled the OWASP and purged the cache but I’m still getting the error and unable to make edits.

Ok, I can make changes now in incognito so it was a caching issues after the OWASP was disabled. Thank you. I will start to revert the other changes and see if I run into any other issues.

2 Likes

Hi @derek27, your topic has a solution here.

Let us know what you think of the solution by logging in and give it a :+1: or :-1:.


Solutions help the person that asked the question and anyone else that sees the answer later. Login to tell us what you think of the solution with a :+1: or :-1:.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.