Home arrow Forum Not safe?
  Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2008, 06:20:00 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 2.0.x (Moderators: -Wolverine, kai920)
| | | |-+  Not safe?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Not safe?  (Read 2093 times)
etienne goossens
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


View Profile
Not safe?
« on: February 18, 2007, 10:58:02 AM »

Hello,

If I look into my stats program, i can see the user passwords from the SMF forum. I example is: http://www.whoami.com/component/option,com_smf/Itemid,3/action,login2/hash_passwrd,0/user,Test/passwrd,Biller79/cookielength,150/

Is it possible to make the password not visable?


Thanks

Etiënne
Webmaster
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Not safe?
« Reply #1 on: February 18, 2007, 01:08:11 PM »

stats program?  Basically this url is used to log a user into SMF however it is something that does not get logged to browser history and should never be seen by the user. 
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Oldiesmann
Joomla Newbie
*

Karma: +3/-0
Offline Offline

Posts: 3



View Profile WWW
Re: Not safe?
« Reply #2 on: February 18, 2007, 10:41:32 PM »

The URL will indeed be logged in the browser's history, because at some point, the browser is directed to that URL, whether directly (by clicking on something) or indirectly (being redirected there from another page). Server-side stats programs such as AWStats will also log the URL since the user visited that URL.

Passing the un-hashed password via the query string is extremely insecure - especially on public computers. This is a serious flaw that needs to be addressed. We have already made the decision to warn our users about this, and we would appreciate it if you addressed this.
« Last Edit: February 18, 2007, 11:00:34 PM by Oldiesmann » Logged

Michael "Oldiesmann" Eshom
SMF Project Manager
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Not safe?
« Reply #3 on: February 18, 2007, 11:11:44 PM »

Thanks for your post.  Please do not alarm my users by false claims.  I have tested this in all major browsers(IE, Firefox, Opera) and the URL does not get logged to the browser history if the bridge is properly configured.  Unless you have tested this I don't appreciate the unfounded implication.  Although this code is not mine, it has been in the bridge since inception.  That does not excuse it however I debate that point and do not wish to alarm the users of this bridge without cause. 

Serverside stats may indeed log the url, however this was the first report of such.

I have attempted to refactor this code in the past and received very few responses and none from the dev team.  (see this topic).  Any help you can provide beyond your initial post would be very much appreciated.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
slashDX
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


View Profile
Re: Not safe?
« Reply #4 on: February 19, 2007, 01:11:48 AM »

I got the same "problem" here. I just want to know if this is insecure.

I use:

Joomla 1.0.12
SEF Advance
JoomlaStats (this component logs that kind of URL with the user and pass)
SMF 1.1.2
JSMF 2.0

Im a little bit worried cuz it could be a security issue  Huh. I hope its not.

Note: That URLS just get logged into JoomStats if i LOGIN from the forum login form and NOT when i log into the JSMF Module. Its all weird ...
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Not safe?
« Reply #5 on: February 19, 2007, 10:08:07 AM »

from the forum login form?  Thats very strange.  I guess the question is who has access to those stats?  Isn't that a backend component? 
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
slashDX
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


View Profile
Re: Not safe?
« Reply #6 on: February 19, 2007, 10:12:35 PM »

Hi Wolverine:

In fact, it is a component for the back end, in theory, only the admin has access to all stats, but i think that not even the admin should see the passwords of visitors. But like i said before, it only gets logged in the JoomStats if the login was from the forum and not the JSMF. I dont know why this happens, if i discover something else ill keep in touch.
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Not safe?
« Reply #7 on: February 19, 2007, 11:13:18 PM »

please do.  I am continuing to work on a new solution as well.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
etienne goossens
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


View Profile
Re: Not safe?
« Reply #8 on: February 20, 2007, 01:09:58 PM »

I hate to see passwords from peoples.
They are private. Mostly the password is -> pin from bank or like that
Also there are other webmasters as me.

Here is a screenshot:



I hope you can fix this bug  Wink

Thanks for this bridge

Etiënne
Main webmaster
Dixieboys radio
« Last Edit: February 20, 2007, 01:21:40 PM by etienne goossens » Logged
Oldiesmann
Joomla Newbie
*

Karma: +3/-0
Offline Offline

Posts: 3



View Profile WWW
Re: Not safe?
« Reply #9 on: February 26, 2007, 11:48:33 AM »

Sorry for the delayed response here.

Are you still having problems with the Login2 function? I wasn't aware of that post.

If you have to pass the password through the URL, you should pass the encrypted password and set hash_passwrd to "1". The code we use to hash passwords is as follows:

Code:
sha1(strtolower({membername}) . {password});

{membername} = the username
{password} = the password
Logged

Michael "Oldiesmann" Eshom
SMF Project Manager
slashDX
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


View Profile
Re: Not safe?
« Reply #10 on: February 26, 2007, 12:07:19 PM »

Sorry for the delayed response here.

Are you still having problems with the Login2 function? I wasn't aware of that post.

If you have to pass the password through the URL, you should pass the encrypted password and set hash_passwrd to "1". The code we use to hash passwords is as follows:

Code:
sha1(strtolower({membername}) . {password});

{membername} = the username
{password} = the password

Hey, thx for the reply, but, i dont understand where to change those settings for the password being encrypted.

And just one thing: the password never is showed through URL in the browser, but it gets logged into JoomlaStats when i login from the SMF forum and NOT when i login from the brigge.
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Not safe?
« Reply #11 on: February 26, 2007, 09:51:17 PM »

I was able to get the Login2() to work correctly for Joomla 1.5 however there are a few problems that still remain.  It does not login in Joomla so I'm more than halfway to resolving this for good. 
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login