Zend Server 5.6.0 Multiple Remote Script Insertion Vulnerabilities

2012-03-10T00:00:00
ID ZSL-2012-5078
Type zeroscience
Reporter Gjoko Krstic
Modified 2012-03-10T00:00:00

Description

Title: Zend Server 5.6.0 Multiple Remote Script Insertion Vulnerabilities
Advisory ID: ZSL-2012-5078
Type: Local/Remote
Impact: Cross-Site Scripting
Risk: (3/5)
Release Date: 10.03.2012

Summary

Zend Server is a complete, enterprise-ready Web Application Server for running and managing PHP applications.

Description

Zend Server and its components suffers from a cross-site scripting vulnerability. The persistent (stored) XSS 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

Zend Technologies Ltd. - <http://www.zend.com>

Affected Version

Zend Server 5.6.0
Zend Optimizer+ 4.1
Zend Code Tracing 1.0
Zend Data Cache 4.0
Zend Job Queue 4.0
Zend Debugger 5.3
Zend Java Bridge 3.1

Tested On

Microsoft Windows XP Professional SP3 (EN)
Apache 2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/0.9.8o
PHP 5.3.9-ZS5.6.0

Vendor Status

[22.02.2012] Vulnerabilities discovered.
[23.02.2012] Contact with the vendor.
[23.02.2012] Vendor responds asking for details.
[24.02.2012] Sent detailed information to the vendor.
[24.02.2012] Vendor assigns appropriate team for coordination.
[27.02.2012] Vendor is analyzing the issues, working on a fix.
[27.02.2012] Asked vendor for confirmation and scheduled patch release date.
[28.02.2012] Vendor replies with confirmation of the issues.
[05.03.2012] Asked vendor for status update.
[06.03.2012] Vendor created fix for the issues, promising patch release date.
[07.03.2012] Sent coordination details to the vendor.
[07.03.2012] Vendor replies with release information.
[08.03.2012] Vendor releases hotfix 5.6.0 SP1 to address these issues.
[10.03.2012] Coordinated public security advisory released.

PoC

zend_s03.txt
zend_s03.html

Credits

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

References

[1] <http://www.zend.com/topics/ZS-560-SP1-ReleaseNotes-20120308.txt>
[2] <http://www.zend.com/en/products/server/updates>
[3] <http://cxsecurity.com/issue/WLB-2012030070>
[4] <http://packetstormsecurity.org/files/110642>
[5] <http://1337day.com/exploits/17650>
[6] <http://www.exploit-db.com/exploits/18582/>
[7] <http://www.securityfocus.com/bid/52397>
[8] <http://xforce.iss.net/xforce/xfdb/73941>
[9] <http://www.osvdb.org/show/osvdb/80612>
[10] <http://www.osvdb.org/show/osvdb/80613>
[11] <http://www.osvdb.org/show/osvdb/80614>
[12] <http://www.osvdb.org/show/osvdb/80615>
[13] <http://www.osvdb.org/show/osvdb/80616>
[14] <http://www.osvdb.org/show/osvdb/80617>

Changelog

[10.03.2012] - Initial release
[12.03.2012] - Added reference [6] and [7]
[14.03.2012] - Added reference [8]
[29.03.2012] - Added reference [9], [10], [11], [12], [13] and [14]

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;