gCards inc/setLang.php cross-site scripting
| gcards-incsetlang-xss (25343) |
Description:
gCards is vulnerable to cross-site scripting, caused by improper validation of user-supplied input by the inc/setLang.php script. A remote attacker could exploit this vulnerability using the lang parameter to execute script in a victim's Web browser within the security context of the hosting Web site, allowing the attacker to steal the victim's cookie-based authentication credentials.
Consequences:
Gain Access
Remedy:
Upgrade to the latest version of gCards (1.46 or later), available from the gCards Web site. See References.
References:
- gCards Web page: Graphics by Greg gCards.
- BID-17165: gCards Multiple Input Validation Vulnerabilities
- CVE-2006-1346: Directory traversal vulnerability in inc/setLang.php in Greg Neustaetter gCards 1.45 and earlier allows remote attackers to include and execute arbitrary local files via directory traversal sequences in a lang[*][file] parameter, as demonstrated by injecting PHP sequences into an Apache access_log file, which is then included by index.php.
- CVE-2006-1348: Cross-site scripting (XSS) vulnerability in index.php in Greg Neustaetter gCards 1.45 and earlier allows remote attackers to inject arbitrary web script or HTML via the lang[*][file] parameter, which is injected into an error message. NOTE: this issue might be resultant from CVE-2006-1346.
- OSVDB ID: 24016: gCards inc/setLang.php lang Variable Traversal Arbitrary File Inclusion
- OSVDB ID: 24018: gCards inc/setLang.php lang Variable XSS
- SA19322: gCards Multiple Vulnerabilities
- VUPEN/ADV-2006-1015: gCards Multiple Remote SQL Injection and Cross Site Scripting Vulnerabilities
Platforms Affected:
- Greg gCards 1.45 and prior
Reported:
Mar 21, 2006
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
