Support

Admin Tools

#27806 WAF locks me out when I am logged in to the admin UI

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 the gorilla on Friday, 19 May 2017 09:04 CDT

the gorilla
Hello Akeeba,

I have an ongoing issue with Akeeba WAF that I would really like to resolve.

If I am logged into my website backend and go off to do some other task, still logged in, after about half an hour the WAF raises an Admin Query String exception against my IP, obviously blocking me.

As far as I can recall, this has been happening ever since I have used Joomla 3.x. The simple solution is not to leave the admin UI unattended, but that does not stop this issue from being a nuisance.

Any light you can shed on this would be really helpful.

Thanks,
CGB

dlb
Nicholas figured this out a while back. When you leave your screen open like that, eventually it hits the session time limit and that logs you out. Then the Joomla! keep alive javascript keeps pinging the session and produces security exceptions.

If you have a static IP address, you can fix this by entering your IP in the "Never block these IPs" field.

If you have a dynamic IP address, you can't fix it, you can only slow it down. Go to the Joomla! Global Configuration screens and increase the session timeout setting. That will give you a longer period of time to come back and start working again, but eventually you will get locked out again.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

the gorilla
Thanks for the reply, Dale. That is pretty much as I thought would be the case, and it's also why I have not raised it before. I was hoping that eventually someone would put a change request in and make a design change to resolve this issue.

Regards,
CGB

dlb
I'm sorry I couldn't give you better news.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

the gorilla
Just a thought, and then I guess this ticket is closed. When the session times out, a routine could be created to ensure that the last successful user was not added to the blocklist. Something like this pseudocode...


most-recent-session-user-ip = 'nnn.nnn.nnn.nnn' // Successful session user's IP address

IF session-ended AND (login-attempt-ip == most-recent-session-user-ip) THEN
// don't include IP on block list
....
....
ENDIF


Regards,
CGB

dlb
I flagged your ticket for Nicholas and Davide. They discussed it. This is the bit that I understood:
Davide Tampellini [9:31 AM]

The problem is that when the session expires, there's no event we can "hook" on it

this only happens when the user manually click on the "logout" button



Nicholas Dionysopoulos [9:31 AM]

The session is the "memory". When it's lost you can't "remember" anything.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

the gorilla
Thanks for looking into this Dale. However, I'm hoping that this may not be the end of the matter and some time might eventually be found to resolve this issue. I have confidence that ND and the development folks there at Akeeba (I'm assuming it is more than Nicholas on his own nowadays) are capable of cracking this issue if they can find time to look at it.

Regards CGB

Please go ahead and close this ticket

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!