Subrion CMS 2.2.1 CSRF Add Admin Exploit

2012-09-11T00:00:00
ID ZSL-2012-5106
Type zeroscience
Reporter Gjoko Krstic
Modified 2012-09-11T00:00:00

Description

Title: Subrion CMS 2.2.1 CSRF Add Admin Exploit
Advisory ID: ZSL-2012-5106
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

The application allows users to perform certain actions via HTTP requests without performing any validity checks to verify the requests. This can be exploited to perform certain actions with administrative privileges if a logged-in user visits a malicious web 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] Vulnerability 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 this issue.
[11.09.2012] Coordinated public security advisory released.

PoC

subrion_csrf.html

Credits

Vulnerability discovered by Gjoko Krstic - <gjoko@zeroscience.mk>

References

[1] <http://packetstormsecurity.org/files/116433>
[2] <http://cxsecurity.com/issue/WLB-2012090113>
[3] <http://www.subrion.com/forums/announcements/893-subrion-open-source-cms-2-2-2-has-been-released.html>
[4] <http://www.exploit-db.com/exploits/21267/>
[5] <http://secunia.com/advisories/44917/>
[6] <http://xforce.iss.net/xforce/xfdb/78469>
[7] <http://www.securityfocus.com/bid/55502>
[8] <http://www.osvdb.org/show/osvdb/85999>
[9] <http://cve.mitre.org/cgi-bin/cvename.cgi?name=2012-4773>

Changelog

[11.09.2012] - Initial release
[12.09.2012] - Added reference [3] and [4]
[13.09.2012] - Added reference [5]
[14.09.2012] - Added reference [6] and [7]
[11.11.2012] - Added reference [8] and [9]

Contact

Zero Science Lab

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

                                        
                                            &lt;html&gt;&lt;head&gt;&lt;title&gt;403 Nothing to see.&lt;/title&gt;
&lt;link rel="Shortcut Icon" href="favicon.ico" type="image/x-icon"&gt;
&lt;style type="text/css"&gt;
&lt;!--
body {
	background-color: #000;
}
body,td,th {
	font-family: Verdana, Geneva, sans-serif;
}
a:link {
	color: #008FEF;
	text-decoration: none;
}
a:visited {
	color: #008FEF;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
	color: #666;
}
a:active {
	text-decoration: none;
}
--&gt;
&lt;/style&gt;
&lt;/head&gt;
&lt;body bgcolor=black&gt;
&lt;center&gt;
&lt;font color="#7E88A3" size="2"&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;h1&gt;403 Nothing to see.&lt;/h1&gt;

You do not have the powah for this request /403.shtml&lt;br /&gt;&lt;br /&gt;
&lt;font size="2"&gt;&lt;a href="https://www.zeroscience.mk"&gt;https://www.zeroscience.mk&lt;/a&gt;&lt;/font&gt;
&lt;/font&gt;&lt;/center&gt;
&lt;/body&gt;&lt;/html&gt;