Could someone with a packet sniffer find out my phpbb pass

Do not post support requests, bug reports or feature requests. Discuss phpBB here. Non-phpBB related discussion goes in General Discussion!
Scam Warning
User avatar
MPG187
Registered User
Posts: 519
Joined: Sun Apr 12, 2009 7:39 pm
Location: Operation420.net
Name: Operation 420
Contact:

Could someone with a packet sniffer find out my phpbb pass

Post by MPG187 »

Could someone with a packet sniffer find out my phpbb password? I am just wary of this. When I sign in my password isn't send out in plaintext on the network is it? I assume and hope when I type my password a hash of my password is sent out...
phpBB 3.0.4, http://operation420.net/forum, download package from phpBB.com (fresh install), mods installed, British English, MySQL 4.1.14
User avatar
T0ny
Registered User
Posts: 1383
Joined: Sun Jan 29, 2006 8:42 pm
Location: Lancashire
Name: Tony

Re: Could someone with a packet sniffer find out my phpbb pass

Post by T0ny »

The password is sent in plain text during login
User avatar
MPG187
Registered User
Posts: 519
Joined: Sun Apr 12, 2009 7:39 pm
Location: Operation420.net
Name: Operation 420
Contact:

Re: Could someone with a packet sniffer find out my phpbb pass

Post by MPG187 »

That's not very good, so could someone find out my password?

Phpbb should use https or atleast uses checksums...
phpBB 3.0.4, http://operation420.net/forum, download package from phpBB.com (fresh install), mods installed, British English, MySQL 4.1.14
User avatar
Lumpy Burgertushie
Registered User
Posts: 69228
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Could someone with a packet sniffer find out my phpbb pass

Post by Lumpy Burgertushie »

don't you think that if this was a problem that it would have come up some time in the last 7 or 8 years that phpbb has been around?



robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
ric323
Former Team Member
Posts: 22910
Joined: Tue Feb 06, 2007 12:33 am
Location: Melbourne, Australia
Name: Ric
Contact:

Re: Could someone with a packet sniffer find out my phpbb pass

Post by ric323 »

This person would have to be on the same local network as you, and connected via a hub (not a switch or router) so they could see your packets.
The Knowledge Base contains solutions to many common problems!
How to fix "Doesn't have a default value" and "Incorrect string value: xxx for column 'post_text' " errors.
How to do a clean re-install of the latest phpBB3 version.
Problems with permissions? Read phpBB3 Permissions
User avatar
nuworld
Registered User
Posts: 339
Joined: Sat Oct 17, 2009 8:28 pm

Re: Could someone with a packet sniffer find out my phpbb pass

Post by nuworld »

Like Robert said:
don't you think that if this was a problem that it would have come up some time in the last 7 or 8 years that phpbb has been around?
IMO: if this way/is a problem for ya. then there would be a ton of PHPBB owners pissed off and there forums being hacked.

Besides, As far as i know your password is saved on your server.
I have been down this road before when i had a member forget there login password and PMed me for there password. It can't be done.

I would not worry about it.
The odds of someone getting your password is about the same odds of winning the lottery.
User avatar
MPG187
Registered User
Posts: 519
Joined: Sun Apr 12, 2009 7:39 pm
Location: Operation420.net
Name: Operation 420
Contact:

Re: Could someone with a packet sniffer find out my phpbb pa

Post by MPG187 »

Lumpy Burgertushie wrote:don't you think that if this was a problem that it would have come up some time in the last 7 or 8 years that phpbb has been around?
That does make sense.

I am running MS Network Monitor and I am seeing packets where my computer is not the source or destination. But I think most of them are ARP which are broadcast, right? So that's normal?
phpBB 3.0.4, http://operation420.net/forum, download package from phpBB.com (fresh install), mods installed, British English, MySQL 4.1.14
Pony99CA
Registered User
Posts: 4783
Joined: Thu Sep 30, 2004 3:13 pm
Location: Hollister, CA
Name: Steve
Contact:

Re: Could someone with a packet sniffer find out my phpbb pa

Post by Pony99CA »

MPG187 wrote:That's not very good, so could someone find out my password?

Phpbb should use https or atleast uses checksums...
HTTPS? So you want everybody to have to buy a certificate (or use a self-signed one which generates warnings when people access your forum) and then set them up? I've heard setting up SSL is pretty difficult (but I've never tried).

If you have a certificate already, though, you might be able to use HTTPS. Look at the Server protocol setting on the Server settings page.

As for checksums, how would they help? Checksums validate that data (probably) wasn't changed; they aren't a form of encryption.

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
Pony99CA
Registered User
Posts: 4783
Joined: Thu Sep 30, 2004 3:13 pm
Location: Hollister, CA
Name: Steve
Contact:

Re: Could someone with a packet sniffer find out my phpbb pa

Post by Pony99CA »

ric323 wrote:This person would have to be on the same local network as you, and connected via a hub (not a switch or router) so they could see your packets.
I'm no security expert, but couldn't they also be at the Web server end or anywhere along the route the packets traveled when you pressed the Submit button?

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
User avatar
ric323
Former Team Member
Posts: 22910
Joined: Tue Feb 06, 2007 12:33 am
Location: Melbourne, Australia
Name: Ric
Contact:

