Cisco Unity Connection contains a vulnerability that could allow an authenticated, remote attacker to conduct directory traversal attacks. Updates are available.
A vulnerability in the attachment service of Cisco Unity Connection, known as Cisco Unity Web Service or as Voice Message Web Service (VMWS), could allow an authenticated, remote attacker to place files in arbitrary locations on an affected device.
The vulnerability is due to a failure to properly sanitize user-supplied input provided as part of a file name to the VMWS attachment service. An attacker could exploit this vulnerability by supplying the path to the desired file location utilizing directory traversal characters. An exploit could allow the temporary placement of an attacker-controlled file into any location writeable by the Apache Tomcat service.
When files are uploaded, the VMWS Attachment service validates the supplied file and immediately removes the file if it is not determined to be an audio file. This creates a short window that could be used to access the attacker-controlled file. If placed in the proper location on the device, an extended impact of this vulnerability could allow the attacker to execute arbitrary Java Server Pages (JSP) code within the context of Apache Tomcat.
Cisco would like to thank Jason Sinchak for reporting this vulnerability.
Cisco has confirmed the vulnerability and released software updates.
At the time this alert was first published, Cisco Unity Connection versions 9.1(2) and prior were vulnerable. Later releases of Cisco Unity Connection may also be vulnerable.
To exploit this vulnerability, an attacker must authenticate to place arbitrary files in certain locations on an affected device. This access requirement decreases the likelihood of a successful exploit.
If the VMWS recognizes a file other than an audio file, the service would remove the file, which shortens the window of an affected device accessing an arbitrary file uploaded by an attacker.
Cisco indicates through the CVSS score that functional exploit code exists.
Customers are advised to consult Cisco bug ID CSCuj22948 or the most complete list of affected product versions.
An authenticated, remote attacker could exploit this vulnerability to place files in arbitrary locations on an affected device. A successful exploit could lead to further attacks, which could allow the attacker to execute arbitrary JSP code within the security context of the Apache Tomcat service running on an affected device.
The vulnerability is due to a failure to properly sanitize user-supplied input provided as part of a file name to the VMWS attachment service.
An authenticated, remote attacker could exploit this vulnerability by supplying the path to the desired file location utilizing directory traversal characters. An exploit could allow the temporary placement of an attacker controlled file into any location writeable by the Apache Tomcat service.
Administrators are advised to apply the appropriate updates.
Administrators are advised to allow only trusted users to have network access.
Administrators are advised to consult Cisco bug ID CSCuj22948, which describes an additional workaround.
Administrators are advised to monitor affected systems.
Cisco customers with active contracts should contact their Cisco support team for assistance in upgrading to a software version that includes fixes for this vulnerability. Cisco customers without contracts may contact the Cisco Technical Assistance Center at 1-800-553-2447 or 1-408-526-7209 or via email at firstname.lastname@example.org for assistance.
Alerts and bulletins on the Cisco Security Intelligence Operations Portal are highlighted by analysts in the
Cisco Threat Operations Center and represent a subset of the comprehensive content that is available through Cisco Security IntelliShield Alert Manager Service.
This customizable threat and vulnerability alert service provides security staff with access to timely, accurate, and credible information about threats and vulnerabilities that may affect their environment.
The urgency and severity ratings of this alert are not tailored to individual users; users may value alerts differently based upon their network configurations and circumstances. THE ALERT, AND INFORMATION CONTAINED THEREIN, ARE PROVIDED ON AN "AS IS" BASIS AND DO NOT IMPLY ANY KIND OF GUARANTEE OR WARRANTY, INCLUDING THE WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. YOUR USE OF THE ALERT, AND INFORMATION CONTAINED THEREIN, OR MATERIALS LINKED FROM THE ALERT, IS AT YOUR OWN RISK. INFORMATION IN THIS ALERT AND ANY RELATED COMMUNICATIONS IS BASED ON OUR KNOWLEDGE AT THE TIME OF PUBLICATION AND IS SUBJECT TO CHANGE WITHOUT NOTICE. CISCO RESERVES THE RIGHT TO CHANGE OR UPDATE ALERTS AT ANY TIME.