Welcome, Guest. Please Login or Register.
April 27, 2025, 10:57:42 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  General Category  |  Feedback  |  Security Hole ??? « previous next »
Pages: [1] 2 Reply Ignore Print
Author Topic: Security Hole ???  (Read 1157 times)
Micalus
Noobie
*
Posts: 4


huhu absolutistisch korreckt !

Security Hole ???
« on: September 18, 2002, 10:07:15 AM »
Reply with quote

Hi there !

We lately opend a little Board and asked people to check security. They found that if you write a message to an other user this message allways is directed to the LOGIN-Name of the user and NOT to the nickname you can choose individualy.

So if the Admin of a Board uses a nickname, everybody can find out his LOGIN and so half the Information he needs to log in as Administrator.

Never the less choosing a nikname under this circumstances is somewhat counterproductive, or ?

Does anybody have an idea or fix ?
Logged
Compuart
Quality, Quality, Quality!
YaBB God
*****
Posts: 1283


ICQ - 8801024Compuart@hotmail.com WWW
Re:Security Hole ???
« Reply #1 on: September 18, 2002, 10:26:10 AM »
Reply with quote

Quote from: Micalus on September 18, 2002, 10:07:15 AMSo if the Admin of a Board uses a nickname, everybody can find out his LOGIN and so half the Information he needs to log in as Administrator
The login name is not intended to be secret in any way. In most cases it's the same as the display name. To login you would need a password as well. As long as you don't know the password, a login name is useless, right?
Logged

Micalus
Noobie
*
Posts: 4


huhu absolutistisch korreckt !

Re:Security Hole ???
« Reply #2 on: September 18, 2002, 11:35:57 AM »
Reply with quote

Well I think its not right at all and there is a second thing, too:

If I log in and perhaps got the Capslock on or type my password note 100% correct I get a site with my Loginname and my typed password as blank written !

So if anybody looks on my screen, for instance a jealous kollegue, he got my password !!!

Well mayby its a little paradoid, but I like to have that fixed; has anybody some mod therefor ?
« Last Edit: September 18, 2002, 11:40:54 AM by Micalus » Logged
Sir_Redferne
Noobie
*
Posts: 11


I'm a llama!

Re:Security Hole ???
« Reply #3 on: September 18, 2002, 11:40:46 AM »
Reply with quote

Hi, Compuart,

Every security-advisor would "cut your head off" ;), if he would read your reply. The account name IS the first information, that you must know before you can try to guess or hack the password. Every major operating system has a function to rename strategic user accounts to make it more difficult to guess the user/password - combination.  But answer me another question: Are there already any functions in this board to lock out an account, if the password has been entered wrong too many times? I don't think so! So, wouldn't it be more secure, if communication inside the board would reference the nickname inspite of te login name, because it is more difficult to hack a user account when you don't know it's name? If I would be a programmer and not only administrator I would also remove the following security holes:

1) Username is referenced instead of nickname.
2) "More stats" displays subjects of "hidden" categories to every logged in user, even, if not member of those categories.
3) Entering of the wrong password leads to an error message, which displays username and password in clear text. (Simple Error Message "User or PWD incorrect" would resolve this problem).

If you are an YABB developer, security should be a concern for you, don't you agree?

Any comments?

Sir_Redferne
« Last Edit: September 18, 2002, 11:42:04 AM by Sir_Redferne » Logged
Compuart
Quality, Quality, Quality!
YaBB God
*****
Posts: 1283


ICQ - 8801024Compuart@hotmail.com WWW
Re:Security Hole ???
« Reply #4 on: September 18, 2002, 12:18:01 PM »
Reply with quote

Quote from: Sir_Redferne on September 18, 2002, 11:40:46 AMEvery security-advisor would "cut your head off" ;), if he would read your reply.
Luckily security advisors have to be paid $200/hour first before they do anything at all... :P

QuoteThe account name IS the first information, that you must know before you can try to guess or hack the password.
agreed, it is the first step, but that doesn't mean that there's a security hole if this login name is known.

QuoteEvery major operating system has a function to rename strategic user accounts to make it more difficult to guess the user/password - combination.
YaBB is not an OS, so security is different as well. Strategic user accounts might be a feature in a Bulletin Board, but for YaBB 1 it isn't.

QuoteBut answer me another question: Are there already any functions in this board to lock out an account, if the password has been entered wrong too many times?
Nope, you could write one if you think it'll make your board more secure

QuoteSo, wouldn't it be more secure, if communication inside the board would reference the nickname inspite of te login name, because it is more difficult to hack a user account when you don't know it's name?
It would be more secure. But that still doesn't make this board insecure. The login name originated from the original YaBB where it was used as unique identification. This still is the case for Instant Messages, because display names are not unique and therefor cannot be used as recipient (that would even be more insecure because someone could evesdrop IM's by taking over someone's display name).

Quote"More stats" displays subjects of "hidden" categories to every logged in user, even, if not member of those categories.
This is by design.
QuoteEntering of the wrong password leads to an error message, which displays username and password in clear text. (Simple Error Message "User or PWD incorrect" would resolve this problem).
yeah, I guess that would be more secure

QuoteIf you are an YABB developer, security should be a concern for you, don't you agree?
Security IS a big concern to me. I haven't developed YaBB SE 1, but did fix some 'real' security holes. But to implement the secret username would have a great impact on the source code and therefore only increase the chance of (security) bugs. Besides, I'm currently working on development of YaBB SE 2 and I can assure you it will not use login names for other functions than to login.
Logged