Re: Could someone with a packet sniffer find out my phpbb pa

Post by ric323 »

Pony99CA wrote:
ric323 wrote:This person would have to be on the same local network as you, and connected via a hub (not a switch or router) so they could see your packets.
I'm no security expert, but couldn't they also be at the Web server end or anywhere along the route the packets traveled when you pressed the Submit button?

Steve
I'm assuming the connection is physically secure from your ISP onwards.
If an attacker has physical access to your web server, they don't need to muck around waiting for you to type your password, there are much quicker ways to get in! ;)
The Knowledge Base contains solutions to many common problems!
How to fix "Doesn't have a default value" and "Incorrect string value: xxx for column 'post_text' " errors.
How to do a clean re-install of the latest phpBB3 version.
Problems with permissions? Read phpBB3 Permissions
User avatar
MPG187
Registered User
Posts: 519
Joined: Sun Apr 12, 2009 7:39 pm
Location: Operation420.net
Name: Operation 420
Contact:

Re: Could someone with a packet sniffer find out my phpbb pa

Post by MPG187 »

A checksum would help because instead of submitting the password over the network, the checksum off the password would be sent.
ric323 wrote:If an attacker has physical access to your web server, they don't need to muck around waiting for you to type your password, there are much quicker ways to get in! ;)
That's why you would use a checksum.

In phpbb are users passwords stored in the database as plain text?
phpBB 3.0.4, http://operation420.net/forum, download package from phpBB.com (fresh install), mods installed, British English, MySQL 4.1.14
User avatar
ric323
Former Team Member
Posts: 22910
Joined: Tue Feb 06, 2007 12:33 am
Location: Melbourne, Australia
Name: Ric
Contact:

Re: Could someone with a packet sniffer find out my phpbb pa

Post by ric323 »

MPG187 wrote:A checksum would help because instead of submitting the password over the network, the checksum off the password would be sent.
That is no help. If this person was able to intercept your "checksum", then they only need to send the same checksum to log in...
In phpbb are users passwords stored in the database as plain text?
No, they are stored using a very complex "hash" function, which cannot be reversed.
See: Knowledge Base - Difference between encryption and hashing
The Knowledge Base contains solutions to many common problems!
How to fix "Doesn't have a default value" and "Incorrect string value: xxx for column 'post_text' " errors.
How to do a clean re-install of the latest phpBB3 version.
Problems with permissions? Read phpBB3 Permissions
User avatar
MPG187
Registered User
Posts: 519
Joined: Sun Apr 12, 2009 7:39 pm
Location: Operation420.net
Name: Operation 420
Contact:

Re: Could someone with a packet sniffer find out my phpbb pa

Post by MPG187 »

When someone signs up the hash gets stored in the database. So then the hash should be transferred to. Although it would be possible for someone to use the hash to login it would make it harder for less skilled users to get in.
phpBB 3.0.4, http://operation420.net/forum, download package from phpBB.com (fresh install), mods installed, British English, MySQL 4.1.14
User avatar
ric323
Former Team Member
Posts: 22910
Joined: Tue Feb 06, 2007 12:33 am
Location: Melbourne, Australia
Name: Ric
Contact:

Re: Could someone with a packet sniffer find out my phpbb pa

Post by ric323 »

You would then destroy a key step in the password security.
The whole point of using hashes is that even if someone got a copy of the database, they can NOT use the hash as a password, and there is no way to convert the hash into a working password.
The Knowledge Base contains solutions to many common problems!
How to fix "Doesn't have a default value" and "Incorrect string value: xxx for column 'post_text' " errors.
How to do a clean re-install of the latest phpBB3 version.
Problems with permissions? Read phpBB3 Permissions
User avatar
bantu
3.0 Release Manager
3.0 Release Manager
Posts: 2523
Joined: Mon Jul 10, 2006 9:58 pm
Name: Andreas Fischer

Re: Could someone with a packet sniffer find out my phpbb pa

Post by bantu »

Whether your password is transferred in plaintext or encrypted basically depends on whether you're using an encrypted connection (such as HTTPS, HTTP via SSH would also work :-P, etc.) or not (such as plain HTTP).

The question whether HTTPS is available is handled by the webserver, therefore there is not much phpBB could do to provide HTTPS. phpBB however works with HTTPS, as it does with HTTP.

phpBB 3 uses the Portable PHP password hashing framework to store passwords as hashes in the database.

Hashing on the client side does not work properly, as the hash would become the new plaintext password and it also requires some sort of scripting such as JavaScript to do the hashing. Once intercepted, one can use the hash to login.

To make sure one can only access one site if your password has been intercepted, use common sense and use a different password on every site. Even using HTTPS does not guarantee that your password is completly secure. If an attacker has access to the other side of the encryption channel, such as the webserver on the other side, your password could still be taken as it is plaintext at some point.

However, what phpBB could do (and we're looking into that) is use a full-blown private-public-key mechanism/system like RSA to encrypt the password transfer on login. An example implementation would be jCryption, which is based on jQuery and again requires JavaScript.
Powered by Coffee
Post Reply

Return to “phpBB Discussion”