Support

Admin Tools

#36676 I get blocked all time on my own website

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Wednesday, 23 February 2022 02:24 CST

matzah

Hello,

I have a development site that has the frontend password protected via .htaccess. Recently the system has started to block me when I work on the site. I get the message on how to send an e-mail to access the website temporary. I used to unblock my IP in WAF. But it reoccurs over and over. I am not sure on how to solve this, since I don't know if The Administrator Exclusive Allow IP List is the right way to solve it. I don't want to stop any other super admin, just allow my IP to be tolerated by Admin Tools.

What skould I do?

Best regards

Matzah.

   

 

 

nicholas
Akeeba Staff
Manager

The first thing you need to do is check the Blocked Requests Log to find out what the Reason and Target URL are when your IP address is blocked. If there's a consistent reason we can help with it.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

matzah

Hello,

IP: 94.254.87.163

Reason: WAF Deny List

URL: https://dev2.clarte.se/component/users/?view=login&Itemid=101

There are other IPs that have been blocked with the same reasons, but only 94.254.87.163 is my computer.

Yesterday I had to unblock myself 4-5 times during a period of 2-3 hrs.

Best regards

nicholas
Akeeba Staff
Manager

The WAF Deny List reason means that you are triggering one of the “always block these requests” rules set up in Admin Tools, Web Application Firewall, WAF Deny List page. There are only three rules we ship with Admin Tools. The Target URL you see is the Joomla login page.

Here's the thing. None of the three rules we ship with Admin Tools can be triggered by the login page under normal circumstances. These leaves us with two options.

1. You have created a new WAF Deny List rule or modified a new one. I would assume that if you had done that you'd know about it but it's also possible that you thought you were doing something else (per the old UNIX adage: to err is human, to truly mess things up requires assistance from a computer programme).

2. Some third party extension is triggering an existing rule. Based on your issue description so far that would very likely be rule #2.

Check if you only have three rules. If there are more rules you have added something. Think about what you added and why.

Make sure that rule number 2 appears as Frontend, Verb: (Any), Component: com_users, Task: (All), Query Parameter: Partial user[groups] (Any Content). If it is different than that you have changed it. Think about why you changed it or, better yet, restore it back to its original settings.

If there are only three rules and rule #2 is intact you have some third party plugin doing something idiotic, sending a user group with the login form or allowing you to edit the user groups from the frontend. Rule #2 is there to prevent against exactly that and for a good reason: allowing the submission of user-selected user groups in the frontend of com_users can potentially open your site to privilege escalation (a ‘mere mortal’ user assigning themselves Super User privileges, thereby taking over your site).

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

matzah

Thanks for your reply. I do indeed have more than three rules in the WAF Deny List. I attach an image showing what it is like.

I really can't imaging me adding anything here. I would know what to do. But I must have done something.

Can you see what's wrong with this list?

Best regards 

nicholas
Akeeba Staff
Manager

The third rule in your screenshot is something you added and blocks the entire com_users login page. This is not something we ship with Admin Tools.

You can see the three rules shipped with Admin Tools in administrator/components/com_admintools/sql/install.mysql.utf8.sql lines 153 to 163 (for Admin Tools 7.1.1). Three rules, none of which is blocking the entire frontend login page.

Delete that rule you added.

Please note that this is a self-inflicted issue. You added something even though you don't remember doing it. Since you are now aware of your mistake and how to fix it I am closing this ticket.

 

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!