Micalus
Noobie
*
Posts: 4


huhu absolutistisch korreckt !

Re:Security Hole ???
« Reply #5 on: September 18, 2002, 12:32:54 PM »
Reply with quote

As far as I know, the nichnames ARE unique !

We have tested to use one twice, the system denied that !
Logged
Compuart
Quality, Quality, Quality!
YaBB God
*****
Posts: 1283


ICQ - 8801024Compuart@hotmail.com WWW
Re:Security Hole ???
« Reply #6 on: September 18, 2002, 12:39:02 PM »
Reply with quote

Quote from: Micalus on September 18, 2002, 12:32:54 PMAs far as I know, the nichnames ARE unique !

We have tested to use one twice, the system denied that !
That's because a test was added in 1.4.1 to assure noone can set his/her display name to a user/display name already existing. The fact that no new non-unique usernames can be added doesn't assure some 'old' duplicate user/display names still exist.
Logged

Jedi~
Eric
Beta Tester
YaBB God
*****
Posts: 1284


WWW
Re:Security Hole ???
« Reply #7 on: September 18, 2002, 09:18:01 PM »
Reply with quote

Quote from: Compuart on September 18, 2002, 12:18:01 PM
Quote from: Sir_Redferne on September 18, 2002, 11:40:46 AM"More stats" displays subjects of "hidden" categories to every logged in user, even, if not member of those categories.
This is by design.
Actually it doesn't show them, you should know that Compuart ::)
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Security Hole ???
« Reply #8 on: September 18, 2002, 09:21:24 PM »
Reply with quote

Quote from: Jedi~ on September 18, 2002, 09:18:01 PM
Quote from: Compuart on September 18, 2002, 12:18:01 PM
Quote from: Sir_Redferne on September 18, 2002, 11:40:46 AM"More stats" displays subjects of "hidden" categories to every logged in user, even, if not member of those categories.
This is by design.
Actually it doesn't show them, you should know that Compuart ::)
yes it does ;)
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Compuart
Quality, Quality, Quality!
YaBB God
*****
Posts: 1283


ICQ - 8801024Compuart@hotmail.com WWW
Re:Security Hole ???
« Reply #9 on: September 18, 2002, 09:32:08 PM »
Reply with quote

it does show the topics, but doesn't show the contents of the topic. That's why it isn't considered a security hole, but a design choice (not mine btw :P)
Logged

Jedi~
Eric
Beta Tester
YaBB God
*****
Posts: 1284


WWW
Re:Security Hole ???
« Reply #10 on: September 18, 2002, 09:51:00 PM »
Reply with quote

Actually I just checked it, I was logged in as a brad new member, couldn't see the subjects listed for anything, it might be new in 1.4.1, but it's all in the query, it will only select stuff you have access to to show.
Logged
Ben_S
Disciple of Joe
Support Team
YaBB God
*****
Posts: 1586


I Love YaBB SE!

WWW
Re:Security Hole ???
« Reply #11 on: September 18, 2002, 09:52:39 PM »
Reply with quote

If you were to use the diaplay name for sending instant messages and someone who you are about to send an IM to changes their displayname, and someone else changes their display name to the display name that the person you were going to send the IM to, then the IM would goto the wrong person.

The way things are now if fine...
Logged
Compuart
Quality, Quality, Quality!
YaBB God
*****
Posts: 1283


ICQ - 8801024Compuart@hotmail.com WWW
Re:Security Hole ???
« Reply #12 on: September 18, 2002, 10:03:48 PM »
Reply with quote

Quote from: Jedi~ on September 18, 2002, 09:51:00 PMActually I just checked it, I was logged in as a brad new member, couldn't see the subjects listed for anything, it might be new in 1.4.1, but it's all in the query, it will only select stuff you have access to to show.
You'd have to check the topic replies top 10 in 'more stats'. Here's some 1.4.1 source taken out of this page:
$topic_reply_result = mysql_query("SELECT {$db_prefix}topics.*,m.* FROM {$db_prefix}topics,{$db_prefix}messages as m, {$db_prefix}messages as mes WHERE (m.ID_MSG={$db_prefix}topics.ID_FIRST_MSG && mes.ID_MSG={$db_prefix}topics.ID_LAST_MSG) ORDER BY {$db_prefix}topics.numReplies DESC LIMIT 10");
There's nothing about permissions in here (that would at least require a call to the members table). So topics DO show.
Logged

David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:Security Hole ???
« Reply #13 on: September 19, 2002, 03:53:25 AM »
Reply with quote

Quote from: Sir_Redferne on September 18, 2002, 11:40:46 AMThe account name IS the first information, that you must know before you can try to guess or hack the password. Every major operating system has a function to rename strategic user accounts to make it more difficult to guess the user/password - combination.
Windows this account has the username of administrator.  By defualt it ships with no password on that account.  Bet you can't guess the username for *nix, it is root.  ;)
Logged

A.M.A.
YaBB God
*****
Posts: 685


.:: :-) ::.

evolve_xp@hotmail.com WWW
Re:Security Hole ???
« Reply #14 on: September 19, 2002, 04:29:18 AM »
Reply with quote

and can any one tell me why the password to YaBBSE's database is not encrypted in the Settings.php!!!
Logged

Pages: [1] 2 Reply Ignore Print 
YaBB SE Community  |  General Category  |  Feedback  |  Security Hole ??? « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.201 seconds with 18 queries.