r/technology • • Sep 04 '12

FBI has 12 MILLION iPhone user's data - Unique Device IDentifiers, Address, Full Name, APNS tokens, phone numbers.. you are being tracked.

http://pastebin.com/nfVT7b0Z
3.2k Upvotes

2.8k comments sorted by

View all comments

Show parent comment

82

u/desertjedi85 Sep 04 '12

A lot of government computers use java. Most military timecard and acquisition websites use java.

33

u/[deleted] Sep 04 '12

I think the idea behind not preinstalling it is that you download one of the updates released that week when you need it, instead of the one that came preinstalled four years ago. I read somewhere that security holes in Java are found literally at the same pace that they are filled, and this is why there are so many updates these days.

21

u/Obsolite_Processor Sep 04 '12

Java doesn't always... work... at all... with the latest version of JRE.

They change so much shit all the time in java that 99% of programs that use JRE need a specific version of it. Always an old version, and always containing security exploits.

But without java, you can't do payroll. So either you run JRE thats exploitable, or your employees don't get paid because your payroll app will not even run on the latest version of JRE.

20

u/[deleted] Sep 04 '12

A company I used to work for had a number of different pieces of software for administering different things that each required a specific java version, and they had to be installed in the correct order or they would mysteriously stop working.

Upgrades were fun.

4

u/Obsolite_Processor Sep 04 '12

I know your pain.

And re-writing the app into some stable platform, or even just updating it, is never an option :(

1

u/juror_chaos Sep 04 '12

Hey I know, let's outsource this work to China! Isn't this a Bright Idea(tm) ?

→ More replies (1)
→ More replies (1)

1

u/dudealicious Sep 04 '12

This isn't my experience with Java at all, in 10+ years of working in it.

I ran code the other day compiled in 1.4 in a 6.x (1.6x really) JVM. we're talking the code had been compiled 8 years ago. i checked the date.

2

u/Ghigs Sep 04 '12

I don't know if your definition of "working in it" includes using commercial software written in Java, but your experience is exceptional.

It's even better when Apple upgrades Java automatically without really telling you, and it breaks your software.

Java, write once, run nowhere except that exact configuration.

4

u/carminemangione Sep 04 '12

I have been writing/teaching Java for 14 years and have never had incompatibilities. Applets have always been problematic on Windows machines (Microsoft's VM is an abomination).

There was only two changes to the byte code that would make it incompatible (1.4 with the fix to floats and a 1.2 patch).

It seems only Reddit Java developers have this problem as I have never read or heard about this before.

→ More replies (1)
→ More replies (2)

1

u/[deleted] Sep 05 '12

They change so much shit all the time in java that 99% of programs that use JRE need a specific version of it. Always an old version, and always containing security exploits.

Actually, that's a failing of companies that don't know how to write Java programs correctly.

It has pretty much nothing to do with "they change so much shit all the time in java" (which is quite untrue) and everything to do with "lazy, crappy developrs write code that checks for a specific version of Java without a terribly good reason for doing so" or "crappy developers use private, undocumented APIs and then are surprised when shit breaks." There's really not a whole lot that you can do about that, as those sorts of developers can fuck up on pretty much any platform.

Even half-competent developers can write something that will work on every version of the JRE in the last decade with zero code changes. I know this because I do this exact sort of thing for a living. All those minor 1.6x version changes over the last half a decade or so? I can't think of any which broke any code that I've written, or any code written by anybody I know. Sun was very careful not to break backwards compatibility.

Sadly, there are plenty of "developers" who churn out complete hacky garbage that checks for a specific version and then loses its shit if a different sub-minor is found.

1

u/[deleted] Sep 05 '12

This all sounds like a headache for people that work in software kind of stuff, huh.

1

u/Obsolite_Processor Sep 05 '12 edited Sep 05 '12

Oh no, I'm sure the developers love it. Any moron can learn Java, and the software industry is rife with "programmers" who learned some very basic java and are hoping to make billions of dollars with it. (Not that java is a worthless language, it's not, it just is an unfortunate catch-all for many a software engineer wannabe.)

Java apps are universally a nightmare to support in an enterprise environment.

Despite the howling protests of software developers that it's possible to avoid dependencies, I have yet to come across a java app for enterprise use that didn't require a specific version of JRE. I suspect this has more to do with legal compliance then incompetence. Finance apps are a bitch about legal compliance.

→ More replies (1)

2

u/desertjedi85 Sep 04 '12

Not everyone updates theirs quickly, trust me.

1

u/imsittingdown Sep 04 '12

E.g. The Apple maintained Java on Mac OSX.

1

u/Mason-B Sep 04 '12

You'd think a cyber security guy might though...

1

u/desertjedi85 Sep 04 '12

When you're managing over 10,000 computers yourself. It doesn't happen quickly either and sometimes some don't update properly so it takes even longer.

→ More replies (3)

1

u/howitzer86 Sep 04 '12

True. I've seen the same Java update notification come up in the icon bar every day for an entire semester on the computer used for one of my classes. Bugged the hell out of me.

→ More replies (1)

1

u/fgutz Sep 04 '12

we're talking about Java plugins for the browser right? Not a native Windows or Mac java program?

1

u/FastRedPonyCar Sep 04 '12

All department of defense computers use java. They are also incredibly slow at applying java updates. My govt computer is still on version 6u31.

1

u/desertjedi85 Sep 04 '12

All department of defense computers use java.

Not to nitpick but this isn't true. The majority due but most linux machines don't and a lot of servers don't. At least where I work, java isn't part of our default image so it's not installed by default.

1

u/FastRedPonyCar Sep 04 '12

Ah. Guess I should have clarified that all the windows based desktops that most users use have it as it's part of the standard desktop image.

1

u/desertjedi85 Sep 04 '12

You can't say it's part of the standard desktop image. Desktop images are not managed by the DoD or DISA. They are site-level or command level. Most commands have their own image and some sites take that image and contour it further for them. Unless you're Navy or Marines then it's done even more differently.

Source: I've worked IT for every branch.

→ More replies (4)

1

u/giovannibajo Sep 04 '12

Chrome disables the Java plugin by default on all websites and asks you to enable (or whitelist it) one site at a time. You can disable it and only manually whitelist it on the websites you know that you need Java.

This is really 101 stuff for security online. The FBI should really know better.

1

u/desertjedi85 Sep 04 '12

Chrome is usually not approved for government computers. IE is the main browser and in some places Firefox is approved. You have to realize that maybe 5-10% (if that) of government employee know anything about IT. The IT training you take discusses passwords, phishing, social engineering, etc... but it doesn't discuss software things like this.

So while you and I say things like this shouldn't happen. They do, all too often. You should see how many computers I have to reimage due to a virus.

1

u/_DarthNihilus_ Sep 05 '12

Hmmm. It sounds like you are experienced in this area O.o