1. Skip to navigation
  2. Skip to content
  3. Skip to secondary-content




WEBBDOMAIN WebShop Cross-Site Scripting and SQL Injection

Report ID: SA32499
Source: Secunia
Date of Discovery: 07.11.2008
Criticality: Moderate
Affects:
WEBBDOMAIN WebShop 1.x

Compromise From: From remote
Compromise Type: Manipulation of data
Cross site scripting

Summary

Some vulnerabilities have been reported in WEBDOMAIN WebShop, which can be exploited by malicious people to conduct cross-site scripting and SQL injection vulnerabilities.

Detailed Description

Some vulnerabilities have been reported in WEBDOMAIN WebShop, which can be exploited by malicious people to conduct cross-site scripting and SQL injection vulnerabilities.

1) Input passed to the "id" parameter in detail.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

2) Input passed to the "name" parameter in detail.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of a vulnerable site.

3) Input passed to the "username" field when logging in to the admin section is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

The vulnerabilities are reported in version 1.02. Other versions may also be affected.

Solution

Filter malicious characters and character sequences using a proxy.