English
The Internet threat alert status is currently normal. At present, no major epidemics or other serious incidents have been recorded by Kaspersky Lab’s monitoring service. Internet threat level: 1

AudiStat Cross-Site Scripting and SQL Injection Vulnerabilities


Secunia ID

SA38494

CVE-ID

CVE-2010-1050, CVE-2010-1051, CVE-2010-1052

Release Date

08 Feb 2010

Last Change

26 Mar 2010

Criticality

Moderately Critical

Solution Status

Vendor Patch

Software

AudiStat 1.x

Where

From remote

Impact
Cross-Site Scripting

Cross-Site Scripting vulnerabilities allow a third party to manipulate the content or behaviour of a web application in a user's browser, without compromising the underlying system.

Different Cross-Site Scripting related vulnerabilities are also classified under this category, including "script insertion" and "cross-site request forgery".

Cross-Site Scripting vulnerabilities are often used against specific users of a website to steal their credentials or to conduct spoofing attacks.

Manipulation of data

This includes vulnerabilities where a user or a remote attacker can manipulate local data on a system, but not necessarily be able to gain escalated privileges or system access.

The most frequent type of vulnerabilities with this impact are SQL-injection vulnerabilities, where a malicious user or person can manipulate SQL queries.

Description

Some vulnerabilities have been discovered in AudiStat, which can be exploited by malicious people to conduct cross-site scripting and SQL injection attacks.

1) Input passed to the "year", "month", and "mday" parameters in index.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 "year" and "mday" parameters in index.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 an affected file.

The vulnerabilities are confirmed in version 1.3. Other versions may also be affected.

Solution

Edit the source code to ensure that input is properly sanitised.

Use another product.

Reported by

1) kaMtiEz and Sam Vimes
2) Sam Vimes

Original Advisory

http://www.exploit-db.com/exploits/11334