iG Shop Input Validation Hole in 'change_pass.php' Permits Cross-Site Scripting Attacks
|
|
SecurityTracker Alert ID: 1017130
|
|
SecurityTracker URL: http://securitytracker.com/id?1017130
|
|
CVE Reference: CVE-2006-5631
, CVE-2006-5632
(Links to External Site)
|
Updated: Nov 6 2006
|
Original Entry Date: Oct 30 2006
|
Impact: Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
|
Exploit Included: Yes
|
Version(s): 1.4
|
Description: SnipEr.X reported a vulnerability in iG Shop. A remote user can conduct cross-site scripting attacks.
The 'change_pass.php' script does not properly filter HTML code from user-supplied input in the query string before displaying the
input [CVE-2006-5631]. A remote user can create a specially crafted URL that, when loaded by a target user, will cause arbitrary
scripting code to be executed by the target user's browser. The code will originate from the site running the iG Shop software
and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including
authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the
site, or take actions on the site acting as the target user.
A demonstration exploit URL is provided:
http://[target]/ig_shop/change_pass.php/action="><script>alert
(document.cookie);</script>
SecurityTracker discovered that the 'id' parameter is also affected [CVE-2006-5632].
A demonstration
exploit URL is provided:
http://[target]/ig_shop/change_pass.php?id="<script>alert(document.cookie);</script>
|
Impact: A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the
iG Shop software, access data recently submitted by the target user via web form to the site, or take actions on the site acting
as the target user.
|
Solution: No solution was available at the time of this entry.
|
Vendor URL: sourceforge.net/projects/ig-shop/ (Links to External Site)
|
Cause: Input validation error
|
Underlying OS: Linux (Any), UNIX (Any), Windows (Any)
|
Reported By: "An@.@ Lamers" <u0z@hotmail.com>
|
Message History:
None.
|
Source Message Contents
|
Date: Sun, 29 Oct 2006 08:04:40 -1000
From: "An@.@ Lamers" <u0z@hotmail.com>
Subject: Ig-shop ..Cross Site Scripting (change_pass.php) Vulnerabilitys
|
<?
#########################################################
# Ig-shop ..Cross Site Scripting (change_pass.php) Vulnerabilitys
#Class:.............Cross Site Scripting;
#
#Patch:..............vulnerability;
#
#Date:...............2006/10/29
#
#Type:.............. high
#
#Download:..........http://prdownloads.sourceforge.net/ig-shop/ig-shop.zip?use_mirror=easynews
#
#Author:..............SnipEr.X
#
#Email: Sniper<at>Bsdmail<dot>Org, U0z<At>hotmail<dot>CoM
##########################################################
?>
An Error ;..I opened the file name change_pass.php
found that it contains Ecuad JavaScript has been able to a cup-type cross site script
This is the code and the inside
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
include("auth.php");
?>
<script language="javascript">
function Validate()
{
if(document.mem_change_form.txtNewPwd.value=="")
{
alert("please enter the Password");
document.mem_change_form.txtNewPwd.focus();
return false;
}
if(!(document.mem_change_form.txtNewPwd.value==document.mem_change_form.txtConfirmPwd.value))
{
alert("Passwords do not match");
document.mem_change_form.txtNewPwd.focus();
return false;
}
return true;
}
</script>
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
ig-shop/ig_shop/change_pass.php
if change_pass.php? he is error
For example.
http://site.com/ig-shop/change_pass.php?action="><Script>Alert( document.cookie);</script>
$sup End;
greetz: All frinde
####################################################################################
_________________________________________________________________
Try Search Survival Kits: Fix up your home and better handle your cash with Live Search! http://imagi ne-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmtagline
|
|