WordPress.org

Ready to get started?Download WordPress

Forums

CSS & JavaScript Toolbox
[resolved] BulletProof Security issue - bypass rule fix (3 posts)

  1. wipeoutmedia
    Member
    Plugin Author

    Posted 1 year ago #

    I wanted to share with everyone the bypass rule for BulletProof Security:

    Symptoms:
    - installation does not progress past the first step, and seems to be in an endless loop.
    - cannot create new blocks, either clicking New Code Block button returns Forbidden 404 error OR if you do get the Create New Code Block popup, clicking CREATE does not do anything.
    - Various functions do not do anything.

    Cause:
    AJAX calls are getting blocked by .htaccess rules created by the BulletProof Security plugin

    The FIX:
    - go into the BulletProof Security dashboard by clicking BPS Security
    - go to the Custom Code tag
    - scroll to the last text-box at the bottom with the title that says:
    ‘CUSTOM CODE WPADMIN PLUGIN FIXES: Add ONLY WPADMIN personal plugin fixes code here’
    - paste this bypass script inside the text-box:

    RewriteCond %{REQUEST_URI} (admin-ajax\.php) [NC]
    RewriteRule . - [S=2]

    - save this script by clicking the ‘Save wp-admin Custom Code’ button
    - click the ‘Security Modes’ tab
    - rebuild the .htaccess files by clicking the blue buttons that says: ‘Create secure.htaccess File’
    - Look under the title ‘Activate Security Modes’ where it says:
    ‘Activate Website wp-admin Folder .htaccess Security Mode’
    and click the radio button ‘BulletProof Mode’ and then click the blue ‘Activate’ button
    - you should now be able to refresh the CJT setup or dashboard page

    If you have another security plugin with similar issues, please let us know in this post and we will look into it further. If you have another security plugin and have worked out a fix or bypass rule yourself, can you please state the security plugin and fix so others can also benefit.

    Many thanks,
    Damian

    http://wordpress.org/extend/plugins/css-javascript-toolbox/

  2. wipeoutmedia
    Member
    Plugin Author

    Posted 1 year ago #

    Hi All,

    In light of recent support regarding CJT and BulletProof Security, if you are still getting the Forbidden 403 Error when trying to create new code blocks, and you have followed the above steps, you may need to manually add the bypass rule (shown below) in another section.

    RewriteCond %{REQUEST_URI} (press-this\.php) [NC]
    RewriteRule . - [S=1]

    Please try inserting this bypass rule manually in the Edit/Upload/Download tab, in the 'Your Current wp-admin htaccess File' tab.

    Scroll down until you reach the comment:
    # BEGIN CUSTOM CODE WPADMIN PLUGIN FIXES: Add ONLY WPADMIN personal plugin fixes code here
    And then paste this underneath the comment:
    RewriteCond %{REQUEST_URI} (admin-ajax\.php) [NC]
    RewriteRule . - [S=2]

    You may need to Turn Off AutoLock to make this happen. After clicking the Update File button, you can then turn AutoLock back on if you wish.

    For some reason, entering the bypass rule using the Custom Code tab does not seem to embed this rule into the wp-admin .htaccess file. We are still investigating the issue and will email the BulletProof Security author for more advice on the matter.

    Thanks,
    Damian

  3. wipeoutmedia
    Member
    Plugin Author

    Posted 1 year ago #

    Hi all,

    I am starting to believe that issues with users of CJT experiencing the Forbidden 403 Error when trying to create new code blocks, is due to the .htaccess file NOT being rebuilt. Please everyone follow the steps exactly as outlined in the first post at the top.

    Thank you
    Damian

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic