| # Tested on: windows SP2 Français V.(Pnx2 2.0) + Lunix Français v.(9.4
Ubuntu)
| # Bug : XSS
====================== Exploit By indoushka
=================================
# Exploit :
1- Upload Shell:
first Register in to web site http://127.0.0.1/Wiky/index.php/Attach/(your
name)?cmd=uploadform (use temper data)
secend go to http://127.0.0.1/Wiky/userfiles/(your name )/uploaded/ 2 find
you Ev!l
2- Cookie manipulation:
Vulnerability description:
This script is vulnerable to Cookie manipulation attacks.
By injecting a custom HTTP header or by injecting a META tag, it is
possible to alter the cookies stored in the browser. Attackers will
normally manipulate cookie values to fraudulently authenticate themselves
on a web site.
This vulnerability affects /Wiky/index.php/Special/Main/Templates.
The impact of this vulnerability
By exploiting this vulnerability, an attacker may conduct a session
fixation attack. In a session fixation attack, the attacker fixes the
user's session ID before the user even logs into the target server, thereby
eliminating the need to obtain the user's session ID afterwards.
Attack details :
The GET variable which has been set to
<meta+http-equiv='Set-cookie'+content='userCmd=edit'>.
GET
/Wiky/index.php/Special/Main/Templates?cmd=copy&which=<meta+http-equiv='Set
-cookie'+content='userCmd=edit'>
How to fix this vulnerability:
You need to filter the output in order to prevent the injection of custom
HTTP headers or META tags. Additionally, with each login the application
should provide a new session ID to the user.
This script is vulnerable to jsessionid session fixation attacks.
By injecting a custom jsessionid is possible to alter the session cookie.
Attackers will normally manipulate cookie values to fraudulently
authenticate themselves on a web site.
This vulnerability affects /Wiky/index.php/Main.
The impact of this vulnerability
By exploiting this vulnerability, an attacker may conduct a session
fixation attack. In a session fixation attack, the attacker fixes the
user's session ID before the user even logs into the target server, thereby
eliminating the need to obtain the user's session ID afterwards.
If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.