HLstatsX Community Edition "award" SQL Injection VulnerabilitySecunia Advisory: SA38079
Release Date: 2010-01-04
Critical: Moderately critical
Impact: Manipulation of data
Where: From remote
Solution Status: Unpatched
Software: HLstatsX Community Edition 1.x.
Description:
A vulnerability has been discovered in HLstatsX Community Edition, which can be exploited by malicious people to conduct SQL injection attacks.
Input passed to the "award" parameter in hlstats.php (if "mode" is set to "dailyawardinfo" and "game" is set to e.g. "tf" or "l4d") is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
The vulnerability is confirmed in version 1.6.5. Other versions may also be affected.
Solution:
Edit the source code to ensure that input is properly sanitised.
Provided and/or discovered by:
bnc
Original Advisory:
http://www.exploit-db.com/exploits/10850http://secunia.com/advisories/38079/