Multiple vulnerabilities have been discovered in WebPagetest, which can be exploited by malicious people to disclose potentially sensitive and system information and compromise a vulnerable system.
1) Input passed via the "file" parameter to www/gettext.php is not properly verified before being used to display files. This can be exploited to disclose the contents of arbitrary files via directory traversal sequences.
2) Input passed via the "file" parameter to www/gettcpdump.php and getgzip.php is not properly verified before being used to download files. This can be exploited to disclose the contents of arbitrary files via directory traversal sequences.
3) The scripts www/work/resultimage.php and www/work/dopublish.php allow the upload of files with arbitrary extensions to a folder inside the webroot. This can be exploited to execute arbitrary PHP code by uploading a malicious PHP script.
The vulnerabilities are confirmed in version 2.60. Other versions may also be affected.