Vulnerable Systems:
* OpenX 2.8.10 and probably prior
1) Cross-Site Scripting (XSS) in OpenX: CVE-2012-4989
Input passed via the "parent" GET parameter to /www/admin/plugin-index.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in administrator's browser session in context of an affected website.
The following PoC (Proof of Concept) demonstrates the vulnerability:
http://[host]/www/admin/plugin-index.php?action=info&group=vastInlineBannerTypeHtml&parent=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
2) SQL Injection in OpenX: CVE-2012-4990
Input passed via the "ids[]" POST parameter to /www/admin/campaign-zone-link.php is not properly sanitised before being used in SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
The following PoC demonstrates the vulnerability: