Facebook Google Plus Twitter LinkedIn YouTube RSS Menu Search Resource - BlogResource - WebinarResource - ReportResource - Eventicons_066 icons_067icons_068icons_069icons_070

Cisco IP Phones Web Server Multiple Vulnerabilities

Critical

Synopsis

While conducting research on a Cisco Wireless IP Phone 8821, Tenable discovered a couple of vulnerabilities affecting numerous Cisco IP Phone models.

CVE-2020-3161: Unauthenticated Stack-Based Buffer Overflow

An unauthenticated remote attacker can trigger a stack-based buffer overflow by sending a crafted HTTP request to the /deviceconfig/setActivationCode endpoint. In libHTTPService.so, the parameters after /deviceconfig/setActivationCode are used to create a new URI via a sprintf function call. The length of the parameter string is not checked. When an attacker provides a long parameter string then sprintf overflows the provided stack-based buffer. This results in a crash of the device or could potentially allow for remote code execution.

A denial of service proof of concept can be found on our GitHub.

CVE-2016-1421: Unauthenticated Stack-Based Buffer Overflow

An unauthenticated remote attacker can trigger a stack-based buffer overflow by sending a crafted HTTP request to the /CGI/CallInfo endpoint. In libHTTPService.so, the parameters after /CGI/CallInfo are appended to a stack buffer using strcat. The length of the parameter string is not checked. When an attacker provides a long parameter string, strcat overflows the buffer. This results in a crash of the device or could potentially allow for remote code execution.

A denial of service proof of concept can be found on our GitHub.

During Tenable's original analysis, they noted the similarity of this vulnerability to CSCuz03016. However, Cisco's advisory described the vulnerability as requiring authentication, DoS only, and the Wireless IP Phone 8821 wasn't listed on the affected list. After disclosing to Cisco, they informed Tenable that the described bug was CVE-2016-1421 and subsequently updated their disclosure.

Solution

Upgrade to the following versions or later:

  • IP Phone 78xx: 11.7(1)
  • IP Phone 88xx: 11.7(1)
  • Unified IP Conference Phone 8831: 10.3(1)SR6
  • Wireless IP Phone 8821, 8821-EX: 11.0(5)SR3

Disclosure Timeline

01/23/2020 - Reported to Cisco PSIRT. 90 day is April 22.
01/23/2020 - Cisco responds and assigns PSIRT-0084029298 and CSCvs78272, CSCvs78281 to the case/vulns.
02/05/2020 - Tenable asks for an update.
02/05/2020 - Cisco was able to reproduce and acknowledge Tenable's deadline. Clarifying questions on who to credit.
02/05/2020 - Tenable thanks Cisco for the attribution.
02/19/2020 - Cisco asks if coordinated disclosure on April 22 works.
02/19/2020 - Tenable asks clarifying question about when the firmware would be released.
02/19/2020 - Cisco indicates the team is targeting April 15.
02/19/2020 - Tenable informs Cisco it's the team's policy to coordinate on the patch release day.
02/19/2020 - Cisco acknowledges and will get back with Tenable on which date will be disclosure day.
02/19/2020 - Tenable thanks Cisco.
03/19/2020 - Cisco informs Tenable know that the April 15 release date is still on track.
03/19/2020 - Tenable thanks Cisco.
03/25/2020 - Cisco asks Tenable if they'd postpone disclosure due to current extenuating circumstances.
03/25/2020 - Tenable agrees that the extenuating circumstances are a good reason to deviate from disclosure policy. Tenable asks if Cisco will hold back the patch.
03/26/2020 - Cisco states, "We discussed internally and it is most likely not going to be possible to stop the posting of the code on 4/15/2020 so we will go ahead as planned with the 4/15/2020 disclosure."
03/26/2020 - Tenable acknowledges. Tenable and Cisco exchange a flurry of emails on CVE assignment.

All information within TRA advisories is provided “as is”, without warranty of any kind, including the implied warranties of merchantability and fitness for a particular purpose, and with no guarantee of completeness, accuracy, or timeliness. Individuals and organizations are responsible for assessing the impact of any actual or potential security vulnerability.

Tenable takes product security very seriously. If you believe you have found a vulnerability in one of our products, we ask that you please work with us to quickly resolve it in order to protect customers. Tenable believes in responding quickly to such reports, maintaining communication with researchers, and providing a solution in short order.

For more details on submitting vulnerability information, please see our Vulnerability Reporting Guidelines page.

If you have questions or corrections about this advisory, please email [email protected]

Risk Information

Tenable Advisory ID: TRA-2020-24
Credit:
Jacob Baines
CVSSv2 Base / Temporal Score:
10.0 / 7.8
CVSSv2 Vector:
AV:N/AC:L/Au:N/C:C/I:C/A:C
Affected Products:
IP Phone 7811, 7821, 7841, and 7861 Desktop Phones
IP Phone 8811, 8841, 8845, 8851, 8861, and 8865 Desktop Phones
Unified IP Conference Phone 8831
Wireless IP Phone 8821 and 8821-EX
Risk Factor:
Critical
Additional Keywords:
CSCuz03034
CSCuz03016
CSCvs78272
CSCvs78281
CSCvs78441

Advisory Timeline

April 15, 2020 - Initial Release