Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Forums ⇒ CMS (All) ⇒ Security :: Archives ⇒ Password Display :: Archived


Password Display :: Archived
Post any security related questions in here.
Please send discovered reports to security @ cpgnuke.com
Do Not post links to exploits or hacker sites - your post will be edited/deleted.
If you think you've been hacked, FIRST go through your server logs.

Go to page 1, 2  Next
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  Security

Topic Archived View previous topic :: View next topic  
Author Message
Mystic
Diamond Supporter
Diamond Supporter

Offline Offline
Joined: Jun 25, 2004
Posts: 1312
Location: Spokane, WA USA
PostPosted: Mon Sep 26, 2005 6:40 am
Post subject: Password Display

When a new user registers there is a screen that is horrible for security. It is the screen that shows the user the registration information that they just entered.

What in the world is their password doing being displayed in plain site? We blank out the password on entry, but display it to everyone shortly afterwards.

I've had a problem with this for a while just never got around to pointing this out until now.

I was showing our site to some bigwigs at our NOC when one of them was logging in showing everyone on a viewer. He registered for the site then, BANG, his password was displayed for everyone to see.

This should be changed ASAP.

=======================================
While I'm on the security issues.

When a user registers on the site, the site should not mail the user their password along with their username.

Again, poor security.

The username can be emailed, and later, if they forget their password, the password can be sent to their valid email address, but not along with their username.

The username and password should never be in the same email to a user.

_________________
- |\/|ystic

Mystic's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.20-16/Apache/5.0.38/5.2.1/9.0.6.1
Back to top
View user's profile ICQ Number AIM Address Yahoo Messenger
norbie
Silver Supporter
Silver Supporter

Offline Offline
Joined: Jun 29, 2004
Posts: 737
Location: Norbie's World
PostPosted: Mon Sep 26, 2005 8:04 am
Post subject: Re: Password Display

I second all that ^

_________________
Norbie

www.norbiesworld.co.uk

norbie's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / Apache Custom Version / 4.0.26-standard (client: 5.0.15) / 4.4.4 / 9.1.1
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger
mc__
Debugger
Debugger

Offline Offline
Joined: Jul 12, 2005
Posts: 452
Location: QLD, Australia
PostPosted: Mon Sep 26, 2005 9:17 am
Post subject: Re: Password Display

the email thing isn;t such an issue (its tradition that it will b in there. it goes without saying that it will be. hardly any cms-like systems dont do it).

however i totaly forgot about that signup thing. YES it should be changed. the very next version of df should come without that. good point mystic.

_________________


mc__'s server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux (Kernel: 2.4.21-27.0.2.ELsmp)/1.3.33 (Unix)/4.0.24-standard/4.3.11/9.0.5.0
Back to top
View user's profile Visit poster's website MSN Messenger
Mystic
Diamond Supporter
Diamond Supporter

Offline Offline
Joined: Jun 25, 2004
Posts: 1312
Location: Spokane, WA USA
PostPosted: Mon Sep 26, 2005 1:41 pm
Post subject: Re: Password Display

mc__ wrote:
the email thing isn;t such an issue (its tradition that it will b in there. it goes without saying that it will be. hardly any cms-like systems dont do it).

Tradition does not make it secure.

One of Dragonfly's main selling point is its security in code. Why toss that all out the window for tradition?

You should never see an organization such as a bank using that type of "tradition" on their site.

Sending passwords with usernames does not add to the functionality of Dragonfly, but the change would certainly add to its security.

_________________
- |\/|ystic

Mystic's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.20-16/Apache/5.0.38/5.2.1/9.0.6.1
Back to top
View user's profile ICQ Number AIM Address Yahoo Messenger
djdevon3
Gold Supporter
Gold Supporter

Offline Offline
Joined: Aug 05, 2004
Posts: 4363

PostPosted: Mon Sep 26, 2005 3:28 pm
Post subject: Re: Password Display

i'll agree with mystic. the only time your password should be visible to you is when you request a forgotten password. period. that's being secure.


djdevon3's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.33/4.4/4.3.11
Back to top
View user's profile Visit poster's website Photo Gallery
norbie
Silver Supporter
Silver Supporter

Offline Offline
Joined: Jun 29, 2004
Posts: 737
Location: Norbie's World
PostPosted: Mon Oct 10, 2005 7:40 am
Post subject: Re: Password Display

