Security warning when logout with Web server authentication and Firefox
- Status
- Open
- Subject
- Security warning when logout with Web server authentication and Firefox
- Version
- 18.x
- Category
- Bug
- Resolution status
- New
- Submitted by
- Mauro Innocenti
- Lastmod by
- Mauro Innocenti
- Rating
- Description
I'm using the last LTS Tikiwiki version (18.1) on Apache 2.2/PHP 5.6/Mysql 5.5.
I configured Tikiwiki with "Web server" authentication method.
Using Firefox (no problems with Chrome), when I logout from Tikiwiki, the browser alert me with this popup:
"You are about to log in to the site "ww.example.com" with the username "admin", but the website does not require authentication. This may be an attempt to trick you.
Is "www.example.com" the site you want to visit?"Looking at code, I found this suspect line (336) of "lib/userslib.php" :
header('Location: ' . str_replace('//', '//admin:@', $url)); // simulate a fake login to logout the user- Importance
- 5
- Easy to solve?
- 10 easy
- Priority
- 50
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 6672
- Created
- Tuesday 29 May, 2018 14:26:30 UTC
by Mauro Innocenti - LastModif
- Tuesday 29 May, 2018 14:26:30 UTC