u5CMS 3.9.3 (thumb.php) Local File Inclusion Vulnerability

ID ZSL-2015-5224
Type zeroscience
Reporter Gjoko Krstic
Modified 2015-02-09T00:00:00


Title: u5CMS 3.9.3 (thumb.php) Local File Inclusion Vulnerability
Advisory ID: ZSL-2015-5224
Type: Local/Remote
Impact: Exposure of System Information, Exposure of Sensitive Information
Risk: (3/5)
Release Date: 09.02.2015


u5CMS is a little, handy Content Management System for medium-sized websites, conference / congress / submission administration, review processes, personalized serial mails, PayPal payments and online surveys based on PHP and MySQL and Apache.


u5CMS suffers from an authenticated file inclusion vulnerability (LFI) when input passed thru the 'f' parameter to thumb.php script is not properly verified before being used to include files. This can be exploited to include files from local resources with their absolute path and with directory traversal attacks.


Stefan P. Minder - <http://www.yuba.ch>

Affected Version

3.9.3 and 3.9.2

Tested On

Apache 2.4.10 (Win32)
PHP 5.6.3
MySQL 5.6.21

Vendor Status

[29.12.2014] Vulnerability discovered.
[04.02.2015] Contact with the vendor.
[04.02.2015] Vendor replies asking more details.
[05.02.2015] Sent details to the vendor.
[06.02.2015] Vendor releases version 3.9.4 to address these issues.
[09.02.2015] Coordinated public security advisory released.




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


[1] http://yuba.ch/index.php?c=u5cms&l=en
[2] <http://www.exploit-db.com/exploits/36028>
[3] <http://xforce.iss.net/xforce/xfdb/100774>
[4] <http://cxsecurity.com/issue/WLB-2015020036>
[5] <http://packetstormsecurity.com/files/130310>
[6] <http://osvdb.org/show/osvdb/118106>


[09.02.2015] - Initial release
[11.02.2015] - Added reference [2], [3], [4], [5] and [6]


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;
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;
&lt;body bgcolor=black&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;