Wordfence “Optimize the Wordfence Firewall” bust with chroot’d FTP
-
When trying to run the “Optimize the Wordfence Firewall” procedure on a server that has chroot’d FTP access to write to the filesystem, Wordfence tries to write wordfence-waf.php using the path created by getWAFBootstrapPath. This function uses ABSPATH as the path prefix which in the case of the FTP (and SFTP I assume) with chroot is wrong.
I can see from the FTP logs that Wordfence is trying to “PUT” the file using the full pathname.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Wordfence “Optimize the Wordfence Firewall” bust with chroot’d FTP’ is closed to new replies.