| By Bob Gourley | Article Rating: |
|
| February 8, 2012 09:30 AM EST | Reads: |
2,802 |
Recently, some news of a NASA hack-and-dump passed my twitter deck. I decided after watching a few of my friends re-tweet the news that it might be worth checking out. At least I’d see if I could perform some password analysis on any dumped credentials, or even test out the new Crucialpoint Cloudera Hadoop password cracker on any leftover hashes. What follows is a step-by-step methodology of how I put together the pieces on the hack, and what I think likely happened based on my experience as a web application hacker/programmer.
This is just another in a long string of NASA security breaches
First, I followed a re-tweet from someone I follow to this user account on twitter: https://twitter.com/#!/d4op. The user is a prolific poster about security vulnerabilities and has a long list of tweets linking to pastebin.com drops with account credentials. The NASA link is but one of many. I follow the link in the tweet to this pastebin paste: http://pastebin.com/W2K3pTyX, and from there, to a mediafire download: http://www.mediafire.com/?962aq85rgchjs7d.
I unpacked the RAR file to find a .sql dump script, a file typically used to restore the database and it’s contents in the event of data loss. Literally it’s a backup of the SQL data. A few quick searches shows that, true to it’s name, it contains data from the Solar and Heliospheric observatory (SOHO) database according to tidbits of data inside of the dump, the filename, and a few other markers.
Within the dump I was unable to find any credentials, mostly it contains instrument data tables, articles, and other data of scientific and academic interest. It does not appear as though there is any actionable data (from a security standpoint) contained within the dump. This may mean that either the attacker did not push the attack for more, or that they were confined to accessing a single database from within a vulnerable database application. In any event, it is clear that this database dump is publicly-accessible information from the SOHO website resources.
If it’s a SQL dump, it’s likely to be a SQL injection (one of the most commonly-exploited vulnerabilities). Some of the other disclosures mentioned in the twitter account also appeared to be SQL-injection related, so these factors started me searching for user interactions with the NASA database — specifically search functions. Search functions are great targets for XSS and SQL injections. Lo and behold, one such search function exists, and it looks to have been written a great deal of time ago: http://seal.nascom.nasa.gov/cgi-bin/bib_ui_seal
I did not attack/test the website in question to confirm the vulnerability of any SQL database application (that’d be illegal without permission), but I’d say there’s a pretty high likelihood that the SQL dump was caused by either an incorrect setup on the database itself or a SQL injection from that page due to the outdated programming methodologies it is apparently using (CGI) and the primitive layout structure of the view (tabular layout, popular in late 1990′s and early 2000′s).
For more information about SQL vulnerabilities or other kinds of web application vulnerabilities, I recommend starting here: https://www.owasp.org/index.php/SQL_injection OWASP is a great resource for developers, managers, and security personnel to get together, compare notes, and build secure websites.
Related articles
- Hacking group releases more Stratfor subscriber data (bobgourley.com)
- Only 18% of Software Apps Pass Security Tests (ctovision.com)
- Romanian Hacker Arrested for NASA Breach (ctolabs.com)

Read the original blog entry...
Published February 8, 2012 Reads 2,802
Copyright © 2012 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Bob Gourley
Bob Gourley, former CTO of the Defense Intelligence Agency (DIA), is Founder and CTO of Crucial Point LLC, a technology research and advisory firm providing fact based technology reviews in support of venture capital, private equity and emerging technology firms. He has extensive industry experience in intelligence and security and was awarded an intelligence community meritorious achievement award by AFCEA in 2008, and has also been recognized as an Infoworld Top 25 CTO and as one of the most fascinating communicators in Government IT by GovFresh.
- Cloud Expo New York | Danger Ahead: Why File Sync Is NOT Endpoint Backup
- Session Topics: 12th Cloud Expo / Cloud Expo New York
- Cloud Expo NY: Best Practices for Architecting Your Cloud Infrastructure
- Cloud Expo New York: Aligning Your Cloud Security with the Business
- Overview of the OpenStack Cloud
- Cloud Expo New York: Managing Legal Risks in Cloud Computing
- Cloud Expo NY: Environmental Pressures Drive an Evolution in File Storage
- Cloud Expo NY: Accelerating Cloud Computing with Intel SSD Technology
- Is Cloud Safer Than Your Traditional Datacenter?
- NIST to Sponsor FFRDC Widespread Adoption of Integrated CyberSecurity
- Apple’s Key Rubber-Band Patent Found Invalid Again
- Cloud Expo New York: Anatomy of an Internet Scale Application
- Cloud Expo New York | CEO Insider: Overcoming Cloud Barriers
- Cloud Expo New York | Danger Ahead: Why File Sync Is NOT Endpoint Backup
- Session Topics: 12th Cloud Expo / Cloud Expo New York
- Cloud Expo NY: Best Practices for Architecting Your Cloud Infrastructure
- Cloud Expo New York: Aligning Your Cloud Security with the Business
- Overview of the OpenStack Cloud
- Cloud Expo New York: Managing Legal Risks in Cloud Computing
- Cloud Expo NY: The Promise of an End-to-End SDN Solution - Can It Be Done?
- Guest Post: Typical CIO Conversation
- Cloud Expo NY: Environmental Pressures Drive an Evolution in File Storage
- Technology Benefit Cycle: What Gartner & Geoffrey Moore Aren’t Telling You
- Amazon Makes Virtual Private Clouds Its Default
- Effective Page Authorization In JavaServer Faces
- The Top 250 Players in the Cloud Computing Ecosystem
- Cloud Expo New York Call for Papers Now Open
- SOA Focus - Web Services Security in Java EE
- IBM Security Report Predicts Mobile/Satellite Attacks in 2005
- Industry Experts Discuss the State of Cloud Computing
- The Cloud Computing Kettle Heats Right Up
- The Top 100 Bloggers on Cloud Computing
- The Next Chapter in the Virtualization Story Begins
- Java Application Security in the Corporate World
- ColdFusion Security Best Practices
- Cloud Expo 2011 East To Attract 10,000 Delegates and 200 Exhibitors




























