Support

Admin Tools

#22136 Captcha from AJAX Register is not displayed

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 Tuesday, 24 February 2015 15:36 CST

user86797
Hello,
In my Webside I use "AJAX Register" for registering user. This component replaces the joomla core registration. Before installing and configuring Akeeba Tools the registration form shows the desired Captcha-Picture (see attachment "Captcha working").

After installing and configuring Akeeba Tools (WAF-Firewall and .htaccess maker) the Captcha-Picture is gone (see attachment "Captcha not working").

When registering the Captcha-Picture is stored by "AJAX Register" in the joomla tmp directory (see attachment "Captcha picture in tmp dir"). The tmp directory permission is 777, the Captcha picture file permission 644.

Firebug shows an error 403 (see attachment "Firebug Error 403").

When I remove the .htaccess file the same Problem occurs, so it seems that the error depends from WAF-Firewall configuration. What setting could it be that I have to adjust?

Thanks in advance.

nicholas
Akeeba Staff
Manager
You must NOT use this extension. It is coded in an incorrect and insecure manner.

The extension you are using is storing the CAPTCHA images in the tmp directory of Joomla! and the instructs your visitor's web browser to read them from there. The tmp directory of Joomla! is NOT supposed to be readable from the web and CAN AND SHOULD be pointed to a directory outside the web root. As a result we can safely conclude that the developer who wrote that CAPTCHA extension does not understand the fundamentals of Joomla! site security and Joomla! architecture. For this reason you should not be using it.

FYI, the temporary CAPTCHA images should be stored in a subdirectory of your site's media folder. This is why this folder exists since Joomla! 1.5 (released in 2007, there are no excuses to not know this by now if someone wants to call themselves a Joomla! extensions developer).

If you don't mind opening a potential backdoor to hackers you CAN make it work by adding
tmp
in the "Directories to allow direct access (except .php files)" setting in .htaccess Maker and then click on Save & Create .htaccess. However I do NOT recommend this AT ALL. It nullifies one of the must-have protections .htaccess Maker has to offer. I would recommend getting in touch with the developer of the extension and ask them to use the correct directory (media) instead.

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!

user86797
Thank you very much,

I am delighted with the quick and professional response.

I don´t want to weaken my webside. Fortunately the component Ajax Register also offers to use Google ReCaptcha. I switched this on and everything is workung fine.

Best regards

nicholas
Akeeba Staff
Manager
Very good! For what it's worth, Joomla!'s ReCAPTCHA plugin also uses Google ReCAPTCHA, albeit the old version. Joomla! 3.4 to be released in a few days will have a new ReCAPTCH plugin using the new Google ReCAPTCHA code (also known as "NoCAPTCHA"). So there you go, you will be able to use Google's solution without the need for third party plugins :)

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!