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

[R1] Cisco Unified Computing System - Multiple Vulnerabilities

Medium

Synopsis

Tenable has discovered two vulnerabilities in Cisco’s Unified Computing System Platform Emulator 3.0.2cPE1 command line interface. Both are exploitable over SSH (authentication is required). The emulator ships with SSH enabled and a default username and password of ‘ucspe’. This account, and the functionality implemented, is designed not to allow access to the local file system other than the files or resources explicitly required.

#1) ucspe-copy Command Line Argument Handling Command Injection

One of the commands available in the ‘CLI shell’ is the ucspe-copy command, which takes two arguments (file name, location to send file to). Using this command, it appears that a direct call to /usr/bin/scp is being used through a system() call. After testing, it was determined that that command does not handle quotes properly. Additionally, the command parser splits the arguments on unescaped spaces only. This, combined with the fact that the second parameter relies on the input starting with 'ftp', 'scp', 'sftp', or 'tftp'. Using these observations, arbitrary commands can be injected.

#2) libclimeta.so Filename Argument Handling Local Heap Buffer Overflow

The ucspe-copy command is also vulnerable to a heap overflow vulnerability. Specifically, if the first argument exceeds 241 characters then the program will write outside of the allocated buffer. The first argument is calling the /ape/ape/opt/sam/bin/ucssh program. Specifically, the library that processes the ucspe-copy input and executes system() (as well as the free() that triggered this crash) is libclimeta.so.

Solution

Cisco has released version 3.1 which addresses these issues.

Disclosure Timeline

2015-12-17 - Issues discovered
2015-12-21 - Vendor notified via [email protected]
2015-12-21 - Vendor confirms receipt, assigns PSIRT-0551455275
2015-12-28 - Vendor assigns CSCux68832 to command injection, CSCux68837 to heap overflow
2016-01-08 - Vendor says ETA for fix is Jan 2016
2016-02-17 - Ping vendor for update
2016-02-18 - Vendor replies, bugs not yet resolved
2016-02-19 - Vendor replies, will be fixed in 3.1 due end of Feb/early March
2016-02-19 - Vendor assigns CVE IDs
2016-03-10 - Vendor says v3.1 scheduled for release next week, advisories on 3/18
2016-03-18 - Vendor pushes release to early next week, asks if OK. We say sure!
2016-04-07 - Vendor says v3.1 is slightly delayed, more info as they know it.
2016-04-12 - Vendor releases v3.1, advisory to follow shortly
2016-04-15 - Vendor publishes two advisories

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-2016-08
Credit:
Jacob Baines, Tenable Network Security
CVSSv2 Base / Temporal Score:
6.8 / 5.6
CVSSv2 Vector:
(AV:L/AC:L/Au:S/C:C/I:C/A:C/E:F/RL:OF/RC:C)
Affected Products:
Cisco Unified Computing System Platform Emulator 3.0.2cPE1
Risk Factor:
Medium
Additional Keywords:
PSIRT-0551455275
CSCux68832
CSCux68837

Advisory Timeline

2016-04-15 - [R1] Initial Release

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy.

Your Tenable Vulnerability Management trial also includes Tenable Lumin and Tenable Web App Scanning.

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

100 assets

Choose Your Subscription Option:

Buy Now

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy.

Your Tenable Vulnerability Management trial also includes Tenable Lumin and Tenable Web App Scanning.

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

100 assets

Choose Your Subscription Option:

Buy Now

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy.

Your Tenable Vulnerability Management trial also includes Tenable Lumin and Tenable Web App Scanning.

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

100 assets

Choose Your Subscription Option:

Buy Now

Try Tenable Web App Scanning

Enjoy full access to our latest web application scanning offering designed for modern applications as part of the Tenable One Exposure Management platform. Safely scan your entire online portfolio for vulnerabilities with a high degree of accuracy without heavy manual effort or disruption to critical web applications. Sign up now.

Your Tenable Web App Scanning trial also includes Tenable Vulnerability Management and Tenable Lumin.

Buy Tenable Web App Scanning

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

5 FQDNs

$3,578

Buy Now

Try Tenable Lumin

Visualize and explore your exposure management, track risk reduction over time and benchmark against your peers with Tenable Lumin.

Your Tenable Lumin trial also includes Tenable Vulnerability Management and Tenable Web App Scanning.

Buy Tenable Lumin

Contact a Sales Representative to see how Tenable Lumin can help you gain insight across your entire organization and manage cyber risk.

Try Tenable Nessus Professional Free

FREE FOR 7 DAYS

Tenable Nessus is the most comprehensive vulnerability scanner on the market today.

NEW - Tenable Nessus Expert
Now Available

Nessus Expert adds even more features, including external attack surface scanning, and the ability to add domains and scan cloud infrastructure. Click here to Try Nessus Expert.

Fill out the form below to continue with a Nessus Pro Trial.

Buy Tenable Nessus Professional

Tenable Nessus is the most comprehensive vulnerability scanner on the market today. Tenable Nessus Professional will help automate the vulnerability scanning process, save time in your compliance cycles and allow you to engage your IT team.

Buy a multi-year license and save. Add Advanced Support for access to phone, community and chat support 24 hours a day, 365 days a year.

Select Your License

Buy a multi-year license and save.

Add Support and Training

Try Tenable Nessus Expert Free

FREE FOR 7 DAYS

Built for the modern attack surface, Nessus Expert enables you to see more and protect your organization from vulnerabilities from IT to the cloud.

Already have Tenable Nessus Professional?
Upgrade to Nessus Expert free for 7 days.

Buy Tenable Nessus Expert

Built for the modern attack surface, Nessus Expert enables you to see more and protect your organization from vulnerabilities from IT to the cloud.

Select Your License

Buy a multi-year license and save more.

Add Support and Training