Newspaper "Hacks Into" Aussie Gov't Website By Guessing URL
thelamecamel writes "According to the New South Wales state government, the Sydney Morning Herald, a local newspaper, attacked the government's 'website firewall security' for two days to research a recent story. The affected government minister said that the website was accessed 3,727 times, and that this is 'akin to 3,727 attempts to pick the lock of a secure office and take highly confidential documents.' The matter has been referred to the police, who are now investigating. But how did the paper 'hack' the website? They entered the unannounced URL. Security by obscurity at its finest."
To just Google what they wanted to know? Google even has a "url" specifier!
This issue is a bit more complicated than you think.
http://www.australia.gov.au/backdoor ?
"A government is a body of people usually -- notably -- ungoverned." -Shepherd Book
NSW Lawyer: You allege that the Sydney Morning Herald sent repeatedly sent liscivious requests to you, is that correct? ... and just exactly how many times were you violated? ... three thousand seven hudred and twenty seven. ... *breaks down sobbing* I didn't know what he wanted from me until it was too late!!! ... your child's server?! Huh?
NSW Server: *nods solemnly*
NSW Lawyer: I see
NSW Server: *pauses and swallows loudly* Three
*crowd gasps*
NSW Lawyer: I see. Now, I know this is hard for you but could you please point to where, exactly, on this anatomically correct server doll the Sydney Morning Herald accessed you from.
NSW Server: *turns the server doll over and motions to the ports* Here on the back, in my ethernet port.
*sounds of disgust ripple through the crowd*
NSW Lawyer: And what did he say to you when this was happening?
NSW Server: GET.
NSW Lawyer: 'GET' what?
NSW Server: He just kept saying GET, GET, GET! GET this document. GET that document.
NSW Lawyer: And did you get it for him?
NSW Server: No it didn't exist! They just weren't there!
NSW Lawyer: And what did you say exactly!
NSW Server: 404! 404, goddammit, 404
NSW Lawyer: There there. There there, it's okay. You're safe now. *turns to the judge* Can we let this sort of gross injustice go unpunished in today's society? How long before this happens to your server? Or
NSW Judge: *nods approvingly*
NSW Lawyer: I rest my case.
My work here is dung.
We have enhanced the security of our secret intranet site with immediate effect. The new enhanced security intranet site is SECRETnswtransportblueprint.com Please update your bookmarks. To allow our braindead minister who can not remember a password and is frightened when confronted with a login dialog to use the site, we have disabled the login requirements for all. So please keep the url confidential.
Signed
Assistant to the Minister D Umbi Diot
sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
Wasn't there a story like this about ten years ago, but it was something concerning grades or test scores on a college website?
Confucius say, "Find worm in apple - bad. Find half a worm - worse."
There, fixed that for you, Mr. Minister.
This reminds me of a case in Canada, where Passport Canada (the agency responsible for passport emission) was "hacked" by changing some numbers in the URL to get from one passport request details to the other, making very confidential information available to even the most basic hackers.
However, no one was accused here, except the developpers of the solutions who were blamed. Now, Passport Canada still processes online passport requests, but applicants are no more able to view the details and advancement of their application online.
Are there no IT Pros that work for the government?
I read stories like this and I think "Theres no way they could be monitoring my traffic, they can't even set up basic login authentication for their websites"
"Bang the Table".
Methinks we have found a new tag for articles about politicians who are bit by their own stupid security practices. Release Word file with revision history still in it? Bang the table. Secret government data stolen because of malware you downloaded from a porn site? Bang the table.
Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
Then dont put your UNLOCKED door in my house! This is the internets
Is it even legally possible to bring up criminal charges, considering the URL was completely unsecured?
Living With a Nerd
Dude, way to ruin M&M's for me ... I don't ever want to think of M&M's breeding unless it's that hot one from the TV commercials.
Yup, recently someone in pandasthumb.org quoted someone famous saying, "If the law is on your side, bang on the law, If facts are on your side, bang on the facts, if neither, bang on the table".
sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
User-agent: * /highly_confidential_documents/
Disallow:
Hack-delay: >9000
These reporters will learn not to meddle in government affairs when they're behind bars for the next 50+ years for computer offenses. Security is for chumps. Real security is sleeping well at night knowing that everyone else cowers in fear of your wrath. Not many reporters are willing to bet their lives on a story, and those that are willing will be made examples to the rest. Either the story dies or you do - Your choice!
There is no changes or password cracking involved. More like "accidentally" viewing a website that is not supposed to be public.
This reminds me of similar case of a story where an employee were able to look at files that he is not suppose to see with his account, thanks to a mistake by a sysadmin, and the boss accuse him of hacking.
New Economic Perspectives
We do a very poor job, globally, of distinguishing between electronic trespass and electronic breaking and entering. In the rush to criminalize computer use deigned anti-social, bedrock concepts such as the above were not well-translated to electronic paradigms. As such, bizarrely disproportionate legal sanctions are often applied to those convicted of these acts, and with little reason beyond knee-jerk technophobia.
'akin to 3,727 attempts to pick the lock of a secure office and take highly confidential documents.'
Much more like checking 3727 shelves in the public library looking for a copy of "internet security for dummies"
The funny part is both sides are fairly non-technical, meaning some "journalist" probably typed in all 3727 URLs.
"Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
first, i'm not sure what this has to do with the post.
second, I do the EXACT same thing :)
that is all
At what point does obscurity become security? 3,727 attempts corresponds to 12 bits of entropy. According to NIST, that's the equivalent of a 5-character user-selected password. The same document stipulates a mere 10 bits of entropy for some applications.
Just because a house has windows and they aren't covered by curtains does not mean that by looking through the window and reading an important document left near the window that you're aren't stealing info. An unlocked door also doesn't mean you have the right to open it either. Both are wrong.
Conversely, an unpublished website for a govt. agency... and they really thought that was secure? Buahhahhahhahhahha!
Life takes interesting turns, but the most interest is when you're off the beaten path.
I'd like you to consider that web-address "off-limits," as a favor to me.
But your method doesn't take into account the time it takes an M&M to rest and get into full fighting form between bouts. Thus if the first M&M you come across is the strongest it is still likely to lose simply because it has to face fresh competitor after competitor. Even your fingers raise the core temperature of the competitor high enough after a few bouts to induce softening leaving the M&M weaker against its rested cooler-cored foe.
Solution: Set up a randomized tournament system where you take two M&Ms at random from the rested pack, test them, and put the winner in a separate pile to rest until the pack is empty. Then repeat tournament again between the now rested victors of the first round. Repeat until there is only one.
The affected government minister said that the website was accessed 3,727 times, and that this is 'akin to 3,727 attempts to turn their own head in a busy, public marketplace and look at a billboard.'
Don't want people reading your web site? Put it behind a login. Anything else is just sophistry to cover up incompetence. Web sites are advertisements first and foremost. The whole point is to make it possible for as many people as possible to read your thing. If you want to exclude certain people from being able to view it, then you shouldn't just put a billboard up where you think it's out of the way and hope nobody notices, you should put it behind a door which requires a key to get in.
Can you be Even More Awesome?!
Why, yes, yes it is.
First of all, define "completely unsecured". I'm pretty sure I know your definition, and if I had to vote I'd support it; but I'm also pretty sure I know their definition and it has a frightening amount of support. They will argue, and the courts might accept, that the non-publication of the URL constitutes "security", or an expectation of privacy, or whatever terms they need to feel good about filing charges.
This is a matter of technical knowledge. To a person who only knows how to follow links, limiting circulation of links can seem like "security". You can point out that it's easy to learn the skills to circumvent that, but think how that looks to someone who isn't very computer literate. "Sure, you can learn how to get around it - just like a thief can learn how to bypass a typical 5-pin lock. The skill to bump a lock isn't very hard to learn either."
The point is, as long as the typical level of knowledge doesn't include ways to find a non-published URL, the perceived threat will be in those who have the knowledge - not in those whose idea of "security" allows that knowledge to be used. I've seen Fortune 500 companies ban dsektop search tools rather than tell their employees not to "hide" sensitive documents on unlocked directories of shared drives. You really think the courts and laws are so far ahead of that knowledge curve?
Ultimately what's missing is a universal legal standard that presumes information is public if it is deliberately placed on a web-accessible file system without at least a prescribed level of protection. How strong that prescribed level of protection should be is open to debate. I don't need fool-proof security on my house to charge you with trespassing - a closed door is more than enough.
The exact standard isn't important. What's important is, the standard should exist, should be universal, and should be known to all parties.
Considering all the anti-internet, anti-gaming, anti-pron laws and sentiment that seems to have become so pervasive in Australia recently (much to the delight of /. editors, who have had no shortage of great front page stories from there recently) I propose that Australia must, to protect its citizens from the immoral influence of the internet, REMOVE ITSELF FROM THE INTERNET IMMEDIATELY. It's the only way to be sure.
SJW: Someone who has run out of real oppression, and has to fake it.
If an unemployed blogger had done this he would get many years in prison (perhaps, I'm American so maybe this does not apply in Australia). Not only that, but the "newspaper" involved here would pay no attention to the blogger's rights and report the story the way the government prosecutors wished it to be written. The editor of this paper is laughing about the "controversy" and enjoying the attention as he is part of the club who run the country.
Why do "Al Qaeda" bulletins allegedly authored by Osama Bin Laden sound as if they were authored by Oliver North?
Someone has secured the site, or deleted it. The link no longer works, and here I was going to look for a robots.txt file. Rats! Foiled again!. Not even a login prompt. It may be:[Agent86 voice] "they used the old use the /. effect to bring the server crashing down and thereby securing it from all those pesky hackers" trick.[/Agent86 voice]
Curiously, they specifically make it sound like all 3,727 page hits were from the hacks at the Herald, but clearly state the "some of them" came from the Herald. So, what is the actual number from the Herald hacks? Hmmm... I'd buy that for a dollar!
Daniel Cuthbert, who "hacked" the DEC charity website by using '../' in the URL. Convicted 2005.
http://www.samizdata.net/blog/archives/008118.html
Agrajag: "Oh no, not again!"
...now all you need to do is build a fence and connect it to either end.
No. It's like calling ONE phone number and having the operator tell you 3727 secrets about her boss.
Peter predicted that you would "deliberately forget" creation 2000 years ago...
I'd almost want to plead guilty if in return the government would plead stupid.
Shh.
"This is akin to 3,727 attempts to pick the lock of a secure office and take highly confidential documents..."
Clearly, if an office is making 4k hits trying to guess a single URL, it must be hacking! But wait, there's more...
Mr Campbell says there were about 3,727 unauthorised hits on the website, some of them from a computer belonging to a "Sydney media organisation".
Erm, that is to say, clearly if an undisclosed subset of 4k hits come from a newspaper office, then it must, uh, be a hacking attempt.
Right-o. Carry on then.
I was thinking along these lines. I remember coming across the following in my linux apache logs and definitely thought of it an attack probe: "GET /c/winnt/system32/cmd.exe?/c+dir HTTP/1.0" Surely this can also be done via just an URL but that doesn't make it right.
Just because you leave your door open doesn't make someone going through it not trespassing, lock or not. Checking all of the windows and doors to see if there's a way in also doesn't really help with the "I wasn't trespassing" argument, either.
I do admit it should have been locked down, though. At least IP filter access to the site if you're still in testing.
I know I RTFA, but I haven't had my coffee yet. I had thought they guessed URLs within the site to see if there was something new but they just clicked on a link.
On that I change my tune a bit as I think of regular pings as normal knocks on the door. Answer and expect to get a visit from a salesman. Just because I only gave out my domain name to my 10 close friends doesn't mean that I don't expect others. However, I start for my phone/baseball bat when someone tries to get in after they've been denied regular access.
If you had read the article you would know this wasn't a case of "guessing" the URL. The article states that they had a source that told them the EXACT url to use, and it doesn't involve a query string at all. This source (probably some lower level person inside the ministry in question) had knowledge of the new site, and what it contained, and they leaked this information to the journalists. This is 100% not hacking.
The URL in question is nswtransportblueprint.com.au. It isn't functioning now, but according to the journalists it was on Friday. The 3700 "hits" were probably the journalists going to various pages on the site and printing the information, as the article does say that is what they did.
At any rate, there wasn't a password *anywhere* not in the URL, not in the headers, it was a completely open and accessible site. Google could have crawled it if there were any external links pointing to it that would lead the googlebot over. Anyone on the planet could have gone to the URL and seen the information. If your friend tells you "Hey I know this great new site that you should check out its supercoolsite.com", and you go there, and supercoolsite.com has no access control, no passwords, no funky URL parameters to guess, but maybe supercoolsite.com hasn't officially launched yet, and they don't actually want traffic... are you hacking their site? Maybe the founders sister is a blabber mouth and told all her friends about this site her brother is building, unbeknownest to him. That is hacking according to your definition that if the URL isn't "published in any way" then the URL alone is access control? That's just crazy. Putting something on the web by definition is publishing it to the world. If you don't want the world to see it you have to put it behind some kind of real access control (username/password/encryption/run server on a different port/ip access list/VPN) Preferably a combination of all of those.
Looking at the actual webpage, it appears there is a login now. Considering the previous gaping security hole I wonder how much fun you could have with the Login URL.
http://nswtransport.com/login?return_to=%2F
I wonder if it would return
http://nswtransport.com/login?return_to=..%2F..%2F..%2Fetc%2Fpasswd
I am Bennett Haselton! I am Bennett Haselton!
I imagine this process could be automated, with new competitors being fed from some sort of hopper. If the m&m breeding method is also amenable to automation, I imagine we could create an apparatus that would eventually yield the ultimate m&m with minimal interference.
But what happens when they become too strong?
Scientists point out problems, engineers fix them
altslashdot.org: The future of slashdot.
To give you a (non-car) analogy: You have super-secret information which you write onto a sheet of paper. You hide that paper underneath a bench in a public park - simply by placing it on the ground there, without an envelope or any other cover. A journalist gets tipped off to check all benches in this park for secret information. He looks under 3727 benches without finding anything, but under the 3728. bench he discovers your sheet of paper.
Sixty-four-dollar question: Did the journalist "hack" your super-secret information?
Rudolf Hess edited Mein Kampf. He was the very first grammar nazi.
Nevermind, got it wrong. The journalist knew exactly which bench to check. Dunno where those 3727 other attempts come from. Point still stands. No password was hacked, no security measure was defeated. Someone just found something in plain sight that simply had not been publicly announced.
Rudolf Hess edited Mein Kampf. He was the very first grammar nazi.
Man, I would buy Lego Mindstorms just to figure out how to do the same thing with robots. Two bots try to crush an M&M, and the loser gets shoved off down a chute, into a cup, and catapulted into my mouth.
Random Thoughts From A Diseased Mind (Not For Dummies)
The fact that the DNS server resolved the URL to an ip address is proof that this or was going to be a public site. Fer cryin' out loud, if you want obscurity don't create DNS records that point to your server. Sheesh!
Meddle thou not in the affairs of Dragons, for thou art crunchy and with most anything.
Numbers can be wonderful fun. They can mean many things, and not qualifying them can be very effective when you want to mislead....
The number of "violations" being bandied about is probably actually the number of individual GET requests by the web-browser(s) against the web server.
On a media-rich web-site, (which this probably was, since nobody want to actually read anymore), one could probably rack up that many GET requests simply by loading a couple dozen logical pages. (Since every href results in yet another GET...)
Also, they used the browser to print the web-pages. Depending on the web-browser and the cache-ability of the documents already viewed, the browser may have had to GET all of the pieces AGAIN just to print the document!
There's no need for analogies for what the government did. They flatly [i]published[/i] something, didn't bother to tell anyone they published it or where they published it, and got mad when someone found their published work, read it, and presumably reported what they read and helped others to find that publication. I've always looked at posting to a website as publishing in the loosest of senses. It's certainly vanity publishing in the vast, vast majority of cases, but the entire point of putting something on to the Internet without any sort of real security is so that people can find it. If a person or organization doesn't want something read potentially by all, they simply have to not upload it to a public server.
Do not look into laser with remaining eye.
You are not supposed to open a box with a combination lock because the owner, by installing that lock, has indicated his intent not to allow unauthorized persons access. It could be a cheapo lock with an easy to guess combo. Or it could be something expensive and pick proof. In the eyes of the law it doesn't matter. Common sense may suggest investing in something better than the cheapest lock, but the law doesn't care.
A URL is not a secret, given its common use. So it doesn't have the same legal standing as a combination or uid/password. Particularly if that URL has any meaning associated with the likely contents of the site. I would expect anyone searching for information on transportation in New South Wales to consider nswtransportblueprint.com.au to be a perfectly reasonable place to look for public information. So a reasonable person could assume that the site's owner had no intention of securing it. Hiding it at Goatse.cx would have been another matter. But then I don't know much about New South Wales government, so perhaps I'm wrong.
Have gnu, will travel.
Contents of aussiegovernmentdomain.com/robots.txt
/very/secret/catalog123
User-Agent: *
Disallow:
I noticed a few people reacting to the 3,727, as if it was some sort of brute-force attack to get a URL.
If that was 3,727 requests to the http server, I think that wouldn't be very much. That is, reading a web page with graphical elements would, I would think, involve a dozen or so http requests -- more if there were lots of little icons and what not. Two journalists looking at a dozen such web pages a few times each would run up that number pretty quickly. (Can someone with more networking experience than I have check my thinking?)
And, of course, a decent firewall logs all requests, including legitimate requests.
So, I would guess that this is just the politician grabbing a number that sounds large to him, and ascribing significance it doesn't have.
The web works differently. One computer asks another for an index of available material. The other computer, by default, complies with the request and hands over a copy of the index. The first computer asks for a copy of the material listed in the index, and the second, again by default, complies with that request. This is not at all the same as walking into a house with an open door and removing actual property. Computers on a network will always do what they are asked to do. They are designed to do exactly that. When they do it, they are working exactly as they are supposed to work. This is not at all analogous with our traditional understanding of the way houses work. It's way past time people understood that.
Athy, athier, athiest.
The Sydney Morning Herald, a local newspaper? Well, yes, I guess so, in exactly the same way that the New York Times or Washington Post is.
Read TFA. They didn't trial and error 3,727 times. Somebody e-mailed them a link, and they followed it. 3,727 is the total number of HTML requests that the "secret" and "confidential" public web server received. As the above reply notes, it's like calling ONE phone number that somebody told you to call, and having an automated system there tell you everything you wanted to know.
ASCII stupid question, get a stupid ANSI
In nearly every home in the US, let alone the world, the doorways are locked with $5 pieces of tin and maybe a tiny bolt of metal shoved through some wood. There is little challenge to defeat these locks, either through picking or just jostling the door open or breaking the jamb. Furthermore, it's often the case that the doors are not locked at all, or perhaps a window is left open, or unlocked, and it's just assumed that since it's a second story window, that nobody would try it.
So many of these homes are invade by thieves. And yet, there is no question that those invading were violating a law.
If you enter a public place, rules tend to change. Despite the doors not being locked, I can walk into a grocery store and not feel like I've trespassed because it's a business and that's expected. However, I've often seen unmarked doors in dark corners of large stores, or even doors marked "Employee Only" or maybe an unlabeled staircase leading to who-knows-where. I know I'm not welcome in those areas, and if I entered one and was subsequently accosted for it, should I be shocked?
Now we start talking about computers, and their presence on public networks. To me this is some kind of bizarre combination of the two previous physical scenarios. The computers themselves are viewed as having the privacy rights of the house, where-as their offering and the environment in which they make the offer is more like the store, or even another unmentioned public situation: A public park. So how do we come to the conclusions we make? Why is "security by obscurity" not enough to justify criminal charges to those who would violate it?
Or, if you see things the other way, then I ask why you think that the public accessing a publicly offered machine is somehow unlawful, even if they are walking through those otherwise unmarked doors or looking for out-of-the way staircases?
Just because a person doesn't break a lock to get into a home doesn't mean it's not breaking and entering, and just because a door at a store is unmarked doesn't mean the person's trying to break the law either. In the internet, your computer is knowingly placed in the public arena with open attempts at making it easy for the public to find and access, yet somehow accessing an unadvertised part of that computer is a violation?
I don't think the answers are clear but I do think some of the associated assumptions on both sides are questionable. It's interesting to thing about at least. Who has the responsibility here, is it the site admin's responsibility to batten down every hatch or is it reasonable to expect people not to snoop around? You tell me...
I read the script, and I think it would help my character's motivation if he was on fire. -Bender
Those aren't M&Ms, they're Mike and Ikes.
I feel fantastic, and I'm still alive.
But that will never happen, lets ignore the fact that the Australian government couldn't intimidate a kitten, let alone an Australian and think about that statement for a while.
You will not sleep well at all if everyone fears you, you are a threat to them and people like to remove threats to them so that they can live without fear. Fear you see is a very powerful motivator and extremely chaotic (it will never work like you expect it to). In actual fact you will sleep very restlessly out of the fear of an uprising or the fear that your own subordinates deciding to top you and take your place.
Those who rule by fear are also ruled fear or if you would prefer, live by the sword, die by the sword.
Calling someone a "hater" only means you can not rationally rebut their argument.
"Secret" for me implies that it is
If active attacks, ie. unintended uses of your infrastructure, are necessary to reveal the secret (brute forcing, breaking into your server, kidnapping and torturing you etc.), then I agree that the line has been crossed.
I am aware that this distinction is rather blurry. But while I do condemn brute forcing and comparable attacks I cannot subscribe to the opinion that seeing through obscurity is an evil hack. Intent alone does not constitute a security measure. There has to be a certain level of quality to an access control system.
Rudolf Hess edited Mein Kampf. He was the very first grammar nazi.
This is why nobody takes IT seriously, we over analyze everything.
Cheap storage VM.
In my state, if an area is not obviously private land, you have to post a "No Trespassing" sign. (Similarly, a business/gov't agency would have to mark an area "Restricted" or "Employees Only".
If no sign is posted, and the police are called, the police inform you you're trespassing, give you a little paper to this effect, and if you come back, you're arrested. But if the property owner tells you to leave, and you do, you have committed no trespass.
I see this access of the Australian Government's documents analogous to a hiker who was exploring public land, and wandered into a private field. Without a fence, or a posted sign, they had no way to know they were trespassing, and any charges to that effect would be easily overturned.
Without saying who I believe is actually right in this case, I can't help but wonder how is different to brute force
http(s)://hostname/secret
and
http(s)://username:pasword@hostname/
since basically secret could equal user:password? In the second case, you know the secret has at least one known character.
It is amazing the newspaper was poking around for two days to research a story and the Aussie gov't didn't notice--that is scary. And, the newspaper going in their backoffice to do research is pretty brassy and brash. Would think that would be illegal, as they don't own the website or have permissions. What if there is private information about the private citizens they were accessing? Yet, they thought it was okay to keep going back in there...Sickening, no honor, no boundaries.