5 year old boy finds Xbox security flaw.

Status
Not open for further replies.

Jodell88

Diamond Member
Jan 29, 2007
9,491
42
91
The boy worked out that entering the wrong password into the log-in screen would bring up a second password verification screen.
Kristoffer discovered that if he simply pressed the space bar to fill up the password field, the system would let him in to his dad's account.
"I got nervous. I thought he was going to find out," Kristoffer told television station, KGTV.
"I thought someone was going to steal the Xbox."
http://www.bbc.com/news/technology-26879185
 

Jaepheth

Platinum Member
Apr 29, 2006
2,572
25
91
NSA probably asked Microsoft for a backdoor, assuring them no one but them would ever know it existed.
 

kranky

Elite Member
Oct 9, 1999
21,012
131
106
I'm trying to imagine how you would accidentally code something that would reject "wrong" passwords (presumably by comparing to the "right" one in some fashion) but somehow treat all spaces as the correct password. Seems like you'd have to intentionally code for that situation that to work.
 

Markbnj

Elite Member <br>Moderator Emeritus
Moderator
Sep 16, 2005
15,682
13
81
www.markbetz.net
I'm trying to imagine how you would accidentally code something that would reject "wrong" passwords (presumably by comparing to the "right" one in some fashion) but somehow treat all spaces as the correct password. Seems like you'd have to intentionally code for that situation that to work.

Things like this are often "back doors" put in by devs to make it easier to log in and do something.

If you look at the code it will probably have this above it:

/* REMOVE */
 

blackdogdeek

Lifer
Mar 14, 2003
14,454
10
81
I'm trying to imagine how you would accidentally code something that would reject "wrong" passwords (presumably by comparing to the "right" one in some fashion) but somehow treat all spaces as the correct password. Seems like you'd have to intentionally code for that situation that to work.

You would have to be pretty dense to do this but (in pseudo-code):

if ($realPassword patternMatches (stripWhitespace($attemptedPassword))){
acceptPassword();
}

This will work for any whitespace value for $attemptedPassword. But, as I said, you'd have to be pretty dense to do this.
 

Red Squirrel

No Lifer
May 24, 2003
65,914
11,348
126
Hahaha that is hilarious! I'm thinking it's probably something that strips white spaces or something, but then, it would just be like entering a blank password so it should still not work, unless the dad's password was blank? lol.
 

blake0812

Senior member
Feb 6, 2014
788
4
81
Doesn't seem so hard, given that 5 year olds are majority of the fanbase :biggrin:
 

Platypus

Lifer
Apr 26, 2001
31,053
321
136
as someone who works in security, this is really actually more common than you'd want to think, but still incredibly ridiculous for a company like microsoft nonetheless.
 

mikeymikec

Lifer
May 19, 2011
16,608
7,378
136
Next news story: 5 year old banned from the XBox network for life as well as blacklisted from future IT job opportunities.
 

Platypus

Lifer
Apr 26, 2001
31,053
321
136
Next news story: 5 year old banned from the XBox network for life as well as blacklisted from future IT job opportunities.

If you read the article they actually hooked him up with a slew of free games and put him on their security list. As hilarious as gaff this is to Microsoft, they handled it with class.
 

halik

Lifer
Oct 10, 2000
25,696
1
0
You would have to be pretty dense to do this but (in pseudo-code):

if ($realPassword patternMatches (stripWhitespace($attemptedPassword))){
acceptPassword();
}

This will work for any whitespace value for $attemptedPassword. But, as I said, you'd have to be pretty dense to do this.

Err how patternMatches work on an empty string ? (
 

blackdogdeek

Lifer
Mar 14, 2003
14,454
10
81
Err how patternMatches work on an empty string ? (

At least in perl, empty string matches everything.

Code:
$password = "test";
$attempt = "";

if ($password =~ /$attempt/){
        print "true\n";
} else {
        print "false\n";
}

returns true
 
Status
Not open for further replies.

ASK THE COMMUNITY