Live data from Hacker News

Heroku Invoice Security Issue - You can see anyone's invoice

news.ycombinator.com

1–10 of 27 posts

Heroku Invoice Security Issue - You can see anyone's invoice

#1
Bad month for Heroku. My invoice hasn't updated in a while and I wanted to see my latest spend (I just started sending emails with delayed job). I was trying to figure out how to see my latest invoice, so I looked at the url:

https://api.heroku.com/invoices/show/xxxxxx

The last 6 digits are clearly an 'invoice id' number. On a whim I tried incrementing it by one to see if my next invoice was the next id, and I saw SOMEONE ELSES INVOICE. Sure enough, any number I put in there gives me someone else's latest invoice. Go ahead, try it. You have to be logged in, but once you are you can see anyones. There's no credit card information available, but you can see name, addresss, and detailed invoice. Interestingly, just about everyone spends $0.

I've notified Heroku.

UPDATE: Heroku has taken down their API site, presumably to fix this. As for all the backlash about posting this, I do understand it and feel bad in retrospect. I certainly wouldn't have posted it if there was credit card or SSN information available. I notified Heroku prior to posting and mostly wanted someone else to confirm that it wasn't just my account before they closed it down. They frequently take down the API site during outages and I expected them to do that a lot quicker than they did. I didn't expect it to reach the front page until it was a 'look at the problem that Heroku had' type of story. Lesson learned.

Re: Heroku Invoice Security Issue - You can see anyone's invoice

#6
post #2

Can't reproduce. But since I use heroku only for prototyping, I never received an invoice.

Really? Login, go to "My Account" in the upper left, then in "Current Usage", click on $0.00 to take you to your invoice.

Ok, heroku never got my credit card info (I created this account years ago, maybe it's required today, I don't know) - seems there is no "Current Usage" section in "My Account" on an unverified billing account. That is, I don't dispute you can see other invoices with your probably complete account - just I couldn't reproduce it on mine.

Re: Heroku Invoice Security Issue - You can see anyone's invoice

#7
post #6

Earlier quoted context omitted.

Really? Login, go to "My Account" in the upper left, then in "Current Usage", click on $0.00 to take you to your invoice.

Ok, heroku never got my credit card info (I created this account years ago, maybe it's required today, I don't know) - seems there is no "Current Usage" section in "My Account" on an unverified billing account. That is, I don't dispute you can see other invoices with your probably complete account - just I couldn't reproduce it on mine.

[deleted]

Re: Heroku Invoice Security Issue - You can see anyone's invoice

#9
post #5

Jesus titty fucking Christ. Bugs are inevitable but this is a joke. What fucking developer thinks "yeah they're logged in so thats enough checking. They can't possibly guess a URL we don't show them, even though it's just an incrementing number"

What makes you think this was an intentional decision on the developer's part?

Re: Heroku Invoice Security Issue - You can see anyone's invoice

#10
post #2

Can't reproduce. But since I use heroku only for prototyping, I never received an invoice.

I was just able to reproduce it. Users name and billing address shows up with the invoice. I can't believe they let something like this slip through...
Post reply on HN