Has anyone got a temp workaround to replace the password on screen with 6 asterisks?

_________________
Norbie

www.norbiesworld.co.uk

norbie's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / Apache Custom Version / 4.0.26-standard (client: 5.0.15) / 4.4.4 / 9.1.1
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger
djdevon3
Gold Supporter
Gold Supporter

Offline Offline
Joined: Aug 05, 2004
Posts: 4363

PostPosted: Mon Oct 10, 2005 9:10 am
Post subject: Re: Password Display

that should be easy enough if it's a form just replace the type=password and asterix should automatically display instead.


djdevon3's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.33/4.4/4.3.11
Back to top
View user's profile Visit poster's website Photo Gallery
tank
Gold Supporter
Gold Supporter

Offline Offline
Joined: Apr 20, 2004
Posts: 824
Location: Houston, Texas USA
PostPosted: Mon Oct 10, 2005 12:52 pm
Post subject: Re: Password Display

The email thing isn't a big deal. Signing up and emailing it is no different than requesting your password and emailing it. Both are visible through your email. Most users like to have it as a record of password so they can go back and retrieve it through their email system.

The first issue I do agree with.

_________________
Search is your friend

tank's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora Core 1, Apache 1.3.33, Mysql 4.1.14, PHP 5.0.5 w/ APC cache, Dragonfly 9.0.6.1
Back to top
View user's profile Visit poster's website
Biggles
Debugger
Debugger

Offline Offline
Joined: Aug 03, 2005
Posts: 637
Location: St. Louis, MO
PostPosted: Mon Oct 10, 2005 1:59 pm
Post subject: Re: Password Display

Change line 154 of modules/Your_Account/register.php to

PHP:
<tr><td><b>'._PASSWORD.':</b></td><td>******</td></tr>.$content;


Biggles's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Win, Linux/1.3.34/4.0.26, 5.0.19/4.3.10, 5.1.2, 8.1.4(PostgresSQL)/9.0.6.1, CVS
Back to top
View user's profile Visit poster's website ICQ Number AIM Address MSN Messenger Yahoo Messenger
norbie
Silver Supporter
Silver Supporter

Offline Offline
Joined: Jun 29, 2004
Posts: 737
Location: Norbie's World
PostPosted: Mon Oct 10, 2005 2:05 pm
Post subject: Re: Password Display

Thankyou!!

_________________
Norbie

www.norbiesworld.co.uk

norbie's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / Apache Custom Version / 4.0.26-standard (client: 5.0.15) / 4.4.4 / 9.1.1
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger
Mystic
Diamond Supporter
Diamond Supporter

Offline Offline
Joined: Jun 25, 2004
Posts: 1312
Location: Spokane, WA USA
PostPosted: Mon Oct 10, 2005 3:17 pm
Post subject: Re: Password Display

tank wrote:
The email thing isn't a big deal. Signing up and emailing it is no different than requesting your password and emailing it. Both are visible through your email.

As you say, email is visible and "in the clear" when it is being sent and easily intercepted and read. Let me explain how what I am talking about is certainly different.

The way it is being done now, if someone intercepts, or even "sees" an email with both the username and password on it, case cloased. All of the information to get into the account is handed to them in one nice package.

If, however, the password and username are only sent in different emails the task to use these to an advantage by some "sniffing" packets is greatly increased.

Here's how the email thing should work for increased security.

1. When a user signs up they can be sent a welcome to the website "username" email. There is no need to send them their password since they just signed up. If they choose to have the site generate a password you can add a line in the email stating that their password will be sent to them in another message.

2. If a user forgets their password and requests it to be sent to them, then send them just the password, not the username and password. They already know their username, that's how they were able to request their password.

3. If they need both their username and password sent because they used their email address to request the information, then the same procedure as step #1 above can be used.

tank wrote:
Most users like to have it as a record of password so they can go back and retrieve it through their email system.

I understand this, and frankly I do this as well.

My suggestions are not designed to make the user's life easier, they are designed to increase security for a CMS that advertises security as one of its main selling points.

My final request is that there should be a setting to not allow the site to "remember" user logins. If you want the site to be used as a more secure site, then you do not want the user to be "remembered" every time they return. For positive ID type sites the administrator should be able to set it so that the users MUST login each time they visit the site.

_________________
- |\/|ystic

