BPS is blocking MainWP Google Analytics Extension connection to GA account

Home Forums BulletProof Security Pro BPS is blocking MainWP Google Analytics Extension connection to GA account

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #39963
    Zoran
    Participant

    Hi,

    I’m trying to connect “MainWP Google Analytics Extension” plugin to Google Analytics account but getting 403 error. Here is a log:

    [403 GET Request: January 28, 2021 - 12:20]
    BPS Pro: 15.1
    WP: 5.6
    Event Code: WPADMIN-SBR
    Solution: https://forum.ait-pro.com/forums/topic/security-log-event-codes/
    REMOTE_ADDR: 162.158.202.246
    Host Name: 162.158.202.246
    SERVER_PROTOCOL: HTTP/1.1
    HTTP_CLIENT_IP:
    HTTP_FORWARDED:
    HTTP_X_FORWARDED_FOR: 77.238.199.140
    HTTP_X_CLUSTER_CLIENT_IP:
    REQUEST_METHOD: GET
    HTTP_REFERER: https://accounts.google.com/
    REQUEST_URI: /wp-admin/admin.php?page=Extensions-Mainwp-Google-Analytics-Extension&mainwp_ga=1&code=4/0AY0e-g5mK1se6RFtSKTlcqrFEbvBU-wPAKq3W7nrierY1rMrcbyne2pirn64wD3EBuu_Rw&scope=https://www.googleapis.com/auth/analytics.readonly
    QUERY_STRING: page=Extensions-Mainwp-Google-Analytics-Extension&mainwp_ga=1&code=4/0AY0e-g5mK1se6RFtSKTlcqrFEbvBU-wPAKq3W7nrierY1rMrcbyne2pirn64wD3EBuu_Rw&scope=https://www.googleapis.com/auth/analytics.readonly
    HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36
    

    Thanks in advance

    #39964
    AITpro Admin
    Keymaster

    The Request URI is simulating an RFI hacking attempt. To fix/whitelist this problem do the steps below.

    1. Go to the BPS Pro > Custom Code page > click the wp-admin htaccess File Custom Code accordion tab/button.
    2. Copy the BPS wp-admin plugin skip/bypass rule code below into this BPS wp-admin Custom Code text box: 3. CUSTOM CODE WPADMIN PLUGIN/FILE SKIP RULES
    3. Click the Save wp-admin Custom Code button.
    4. Go to the BPS Setup Wizard page and rerun the Pre-Installation wizard and Setup wizard.

    # MainWP Google Analytics Extension plugin Query String skip/bypass rule
    RewriteCond %{QUERY_STRING} page=Extensions-Mainwp-Google-Analytics-Extension(.*) [NC]
    RewriteRule . - [S=3]
    #39965
    Zoran
    Participant

    Thank you very much, problem is solved. I really appreciate your support and expediency.

    #39966
    AITpro Admin
    Keymaster

    Very welcome. Thanks for confirming the fix works.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.