Attacks/Breaches
12/13/2012
12:39 PM
50%
50%

Security Researcher Compromises Cisco VoIP Phones With Vulnerability

Grad student demonstrates how phones can be turned into listening devices by attackers

A researcher has demonstrated how Cisco Voice-over-IP (VoIP) phones can be hijacked and turned into listening devices.

At the Amphion Forum this month, Columbia University grad student Ang Cui demonstrated how networked printers and phones can be abused by attackers. The forum, held in San Francisco, is produced by Mocana, which makes security software for non-PC devices that connect to the Internet.

"The attack I demonstrated is caused by the multiple vulnerabilities within the syscall interface of the CNU [Cisco Native Unix] kernel," Cui tells Dark Reading. "It is caused by the lack of input validation at the syscall interface, which allows arbitrary modification of kernel memory from userland, as well as arbitrary code execution within the kernel. This, in turn, allows the attacker to become root, gain control over the DSP [Digital Signal Processor], buttons, and LEDs on the phone. The attack I demonstrated patches the existing kernel and DSP in order to carry out stealthy mic exfiltration."

As part of the demonstration, Cui inserted and removed a small external circuit board from the phone's Ethernet port -- a move he asserted could be accomplished by someone left alone inside a corporate office for a few seconds. He then used his own smartphone to capture every word spoken near the VoIP phone, even though it was still "on-hook."

By patching the VoIP phone's software with his own code, he was able to turn the Off-Hook Switch into what he refers to as a "funtenna."

The issue can be exploited remotely as well, explains Cui, where a likely method of exploiting the kernel is by using an arbitrary execution bug on the phone's surface.

"Typically, exploitation of a nonprivileged process will give the attacker limited access to the phone," he says. "But in this case, any arbitrary code execution bug can be used to exploit the vulnerable syscalls, giving the attacker kernel-level access. I've identified several third-party libraries within the Cisco phone that have known exploitable vulnerabilities."

"The exploitability of these vulnerable third-party libraries will be discussed at 29C3 [29th Chaos Communication Congress]," he says.

In response to his findings, Cisco says that workarounds and a software patch are available to address the issue, and that successful exploitation requires physical access to the device serial port or a combination of remote authentication privileges and nondefault settings.

"The company maintains a very open relationship with the security community, and we view this as vital to helping protect our customers’ networks," the company said in a statement, adding that "a formal release note for customers was issued on November 2nd (bug id: CSCuc83860)."

"As for mitigation, I encourage everyone to patch to the latest [not publicly] available firmware ASAP," Cui says. "I looked today and found that the firmware images are not available for download. I believe it is still only available upon request through TAC.

"At the end of the day, I'd like to see actual mechanical switches that control the various input/output devices on IP phones," he adds. "Looking past this specific vulnerability, I believe there is a real need for actual host-based defense on embedded systems. The Software Symbiote technology developed at Columbia University is designed to protect embedded devices against this kind of attack."

The vulnerability Cui demonstrated was based on work he did during the past year on ‘Project Gunman v2’, where a laser printer firmware update could be compromised with additional -- and potentially malicious -- code. The compromised printer could then be used to launch other attacks on the internal network.

"The VoIP phone vulnerability demonstrated at the Amphion Forum was a stark reminder of the need to address the device security mess," says Kurt Stammberger, vice president of market development at Mocana and chair of the Amphion Forum, in a statement. "The sad fact is that most devices connected to corporate networks, like printers and VoIP phones, are almost totally unsecured."

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.

Comment  | 
Print  | 
More Insights
Register for Dark Reading Newsletters
White Papers
Cartoon
Current Issue
Flash Poll
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2013-2184
Published: 2015-03-27
Movable Type before 5.2.6 does not properly use the Storable::thaw function, which allows remote attackers to execute arbitrary code via the comment_state parameter.

CVE-2014-3619
Published: 2015-03-27
The __socket_proto_state_machine function in GlusterFS 3.5 allows remote attackers to cause a denial of service (infinite loop) via a "00000000" fragment header.

CVE-2014-8121
Published: 2015-03-27
DB_LOOKUP in nss_files/files-XXX.c in the Name Service Switch (NSS) in GNU C Library (aka glibc or libc6) 2.21 and earlier does not properly check if a file is open, which allows remote attackers to cause a denial of service (infinite loop) by performing a look-up while the database is iterated over...

CVE-2014-9712
Published: 2015-03-27
Websense TRITON V-Series appliances before 7.8.3 Hotfix 03 and 7.8.4 before Hotfix 01 allows remote administrators to read arbitrary files and obtain passwords via a crafted path.

CVE-2015-0658
Published: 2015-03-27
The DHCP implementation in the PowerOn Auto Provisioning (POAP) feature in Cisco NX-OS does not properly restrict the initialization process, which allows remote attackers to execute arbitrary commands as root by sending crafted response packets on the local network, aka Bug ID CSCur14589.

Dark Reading Radio
Archived Dark Reading Radio
Good hackers--aka security researchers--are worried about the possible legal and professional ramifications of President Obama's new proposed crackdown on cyber criminals.