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

Testa OTMS Multiple SQL Injection Vulnerabilities


Secunia ID

SA38505

Release Date

08 Feb 2010

Criticality

Moderately Critical

Solution Status

Unpatched

Software

Testa OTMS 1.x

Where

From remote

Impact
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.

Security Bypass

This covers vulnerabilities or security issues where malicious users or people can bypass certain security mechanisms of the application.

The actual impact varies significantly depending on the design and purpose of the affected application.

Description

Khashayar Fereidani has discovered some vulnerabilities in Testa OTMS, which can be exploited by malicious people to conduct SQL injection attacks.

Input passed to the "uname" and "pass" parameters in index.php and admin/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.

Successful exploitation allows bypassing the authentication mechanism but requires that "magic_quotes_gpc" is disabled.

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

Solution

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

Reported by

Khashayar Fereidani