FreePBX Multiple Cross Site Scripting and Remote Command Execution Vulnerabilities

Summary
This host is running FreePBX and is prone to multiple cross site scripting and remote command execution vulnerabilities.
Impact
Successful exploitation may allow remote attackers to steal cookie-based authentication credentials or execute arbitrary commands within the context of the affected application. Impact Level: System/Application
Solution
Apply the patch from below link, http://www.freepbx.org/trac/ticket/5711
Insight
Multiple flaws are caused by an, - Improper validation of user-supplied input by multiple scripts, which allows attacker to execute arbitrary HTML and script code on the user's browser session in the security context of an affected site. - Input passed to the 'callmenum' parameter in recordings/misc/callme_page.php (when 'action' is set to 'c') is not properly verified before being used. This can be exploited to inject and execute arbitrary shell commands.
Affected
FreePBX versions 2.9.0 and 2.10.0
References