Blocked from ACP by wordfence

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
BroIgnatius
Registered User
Posts: 105
Joined: Fri Jan 01, 2010 11:01 am
Name: Bro. John-Paul Ignatius Mary
Contact:

Blocked from ACP by wordfence

Post by BroIgnatius »

Wordfence, a wordpress plugin, is interfering with a phpbb bulletin board for some reason. When I try to go into the ACP screen in phpbb, and re-authenticate, I get a wordfense error of "403 Forbidden: A potentially unsafe operation has been detected in your request to this site. Generated by Wordfence at..."

I have tried removing wordfence from every wordpress installation on the domain. I have tried reinstalling phpbb 3.2.7. This is happening on any domain I have with phpbb. All the domains are on mydomain.com.

I have contacted wordfence support and got no help. I have contacted mydomain.com and their techs are scratching their heads and still working on it.

phpbb Version: 3.2.7

Server Info:
MySQL Version: 5.6.32
PHP Version: 5.6
Platform: Debian

Help
User avatar
KevC
Support Team Member
Support Team Member
Posts: 72379
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Blocked from ACP by wordfence

Post by KevC »

Are you sure it's not just your hosts mod_security triggering something?

The wordpress and phpBB installations are totally self contained and should have no way of interfering with each other.
-:|:- Support Request Template -:|:-
Image
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: Blocked from ACP by wordfence

Post by david63 »

Do you some form of caching on your board/site/domain/account (such as Cloudflare)?
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 5885
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: Blocked from ACP by wordfence

Post by thecoalman »

OPcache if configured for performance could cause this as .php files are not checked for deletion or changes. If you can get into the main page of the ACP purging phpBB's cache will conveniently trigger a purge of OPcache.

Cloudflare by default would not cause this as they do not cache .html, .php etc unless the user has explicitly made changes. You can always check the response header for CF-Cache-Status: HIT to see if it's cached by Cloudflare

That said I'd be looking at the documentation for wordfence, they must have the means to ignore directories outside of the WordPress install.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
BroIgnatius
Registered User
Posts: 105
Joined: Fri Jan 01, 2010 11:01 am
Name: Bro. John-Paul Ignatius Mary
Contact:

Re: Blocked from ACP by wordfence

Post by BroIgnatius »

KevC wrote: Tue Jun 04, 2019 8:52 pm Are you sure it's not just your hosts mod_security triggering something?

The wordpress and phpBB installations are totally self contained and should have no way of interfering with each other.
I have no idea.
BroIgnatius
Registered User
Posts: 105
Joined: Fri Jan 01, 2010 11:01 am
Name: Bro. John-Paul Ignatius Mary
Contact:

Re: Blocked from ACP by wordfence

Post by BroIgnatius »

david63 wrote: Tue Jun 04, 2019 9:02 pm Do you some form of caching on your board/site/domain/account (such as Cloudflare)?
The only cache is that in wordpress, maybe. I cleared that. I cannot get into the ACP to delete cache. I can check about doing that from within MySQL.
BroIgnatius
Registered User
Posts: 105
Joined: Fri Jan 01, 2010 11:01 am
Name: Bro. John-Paul Ignatius Mary
Contact:

Re: Blocked from ACP by wordfence

Post by BroIgnatius »

thecoalman wrote: Tue Jun 04, 2019 11:23 pm OPcache if configured for performance could cause this as .php files are not checked for deletion or changes. If you can get into the main page of the ACP purging phpBB's cache will conveniently trigger a purge of OPcache.

Cloudflare by default would not cause this as they do not cache .html, .php etc unless the user has explicitly made changes. You can always check the response header for CF-Cache-Status: HIT to see if it's cached by Cloudflare

That said I'd be looking at the documentation for wordfence, they must have the means to ignore directories outside of the WordPress install.
Cannot get into ACP

Never heard of Clouidflare

Wordfence support was not helpful. They said that wordfence can effect outside of wordpress, and then directed me to a Live Scan to which no entry existed for the phpbb.
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 5885
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: Blocked from ACP by wordfence

Post by thecoalman »

If it's installed with changes to .htaccess or server config it can certainly affect files within phpBB directory. Software like this usually comes with the means to ignore directories.

https://www.google.com/search?q=wordfen ... bdirectory

This is really not the place to get answers to your questions because whatever is occurring here is happening before anything to do with phpBB.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
User avatar
2600
I've Been Banned!
Posts: 2567
Joined: Fri Nov 14, 2014 5:14 pm
Location: Area-51

Re: Blocked from ACP by wordfence

Post by 2600 »

BroIgnatius wrote: Tue Jun 04, 2019 11:56 pm
KevC wrote: Tue Jun 04, 2019 8:52 pm Are you sure it's not just your hosts mod_security triggering something?

The wordpress and phpBB installations are totally self contained and should have no way of interfering with each other.
I have no idea.
You can go into your cPanel and there should be an option to disable mod_security. If not, ask your host about it. Turn it off first for testing. If that isn't the problem turn it back on. If the problem is mod_security, your host will have to change it to not interfere with your website's.

You can always clear your cache in the FTP. This is not sql related. Log into your FTP and in the cache folder delete the production folder. It will rebuild.
Morpheus: Unfortunately, no one can be told what The Matrix is. You'll have to see it for yourself.
Hack me.
Consider a canary token.
The nature of my chosen username
:ugeek:
User avatar
WDUK
Registered User
Posts: 63
Joined: Fri Jun 04, 2021 3:24 pm
Location: England
Contact:

Re: Blocked from ACP by wordfence

Post by WDUK »

I had the same problem, which is how I ended up on this topic.

I fixed it by unticking the 'Scan files outside your WordPress installation ' option in the 'Scan Options' section of Wordfence.

In case that helps anyone :)
Post Reply

Return to “[3.2.x] Support Forum”