Mystic's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.20-16/Apache/5.0.38/5.2.1/9.0.6.1
Back to top
View user's profile ICQ Number AIM Address Yahoo Messenger
mcadle
Nice poster
Nice poster

Offline Offline
Joined: Jun 24, 2004
Posts: 90
Location: Yuma, AZ / USA
PostPosted: Thu Oct 13, 2005 4:49 pm
Post subject: Re: Password Display

Ok, I fixed the password issue in all places. I believe, that I also disabled the username from the lost password email. Here is the code:

modules/your_account/register.php

line 154:
Code::
<tr><td><b>'._PASSWORD.':</b></td><td>*******</td></tr>'.$content;

line 232:
Code::
$message .= _TOAPPLY." $sitename.\n\n"._WAITAPPROVAL."\n\n"._FOLLOWINGMEM."\n"._USERNAME.": $username\n"._PASSWORD.": *******";

line 249:
Code::
$message .= _FOLLOWINGMEM."\n"._USERNAME.": $username\n"._PASSWORD.": ******";

line 251:
Code::
$message .= _TOAPPLY." $sitename.\n\n"._WAITAPPROVAL."\n\n"._FOLLOWINGMEM."\n"._USERNAME.": $username\n"._PASSWORD.": ******";

To disable username in email:

modules/your_account/index.php

line 98:
Code::
$message = _USERACCOUNT." ******* "._AT." $sitename "._HASTHISEMAIL."  "._AWEBUSERFROM." ".decode_ip($userinfo["user_ip"])." "._HASREQUESTED."\n\n"._YOURNEWPASSWORD." $newpass\n\n "._YOUCANCHANGE." ".getlink('Your_Account', true, true)."\n\n"._IFYOUDIDNOTASK;

This works for me...but no guarantees as I am not a PHP/MySQL dev. Hope this helps.

_________________
- mcadle

Check out CFuze.com for all the ColdFusion, Flex, and ActionScript help you could ever want or need. Get things done easier with CFuze.com.

mcadle's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Suse Linux 9.1 pro / Apache 2.0.49 / Mysql 4.0.18 / PHP 4.3.4 / DF 9.0.6.1
Back to top
View user's profile Visit poster's website Yahoo Messenger
NEMINI
Diamond Supporter
Diamond Supporter

Offline Offline
Joined: Apr 22, 2004
Posts: 4551

PostPosted: Thu Oct 13, 2005 4:55 pm
Post subject: Re: Password Display

Since we're speaking of passwords, I shall bring up another issue thats always bothered me. If you have another superuser besides yourself, and use SMTP your password is in the open.

admin.php?op=settings&s=7

_________________
NEMINI.org, NEMINI.us, NEMINI.info, NYMINI.org

NEMINI's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
1.3.34 (Unix)/4.1.18-standard/4.4.2 /9.1.0.8 CVS
Back to top
View user's profile Visit poster's website Photo Gallery
Mystic
Diamond Supporter
Diamond Supporter

Offline Offline
Joined: Jun 25, 2004
Posts: 1312
Location: Spokane, WA USA
PostPosted: Thu Oct 13, 2005 5:45 pm
Post subject: Re: Password Display

I fully realize that the devs and Jr. devs Wink are very busy, but it would be nice to see some, if not all, of these issues addressed in the next core release.

Many admins have come to Dragonfly for its security-conscience appraoch and I would like to see security of the CMS remain a priority.

_________________
- |\/|ystic

Mystic's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.20-16/Apache/5.0.38/5.2.1/9.0.6.1
Back to top
View user's profile ICQ Number AIM Address Yahoo Messenger
Rayvenhaus
Silver Supporter
Silver Supporter

Offline Offline
Joined: May 10, 2004
Posts: 567
Location: Kirkland, WA
PostPosted: Thu Oct 13, 2005 5:49 pm
Post subject: Re: Password Display

I agree 100% and yes, you are right, the current devs are stretched to the max. Heck, I'm even having trouble finding a pocking programmer or two for the Forums.

I would like to see the security measures you've spoken on implimented into the core.

_________________
quis custodiet ipsos custodes

Rayvenhaus's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Debian/3.x/5.x/5.3/???
Back to top
View user's profile Send e-mail Visit poster's website ICQ Number AIM Address MSN Messenger Yahoo Messenger
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  Security
Page 1 of 2
All times are GMT
Go to page 1, 2  Next

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

read more...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy