---
title: "Attack: WebPageTest Arbitrary PHP File Upload"
url: https://www.broadcom.com/support/security-center/attacksignatures/detail?asid=26148
description: Attack Signature Detail Page
---

# Attack: WebPageTest Arbitrary PHP File Upload

## Severity: High

This attack could pose a serious security threat. You should take immediate action to stop any damage or prevent further damage from happening.

## Description

This signature detects an attempt to exploit an arbitrary file-upload vulnerability WebPagetest application which could result in remote code execution.

## Additional Information

WebPagetest is a web-based tool implemented in PHP.

The application is prone to the following input-validation vulnerabilities:

1. Multiple local file-disclosure vulnerabilities affect the application because it fails to sufficiently sanitize user-supplied input submitted to the 'file' parameter of the 'gettext.php', 'gettcpdump.php', and 'getgzip.php' scripts.
2. Multiple arbitrary file-upload vulnerabilities affect the application because it fails to sufficiently sanitize user-supplied input submitted to the 'resultimage.php', 'dopublish.php', and 'workdone.php' scripts.
3. Multiple arbitrary file-download vulnerabilities affect the application because it fails to sufficiently sanitize user-supplied input submitted to 'testpath' and 'id' parameters of the 'download.php' script.
4. A local file-include vulnerability affects the application because it fails to sufficiently sanitize user-supplied input submitted to the 'about.php' script.
5. A local file-delete vulnerability affects the application because it fails to sufficiently sanitize user-supplied input submitted to 'delete.php' and 'id' parameters of the 'download.php' script.

An attacker can exploit these issues to delete, upload, and download arbitrary files within the context of the affected application, to obtain potentially sensitive information from local files, and to execute arbitrary local scripts in the context of the Web server process; other attacks are also possible.

## Affected

- WebPagetest 2.6

## Additional Resources

- [SecurityFocus BID: 54442](http://www.securityfocus.com/bid/54442)
