Subrion CMS 2.2.1 Multiple Remote XSS POST Injection Vulnerabilities

Title: Subrion CMS 2.2.1 Multiple Remote XSS POST Injection Vulnerabilities
Advisory ID: ZSL-2012-5105
Type: Local/Remote
Impact: Cross-Site Scripting
Risk: (3/5)
Release Date: 11.09.2012
Summary
Subrion is a free open source content management system. It's written in PHP 5 and utilizes MySQL database. Subrion CMS can be easily integrated into your current website or used as a stand alone platform. It's extremely flexible and scalable php system that stands for a content management framework.
Description
Subrion CMS suffers from multiple stored and reflected cross-site scripting vulnerabilities. The issues are triggered when input passed via several parameters to several scripts is not properly sanitized before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
Vendor
Intelliants LLC - http://www.subrion.com
Affected Version
2.2.1
Tested On
Microsoft Windows 7 Ultimate SP1 (EN)
Apache 2.4.2 (Win32)
PHP 5.4.4
MySQL 5.5.25a
Vendor Status
[05.09.2012] Vulnerabilities discovered.
[06.09.2012] Contact with the vendor.
[07.09.2012] Vendor responds asking more details.
[07.09.2012] Sent detailed information to the vendor.
[10.09.2012] Vendor creates patch.
[11.09.2012] Vendor releases version 2.2.2 to address these issues.
[11.09.2012] Coordinated public security advisory released.
PoC
subrion_xss.txt
Credits
Vulnerability discovered by Gjoko Krstic - <gjoko@zeroscience.mk>
References
[1] http://packetstormsecurity.org/files/116434
[2] http://cxsecurity.com/issue/WLB-2012090114
[3] http://www.subrion.com/forums/announcements/893-subrion-open-source-cms-2-2-2-has-been-released.html
[4] http://secunia.com/advisories/44917/
[5] http://xforce.iss.net/xforce/xfdb/78467
[6] http://xforce.iss.net/xforce/xfdb/78468
[7] http://www.securityfocus.com/bid/55502
[8] http://www.osvdb.org/show/osvdb/85988
[9] http://www.osvdb.org/show/osvdb/85996
[10] http://www.osvdb.org/show/osvdb/85997
[11] http://www.osvdb.org/show/osvdb/85998
[12] http://cve.mitre.org/cgi-bin/cvename.cgi?name=2011-5211
[13] http://cve.mitre.org/cgi-bin/cvename.cgi?name=2012-5452
[14] http://cve.mitre.org/cgi-bin/cvename.cgi?name=2012-4771
Changelog
[11.09.2012] - Initial release
[12.09.2012] - Added reference [3]
[13.09.2012] - Added reference [4]
[14.09.2012] - Added reference [5], [6] and [7]
[11.11.2012] - Added reference [8], [9], [10], [11], [12], [13] and [14]
Contact
Zero Science Lab

Web: http://www.zeroscience.mk
e-mail: lab@zeroscience.mk