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

[R2] HP Loadrunner / HP Performance Center Virtual Table Server (VTS) \web\admin\data.js Remote File Deletion

High

Synopsis

During the development of a detection plugin for a previous HP VTS vulnerability, one of our engineers discovered an additional issue that allows an unauthenticated attacker to delete arbitrary files on the VTS server. This was tested on Performance Center Virtual Table Server, a component of LoadRunner VTS 12.50 running on a 32-bit Windows 2008 Server host. The vulnerability was found in [HP_VTS_INSTALL_DIR]\web\admin\data.js, which is a dispatcher to handle an HTTP request. The 'f' variable is intended to hold parameters passed in the URL query string (f = querystring.parse(a)) or the POST body (f = c.body). When the user uploads a file with a POST request to url /data/import_csv and body containing "Content-Disposition: form-data; name=fileToUpload", the "path" parameter (f.path) is set to [HP_VTS_INSTALL_DIR]\web\admin\Web\file\(some_randomly_generated_file_name). This is the location where the uploaded file is put into. When VTS finishes processing the file specified in f.path, it tries to delete it.

Solution

HP has released an upgrade for Performance Center (version 12.53) to correct this issue. Please consult the vendor advisory for details.

Disclosure Timeline

2016-01-21 - Submitted to ZDI for consideration, case bmartin003
2016-01-25 - ZDI asks for non-NASL PoC. Tenable sends PCAP.
2016-02-01 - ZDI makes an offer of $750, Tenable replies haggling for a better price
2016-02-02 - ZDI agrees to $1000, Tenable accepts, everyone rejoices!
2016-05-31 - Vendor releases fix and advisory
2016-06-03 - ZDI publishes ZDI-16-364

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]