Vulnerabilities / Threats
7/5/2011
04:59 PM
Connect Directly
Google+
Twitter
RSS
E-Mail
50%
50%

Researcher Demonstrates HP TouchPad, Smartphone Hack

Mobile operating system platform vulnerable to XSS, cross-site request forgery

A researcher discovered a zero-day flaw in HP's new TouchPad that lets an attacker inject code into the Contacts application in order to steal information from the device or to build a botnet.

Orlando Barrera -- who late last week published a proof-of-concept for an attack that would exploit this vulnerability in WebOS 3.0 -- says his latest research, which uses a cross-site scripting (XSS) attack to inject code into the app, is related to vulnerabilities he discovered in an earlier version of HP's WebOS. Back in November, Barrera and fellow researcher Daniel Herrera reported their findings that the "Company" field in the Contacts app window was "unsanitized," which allowed them to inject code that ultimately grabbed the Palm's database file with emails, email addresses, contacts, and other information. They demonstrated at an Austin Hackers Association (AHA) meeting in Texas how this would allow an attacker to slip in keyloggers and build a mobile botnet.

"This [new flaw] is a similar vector ... the problem is the underlying WebOS architecture," says Barrera, who disclosed his latest findings at an AHA meeting last week. "Think of WebOS as a giant Web application, [leaving it open to] security issues like cross-site scripting and clickjacking, all of which are potential issues you could find in the entire operation of the Web operating system and all of its apps and third-party apps."

WebOS is vulnerable to cross-site request forgery, as well, he says. "It's a really simple exploit platform," he says. "The only reason it hasn't been exploited before is market share, but now that HP is trying to get into the PC tablet market, it has a potentially larger market share and becomes more of a target."

Barrera says he published the XSS PoC because it shows how simple it is to exploit the platform, and he didn't want to provide clues to "script kiddies" on how to compromise a PDF reader on the device or to perform a buffer overflow attack on it, for example, he says.

"This is an entire OS -- it contains user data like mail, contacts, passwords, contact information, videos," etc., he says. And the lack of input sanitization in some of the fields in the Contacts app leaves it vulnerable to malicious code injection and, ultimately, remote code execution.

"In theory, you could attempt to create a botnet by using this exploit against several WebOS users and injecting a JavaScript backdoor," Barrera says.

An HP spokesperson says it will fix the flaw in the next update to the operating system, that the company encourages people to contact its WebOS security team directly with any security issues, via webossecurity@palm.com or its website, http://www.hpwebos.com/security.

"Palm takes security very seriously. We have identified the issue and it will be addressed in the next over-the-air update," the spokesperson said in a statement.

To demonstrate how simple an XSS attack would be on an HP TouchPad, Barrera took his 6-year-old daughter with him to Best Buy to try it out on a TouchPad there. The attack could apply to Facebook, LinkedIn, and other apps, which are not "sanitized" in WebOS, he says.

The proof-of-concept for the attack is available here.

Barrera says he has been unsuccessful in getting HP -- and Palm, prior to be being acquired by HP -- to acknowledge the security issues with WebOS. He says he informed Palm of security problems with the "Sync" feature in WebOS version 1.4.1, and it was eventually fixed in WebOS version 2.0, after the HP acquisition. But he was never credited with the vulnerability finds, he says.

And when HP released the SDK for WebOS 3.0 for the TouchPad and Palm Pre, Barrera found security problems within 30 minutes of using the software, he says. He alerted ZDI, the security research arm of HP, which, in turn, informed HP's security team. HP denied any security problems and warned Barrera of nondisclosure agreement (NDA) rules for the SDK version. So he says he waited until the NDA lifted on June 30 and HP released the TouchPad with WebOS 3.0 to disclose his latest finding.

"I had submitted issues I found in WebOS 3.0 as adeveloper to ZDI to make HP aware of them -- one was an email XSS and the other was a test-message XSS," he says. "They fixed them and informed ZDI that there was no issue."

Barrera says he decided to publicize his latest finding to give consumers a heads-up of the potential risks of the products. He says he has no plans to do any further WebOS research.

Have a comment on this story? Please click "Add Your Comment" below. If you'd like to contact Dark Reading's editors directly, send us a message.

Kelly Jackson Higgins is Senior Editor at DarkReading.com. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise Magazine, ... View Full Bio

Comment  | 
Print  | 
More Insights
Register for Dark Reading Newsletters
White Papers
Flash Poll
Current Issue
Cartoon
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2014-2963
Published: 2014-07-10
Multiple cross-site scripting (XSS) vulnerabilities in group/control_panel/manage in Liferay Portal 6.1.2 CE GA3, 6.1.X EE, and 6.2.X EE allow remote attackers to inject arbitrary web script or HTML via the (1) _2_firstName, (2) _2_lastName, or (3) _2_middleName parameter.

CVE-2014-3310
Published: 2014-07-10
The File Transfer feature in WebEx Meetings Client in Cisco WebEx Meetings Server and WebEx Meeting Center does not verify that a requested file was an offered file, which allows remote attackers to read arbitrary files via a modified request, aka Bug IDs CSCup62442 and CSCup58463.

CVE-2014-3311
Published: 2014-07-10
Heap-based buffer overflow in the file-sharing feature in WebEx Meetings Client in Cisco WebEx Meetings Server and WebEx Meeting Center allows remote attackers to execute arbitrary code via crafted data, aka Bug IDs CSCup62463 and CSCup58467.

CVE-2014-3315
Published: 2014-07-10
Cross-site scripting (XSS) vulnerability in viewfilecontents.do in the Dialed Number Analyzer (DNA) component in Cisco Unified Communications Manager allows remote attackers to inject arbitrary web script or HTML via an unspecified parameter, aka Bug ID CSCup76308.

CVE-2014-3316
Published: 2014-07-10
The Multiple Analyzer in the Dialed Number Analyzer (DNA) component in Cisco Unified Communications Manager allows remote authenticated users to bypass intended upload restrictions via a crafted parameter, aka Bug ID CSCup76297.

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
Marilyn Cohodas and her guests look at the evolving nature of the relationship between CIO and CSO.