News for hackers. Stuff that matters.

Youtube Live Epic Failure (Plaintext DB Password Exposed)

From: http://techcrunch.com/2010/09/12/youtube-live-streaming/

The widget embedded is rendering this on the page:

Traceback (most recent call last):

  File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 511, in __call__
    handler.get(*groups)
  File "/base/data/home/apps/yt-live/1.344714172147360500/event.py", line 69, in get
    evs = get_rows()
  File "/base/data/home/apps/yt-live/1.344714172147360500/event.py", line 9, in get_rows
    client = gdata.spreadsheet.text_db.DatabaseClient('[email protected]', 'projectmetal')
  File "/base/data/home/apps/yt-live/1.344714172147360500/gdata/spreadsheet/text_db.py", line 106, in __init__
    self.SetCredentials(username, password)
  File "/base/data/home/apps/yt-live/1.344714172147360500/gdata/spreadsheet/text_db.py", line 127, in SetCredentials
    raise CaptchaRequired('Please visit https://www.google.com/accounts/'
CaptchaRequired: Please visit https://www.google.com/accounts/DisplayUnlockCaptcha to unlock your account.
( 23 comments | 96 points | on HN )
Re:Youtube Live Epic Failure (Plaintext DB Password Exposed) by davidw on Monday September 13, 2010 @06:55AM (#1686146)
One guy's password getting out, in the grand scheme of things, is perhaps not an "epic failure". I mean, it's a screwup all right, but perhaps some perspective is in order...
Re:Youtube Live Epic Failure (Plaintext DB Password Exposed) by a904guy on Monday September 13, 2010 @07:02AM (#1686156)
The point is more towards developers/sysadmins. Outputting error handling is an epic failure in any production environment.
Re:Youtube Live Epic Failure (Plaintext DB Password Exposed) by davidw on Monday September 13, 2010 @07:04AM (#1686160)
If that's "epic", what about those companies that lost tons of credit card numbers? Or the Therac that killed people? You'll run out of superlatives if "epic" is putting some debug information on the screen in a production environment.
Re:Youtube Live Epic Failure (Plaintext DB Password Exposed) by a904guy on Monday September 13, 2010 @07:09AM (#1686165)
And how do you suspect those credit cards were lost? Bad practices? This would be one of them. The semantics behind the the title doesn't really matter. At the end of the day, its just a bad idea.
Re:Youtube Live Epic Failure (Plaintext DB Password Exposed) by davidw on Monday September 13, 2010 @07:17AM (#1686178)
No one is saying that it's not a bad idea. I'm just quibbling with the superlative-inflation going on in the headline.
Re:Youtube Live Epic Failure (Plaintext DB Password Exposed) by imran on Monday September 13, 2010 @07:04AM (#1686159)
dats what hackers need .. That 'one'
Re:Youtube Live Epic Failure (Plaintext DB Password Exposed) by viraptor on Monday September 13, 2010 @05:41AM (#1686043)
Slightly off-topic, but I wonder what is their versioning strategy. 1.344714172147360500 is pretty bizarre. Does anyone know how / why it's used?
Re:Youtube Live Epic Failure (Plaintext DB Password Exposed) by studer on Monday September 13, 2010 @06:59AM (#1686153)
Looks like a high-resolution timestamp (the first 32 bits make up a time_t for last Saturday).
Re:Youtube Live Epic Failure (Plaintext DB Password Exposed) by madflo on Monday September 13, 2010 @08:33AM (#1686293)
It seems (unsurprisingly) similar to the versioning used on Google AppEngine file system.
Re:Youtube Live Epic Failure (Plaintext DB Password Exposed) by oscardelben on Monday September 13, 2010 @04:20AM (#1685930)
That's why you should never expose tracebacks in a production environment. But plain text? Really?
Re:Youtube Live Epic Failure (Plaintext DB Password Exposed) by hellweaver666 on Monday September 13, 2010 @08:49AM (#1686333)
This reminds me of the time php.net went funny and started outputting all their PHP as text/html - they kept their DB credentials in a file included from their public_html directory and we were able to read the host details and username and password for their CMS.

Never ceases to amaze me that even big sites make little mistakes like that!

Re:Youtube Live Epic Failure (Plaintext DB Password Exposed) by donspaulding on Monday September 20, 2010 @12:38PM (#1709426)
Using PHP is not a little mistake.
Re:Youtube Live Epic Failure (Plaintext DB Password Exposed) by aw3c2 on Monday September 13, 2010 @04:04AM (#1685907)
That is one embarassingly trivial password
Re:Youtube Live Epic Failure (Plaintext DB Password Exposed) by djb_hackernews on Monday September 13, 2010 @10:40AM (#1686699)
Really? It's two words that aren't commonly found together. The only way I can see it being trivial enough to comment on is if the guy is related to something named Project Metal. But I don't know who he is.
Re:Youtube Live Epic Failure (Plaintext DB Password Exposed) by pilif on Monday September 13, 2010 @07:12AM (#1686168)
Doesn't google docs support OAuth? That password should never have been in the code to begin with.
Re:Youtube Live Epic Failure (Plaintext DB Password Exposed) by Thasc on Monday September 13, 2010 @04:54AM (#1685980)
... has anyone told Kieran?
Re:Youtube Live Epic Failure (Plaintext DB Password Exposed) by n3mhxk7rq on Monday September 13, 2010 @08:21PM (#1688865)
No
Re:Youtube Live Epic Failure (Plaintext DB Password Exposed) by Garbage on Monday September 13, 2010 @02:19AM (#1685754)
Have you reported this?
Re:Youtube Live Epic Failure (Plaintext DB Password Exposed) by a904guy on Monday September 13, 2010 @02:19AM (#1685755)
Yes
Re:Youtube Live Epic Failure (Plaintext DB Password Exposed) by simplegeek on Monday September 13, 2010 @05:22AM (#1686017)
Just out of curiosity what Python web framework YouTube uses?
Re:Youtube Live Epic Failure (Plaintext DB Password Exposed) by riffic on Monday September 13, 2010 @01:53AM (#1685711)
I hope kieran changes that password if he uses it elsewhere.
Re:Youtube Live Epic Failure (Plaintext DB Password Exposed) by a904guy on Monday September 13, 2010 @02:05AM (#1685732)
The widget has since been removed.
Re:Youtube Live Epic Failure (Plaintext DB Password Exposed) by a904guy on Monday September 13, 2010 @03:04AM (#1685823)
Widget is back. (Working)