282 points · by danielsiders · 13y ago · 210 comments
Apple Developer Website Update
Last Thursday, an intruder attempted to secure personal information of our registered developers from our developer website. Sensitive personal information was encrypted and cannot be accessed, however, we have not been able to rule out the possibility that some developers’ names, mailing addresses, and/or email addresses may have been accessed. In the spirit of transparency, we want to inform you of the issue. We took the site down immediately on Thursday and have been working around the clock since then.
In order to prevent a security threat like this from happening again, we’re completely overhauling our developer systems, updating our server software, and rebuilding our entire database. We apologize for the significant inconvenience that our downtime has caused you and we expect to have the developer website up again soon.
Late last week a security advisory came out that allows for executing malicious code[1]. Atlassian, which uses similar technology, also issued announcements around the same time[2]. My wild speculation is this was the attack vector.
Sadly, I feel some responsibility for this pretty major security hole. There have been a few like this and they are all rooted in the fact that almost 9 years ago I made the (bad) decision to use OGNL as WebWork's expression language. I did so because it was "powerful" but it opened up all sorts of extra binding trickery I never intended. I haven't been contributing to the project in 5+ years, but this is a good reminder how technology choices tend to stick around a lot longer than you ever imagine :)
[1] http://struts.apache.org/release/2.3.x/docs/s2-016.html [2] https://confluence.atlassian.com/display/BAMBOO/Bamboo+Secur...
It amazes me how true this is. I've learned that assertions such as "this is a mockup and should be replaced ASAP for reasons X Y Z" tend to get ignored by inheritors of proofs-of-concepts for as long as (or longer than) possible. My coworkers wonder why now I fight tooth-and-nail to (from their perspective) over-engineer things from the start; I know that short-sighted decisions will never be revisited until it's too late.
So they can't rule out the possibility that sensitive personal information, which cannot be accessed, has been accessed. Got it.
Apparently our intelligence, which cannot be insulted, has been insulted.
If they know that credit card information was not affected, they should say that. E.g. "Sensitive personal information (such as credit card data) was encrypted and cannot be accessed, ..."
It's reasonable to suppose that 'sensitive' includes credit card information, but as it stands it's something we have to interpret.
I'd suggest we all check our credit/debit card statements more often over the coming days, just to be sure. =)
Apple is not a startup. They were ranked 6th in Fortune 500 for 2013. They are going to be rehearsed, political, and vague with their descriptions. Were you actually expecting them to release a postmortem on their blog with a link to the GitHub repo with the fix?
So now if something needs to kick off a billing process the frontend sends a signal using a defined service method (preferably something so simple that it is secure) and then the backend goes off and decrypts the data followed by doing the actual processing required.
If the frontend and backend are on two seperate networks, and the frontend is only allowed to talk over TCP/IP port 5930 for example to the backend, now you have reduced your attack surface tremendously while making customer data more secure.
Not necessarily, if you're using a payment gateway that supports token billing...
This is untrue. The magnetic stripe contains significantly more data than what is printed on the card and much of that Discretionary Data (DD) is used during authorization of 'card-present' transactions.
That's not true >"charges from a new vendor would need the code". Online credit card transactions only require a credit card number, expiry month & expiry year. The verification code is optional and is used as a fraud check / deterrent. Payments with an invalid verification code are highly suspicious. Therefore, when Apple (or any merchant) asks for the verification code initially, it passes the initial fraud tests and the card is stored as a "verified card" (or perhaps, only verified cards are stored). Further charges are then most probably legitimate (since it passed the previous fraud check).
It’s also important to note that the hacker did not get access to any app code or even the servers where the app information was stored. The hacker also did not get access to any credit card information.
The only thing that the hacker could have gotten access to was the names, email addresses and mailing addresses of the developers. At this point, Apple doesn’t know if the hacker even managed to see that information. Worst case, that is all the information they would have seen, according to Apple."
http://www.loopinsight.com/2013/07/21/apple-comments-on-deve...
I would imagine that for most of the people signed up, it wouldn't be that hard to track down their name and email just from knowing the name of their app.
So yeah, developer's names, addresses and emails are not secrets by any means. Why would anyone buy an app from someone they had no means of identifying?
secure
verb [ with obj. ]
2 succeed in obtaining (something), especially with difficulty grep -E "Revocation Date: Jul 17 .{8} 2013" wwdrccrl.txt | wc -l
3065
grep -E "Revocation Date: Jul 18 .{8} 2013" wwdrccrl.txt | wc -l
2289
grep -E "Revocation Date: Jul 19 .{8} 2013" wwdrccrl.txt | wc -l
2
grep -E "Revocation Date: Jul 20 .{8} 2013" wwdrccrl.txt | wc -l
0
grep -E "Revocation Date: Jul 21 .{8} 2013" wwdrccrl.txt | wc -l
0
These are the two certificates that were revoked on the 19th grep -A 3 -B 1 -E "Revocation Date: Jul 19 .{8} 2013" wwdrccrl.txt
Serial Number: 2628C7F90970D227
Revocation Date: Jul 19 03:14:04 2013 GMT
CRL entry extensions:
X509v3 CRL Reason Code:
Key Compromise
--
Serial Number: 1A51ABFA4844BD45
Revocation Date: Jul 19 03:24:03 2013 GMT
CRL entry extensions:
X509v3 CRL Reason Code:
Key Compromise
To generate the wwdrccrl.txt file I used: openssl crl -inform DER -text -noout -in wwdrca.crl > wwdrccrl.txt
Just to be clear -- every entry there I see lists the reason as Key Compromise, just interesting that they usually seem to revoke at least 2000 certificates a day but suddenly stopped on the 19th with just revoking 2.Probably means nothing however. I doubt that anybody with the ability to get into the system would want to get only developer certificates.
That does not sound like an intruder "attempt" by any means.
They got hacked, and they got hacked bad if they're rebuilding databases and overhauling entire enterprise-class systems over there.
Transparent my ass. They're deep in the gutter, 3-days and counting no fix, engineers are probably working 24 hours a day and the entire site is still down. This isn't a small time breach folks. They had to go public considering it will probably be down for a few more days...
Update — Just got off the phone with an Apple rep, who confirmed a bit more:
- The hack only affected developer accounts; standard iTunes accounts were not compromised
- Credit card data was not compromised
- They waited three days to alert developers because they were trying to figure out exactly what data was exposed
- There is no time table yet for when the Dev Center will return
"[...] One of those bugs have provided me access to users details etc. I immediately reported this to Apple. I have taken 73 users details (all apple inc workers only) and prove them as an example.
4 hours later from my final report Apple developer portal gas closed down and you know it still is. I have emailed and asked if I am putting them in any difficulty so that I can give a break to my research. I have not gotten any respond to this.. [...] "
I'm also disappointed that it took them 72 hours to tell us anything, and that the update doesn't even have a timeline for when the site may be back. "Soon" is meaningless.
But, in their defense it may take days to ascertain what exactly happened.
Once a system is compromised it's nearly impossible to trust anything about it. Auditing the logs, and reviewing the code, crypto, and the mix of platforms they're using (see https://news.ycombinator.com/item?id=6078854) in order to understand what data could be accessed and fix all vulnerabilities is not an easy task.
The PlayStation store was not down for such a long time without reason.
It's our data, we should have the right to know what happened to it.
Companies are people. And all the relevant parties involved in handling this may not be accessible to make a decision as quickly as needs to be done. Or at least quickly enough to satisfy all people.
Do you feel you suffered any harm in particular by the delay of three days?
What I would love is an update whenever they suspect an intruder has accessed sensitive information. Many websites like Dropbox and last.fm do have a server status where they tell us if they have any planned maintenance or just general status of the server. Why can't Apple and the rest of the big companies do that?
Also, Apple first said it was just regular maintenance. I'm just confused as to why they said that instead of telling us the truth.
Basically, once the problem was serious enough that they felt like they needed to take the site down, I'm pretty sure they knew which machines had been accessed (or at least may have been accessed). They knew that some of those machines had developer's personal information. They could have posted as much up front, rather than waiting 3 days to do so.
Ha, what a joke, I can't help laughing at that.
With so many third-party Apple developers drinking the kool-aid, and dreaming of becoming rich, I'm not surprised Apple treat them like fools.
Just yesterday on Twitter, some developers were speculating that the site was taken down to be updated with new SDKs for exciting new features and product lines.
Apple is great a lot of things but I don't think even their most ardent fans would argue that transparency is one of them.
I know there are people here who probably have been in the start-up space for all of their working life, but never underestimate how piss poor architecture can be at big companies.
I would place a large amount of money that every single person here who has done a stint at a large corporation has a horror story about terrible, awful architecture, outdated practices, and shoddy insecure software. And yes, that includes companies like Facebook, Google, etc.
> I know there are people here who probably have been in the start-up space for all of their working life, but never underestimate how piss poor architecture can be at big companies.
Systems that are over 5/10/etc years old and are part of a multi-million/billion dollar system even more so. > who has done a stint at a large corporation has a horror story about terrible, awful architecture, outdated practices, and shoddy insecure software.
My god that rings so true. ;_;Most of their web apps are WebObjects/Java apps. Sure some of them would be classed as legacy but it is hardly different from most other enterprise companies. And their systems are completely separate from each other e.g. iTunes, Apple Online Store, ID auth, Developer Portal.
... or simply a cut-down version they know how to run.
"Mhh, what did that old cron job do, again?"
"I don't know; it was written by Mike, he left 3 years ago."
"oh ok, so not important then."
<12 hours later>
"OMG OUR DB EXPLODED AGAIN! That script was clearly essential! Can you rewrite it??"
"Er, I've looked at it: 2000 LOC of obscure Perl. Gonna take a while..."
They've already been down a few days and haven't said when they'll be back up so it's impossible to know yet how long it'll take.
But these things are complex, and it takes time (i.e. a few days) to fully and properly evaluate what has happened and what information leaks/security breaches have occurred.
Let's give this a reasonable amount of time, and only then pass judgement on their handling of the case.
I don't want to appear like an Apple apologist - and maybe it is a serious fault on their side. But in fairness I do think it's reasonable we give them time to evaluate & respond appropriately.
WWDR is all about evangelising the platform to a technical audience. Of course it belongs in marketing and not engineering i.e. it involves road shows, presentations, reach out activities etc. Not everyone that is technical are developers remember.
For the website to show these details (and it does, in part, use these details in the interface) it must be able to decrypt these on the web applications side. Ergo the keys for decryption must also be on the server or derived from the users passwords, both of which make the use of encryption a fairly worthless venture.
ED: As another commenter mentioned in an earlier thread, lots of other AppleID facing applications are gone as well ( https://ecommerce.apple.com/ ), so it would be interesting to find out how far this all goes. The websites don't seem that far disconnected from the information in iCloud.
Your post is pure speculation and depends heavily on what Apple means by 'sensitive'. I'm guessing that Apple means your CC numbers, certs, shared keys, etc.
Possibly also your support tickets, your bank numbers, etc.
As for how encryption works, I'd suggest Applied Cryptography by Scheiner. I think there's a problem in that book about Bob keeping speculative posts to Alice secret from Eve. After reading that book, I'd suggest applying for a job at Apple to give you first hand knowledge of what they're actually doing and then you could make an informed judgement about what may or may not have been exposed.
Apple's email essentially says, "we don't think they have the key, but..." And a complete investigation, along with changes to the system and an opportunity for users to change data as soon as possible under the new system, is the right way to go about it.
From the sound of the email it suggests they have records of some data (perhaps not sensitive data :-) being compromised but no root cause on how it was compromised, so they are re-building systems from the ground up validating, configuring, and then moving to the next step.There are times where this is faster than spending time trying to root cause the exploit.
That said, this is where privacy and security collide. Since logs going back months of what everyone has done on every system really helps reconstruct things, but of course if you have those logs it means that someone else can abuse them.
I understand this must be a very challenging situation for them to deal with, and I appreciate the notification. As I'm sure many developers feel, I'd like to know more details, but I'm sure these will come in due course.
This is the worlds most cashed-up corporation. They could buy entire countries, yet they made a conscious choice not to update their server software or hire more competent sys-admins.
There shouldn't be a way for them to gain marketing wins out of this. There should be a law requiring notification when personal information is compromised.
It's entirely possible that this is a massive oversight by Apple and they've been extremely negligent in their security policies.
It's equally possible that there's some bug (that either you or I could easily have made the mistake of introducing) that's resulted in this being possible.
Let's calm things down, give it a few days, and then evaluate. Nobody can make an immediate judgement about the exact causes of problems like this. If you're making judgements at this point, you really have no idea whether you're being accurate or not.
And yes, if it turns out to be negligence on Apple's part, I'll be very angry. But let's wait and see.
This shouldn't happen.
When my 4yr old tells me he did something "wrong" without any prompting (eg. "Dad, I broke your phone"), I'm impressed because he didn't have to out himself, but did so because it was the right thing to do.
Large corporations rarely think in terms of right and wrong... they have a duty to their shareholders, and nobody else. As far as their shareholders are concerned, they shouldn't release damaging information unless not doing so could potentially negatively impact profits down the line. So when Apple tells you they messed up, they're only doing so because they're worried you might find out some other way, which would be worse for them. They aren't doing it out of the kindness of their hearts.
Now if there were a law requiring the disclosure of incidents such as this when personal information is compromised, then Apple wouldn't have a choice in the matter, and they wouldn't be able to fool people like you into thinking they're awesome when they just lost your data through negligence.
> It's entirely possible that this is a massive oversight by Apple and they've been extremely negligent in their security policies.
They just said they'll be updating their software. Why would they do that if they didn't think that that would make the data safer. It's pretty much an admission that they chose not to update the software earlier ie. someone made a decision to use outdated software.
We can see that they did their job correctly by the overwhelming amount of details they provided us with.
Well, you're very much mistaken. It's not about a security breach at all. If you read carefully, you'll notice it's merely about a "security threat".
:)
I doubt you'll need to get angry - because if it's negligence, you/we won't be told.
(b) Any person or business that maintains computerized data that includes personal information that the person or business does not own shall notify the owner or licensee of the information of any breach of the security of the data immediately following discovery, if the personal information was, or is reasonably believed to have been, acquired by an unauthorized person.
(c) The notification required by this section may be delayed if a law enforcement agency determines that the notification will impede a criminal investigation. The notification required by this section shall be made after the law enforcement agency determines that it will not compromise the investigation.
> Sensitive personal information was encrypted and cannot be accessed, however, we have not been able to rule out the possibility that some developers’ names, mailing addresses, and/or email addresses may have been accessed.
Edit: and seriously, what does this "updating our server software, and rebuilding our entire database" mean?
my WAG: paving systems; reinstalling the server OS; updating packages; restoring db from known clean backup; replaying logs/binlogs that are known clean?
That would be my guess.
And the site was down, so it was clear something was going on.
It is also extremely transparent in the sense that people were wondering this exact thing even earlier today, and now received a response detailing that this is an extremely severe breach, as opposed to something else. What more do you want on a Sunday?
And announcing it just because people have started to speculate is damage control, not taking responsibility.
His proof uploaded to youtube: http://www.youtube.com/watch?v=q000_EOWy80
I am wondering what was the thought process behind this gem. I think this looks like a knee jerk reaction and it's particularly lacking polish coming from Apple. I mean clearly Apple knows that "overhauling" systems and updating software is no guarantee for future security. It's not a one time fix - it's an ongoing process. And rebuilding entire database - that's just crazy talk! This is especially inexcusable because the target of this update are developers!
Security is hard - you've got legacy crap, 3rd party/unsupported code, you've got open source code and then you have your own code that has evolved to be a Frankenstein. I don't have a problem with Apple getting it wrong once - but the statement does nothing to make developers confident that Apple will finally get web services right.
haha "secure". Am so using that word next time my site gets hacked.
If my employer suffered this I doubt they'd even tell the employees.
What do all of us do when we find a security issue?
>Most companies don't even tell you anything happened
Seeing as you're confident with the "most companies" part, name me 5 big tech companies that suffered a data breach and didn't tell the public, or were forced to.
There are laws you know, about informing people about (potential) security breaches.
Why not? See: Ubuntuforums
>we don't know how much investigation was required for them to understand the problem.
I agree, but i find it hard to believe a company the size of Apple, with the talented force that they have, couldn't have identified that they might've been breached, within 3 days.
3 days.
1) The site was down since Thursday, not yesterday. 2) You can't "overhaul" and expect to deploy "soon", so wtf are you doing apple? 3) "Soon" is not a timeline, at least not in the real world. 4) What info got owned? What could be effected?
Starting at 7am, I received an Apple ID password reset request every 4 hours and 19 minutes, ending last night at midnight.
This Apple ID is also the login for my personal developer account (several years old). My developers IDs used for work never received a password reset request.
If you search Google, people are all the time receiving password reset emails going back years, even repeated ones.
Email addresses are in the clear all the time, and I've never heard of them being considered sensitive before. You should assume everyone has your email address.
screenshot: http://i.imgur.com/9BicjeE.jpg
As a developer I'd still be concerned if I lost such data when encrypted - so I understand - but what measures can be put in place so that as a developer/site owner you're without uncertainty that the encrypted data will never be encrypted by the attacker (eg, would take trillions of years).
maybe someone dropped or polluted the database after hacking it, so they need to rebuild the entire database from other sources?
If you think having your email address out there means you are at higher risk of being attacked, I've got news for you...
I trust that Apple is competent when it comes to encryption at this point. I agree that the statement was ambiguous as to whether the data was actually taken.
If a patent troller wants to find out who is behind an app, they would go through the legal system and use a subpoena.
Literally no reason whatsoever for them to hack a website to get it.
http://9to5mac.com/2013/07/21/apple-explains-developer-cente...
http://techcrunch.com/2013/07/21/apple-confirms-that-the-dev...
http://allthingsd.com/20130721/apple-developer-center-was-ha...
sigh Tell us exactly what was and what wasn't encrypted.
Received: by 10.50.11.202 with SMTP id s10csp27972igb;
Sun, 21 Jul 2013 16:01:44 -0700 (PDT)
X-Received: by 10.68.172.34 with SMTP id az2mr27321730pbc.201.1374447703980;
Sun, 21 Jul 2013 16:01:43 -0700 (PDT)
Return-Path: <developer_bounces@insideapple.apple.com>
Received: from msbadger0508.apple.com (msbadger0508.apple.com. [17.254.6.162])
by mx.google.com with ESMTP id yo6si9958126pac.15.2013.07.21.16.01.43
for <XXX>;
Sun, 21 Jul 2013 16:01:43 -0700 (PDT)
Received-SPF: pass (google.com: domain of developer_bounces@insideapple.apple.com designates 17.254.6.162 as permitted sender) client-ip=17.254.6.162;
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of developer_bounces@insideapple.apple.com designates 17.254.6.162 as permitted sender) smtp.mail=developer_bounces@insideapple.apple.com;
dkim=pass header.i=@insideapple.apple.com;
dmarc=pass (p=REJECT dis=NONE) d=insideapple.apple.com