• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question ModSecurity "Access denied with code 403"

Colonel36

New Pleskian
Server operating system version
Ubuntu 20.04
Plesk version and microupdate number
Plesk Obsidian18.0.57
Hello, @Colonel36. We are sorry to see your question was not addressed earlier. Does that issue occur for a particular domain name or it is global for the server? Did you exclude the rules server-wide or for the given domain name only? If it on a domain-basis my guess would be that there are too many rules conflicting with the website code and some of them might not be added.
 
Could you please provide a log excerpt of the 403 error where it states the rule ID? Please also show which IDs were excluded.
 
Hi, and thanks for getting back.
Here is the log excerpt:
Apache-Error: [file "apache2_util.c"] [line 275] [level 3] [client 144.217.240.177] ModSecurity: Access denied with code 403 (phase 2). Match of "rbl nxdomain.v2.rbl.imunify.com." against "TX:rbl_ip" required. [file "/etc/apache2/modsecurity.d/rules/custom/013_i360_infectors.conf"] [line "636"] [id "77316861"] [msg "IM360 WAF: Block IP which is in the infectors RBL||MVN:TX:rbl_ip||MV:02-41.144.217.240.177||T:APACHE||"] [severity "CRITICAL"] [tag "service_i360custom"] [hostname "77.68.120.152"] [uri "/hello.world"] [unique_id "ZsFfQM5oLquRevRcmHhSpwAAAEg"]
Action: Intercepted (phase 2)
Stopwatch: 1723948864519548 46153 (- - -)
Stopwatch2: 1723948864519548 46153; combined=43168, p1=89, p2=42774, p3=0, p4=0, p5=305, sr=34, sw=0, l=0, gc=0
Producer: ModSecurity for Apache/2.9.7 (http://www.modsecurity.org/).
Server: Apache
Engine-Mode: "ENABLED"
and the codes
33303
33329
77316861

Many thanks
 
Where did you disabled these rules?

Your using the Imunify360 ModSecurity ruleset. If I am not mistaken those rules are to be disabled in the Imunify360 extension itself, not in Plesk. (But I might be mistaken. It's been a while since I've used Imunify360).
 
I'm was using the rules in Web Application Firewall.
I have now changed the Rule Set to Comodo but the log error is still there?
Thanks for the support
 
Strange. Is the Imunify360 extension still installed and do you use it? If so, and you don't need Imunify360, you can try to uninstall it. However if you do like to use Imunify360, but just not the WAF I recommend opening a support ticket with Imunify to get help on achieving that.
 
Many thanks for getting back in touch.
I've tried to uninstall the Immunify, but it is still there and won't budge!?
 
Back
Top