|
 |
|
Php-Stats Multiple Vulnerabilities and Security Issue
|
|
|
|
|
Secunia Advisory:
|
SA19116
|
|
|
Release Date:
|
2006-03-06
|
|
Last Update:
|
2006-03-30
|
|
|
Critical:
|

Highly critical
|
|
Impact:
|
Manipulation of data Exposure of system information Exposure of sensitive information System access
|
|
Where:
|
From remote
|
|
Solution Status:
|
Partial Fix
|
|
| Software: | Php-Stats 0.x
|
| | CVE reference: | CVE-2006-1083 (Secunia mirror) CVE-2006-1084 (Secunia mirror) CVE-2006-1085 (Secunia mirror) CVE-2006-1087 (Secunia mirror) CVE-2006-1088 (Secunia mirror)
|
|
|
|
|
|
Description: rgod has reported some vulnerabilities and a security issue in Php-Stats, which can be exploited by malicious people to conduct SQL injection attacks, disclose system and sensitive information, and compromise a vulnerable system.
1) Input passed to the "option[language]" and "option[template]" parameters in "admin.php" isn't properly verified, before it is used to include files. This can be exploited to include arbitrary files from local resources.
Successful exploitation requires that "magic_quotes_gpc" is disabled.
2) Input passed to the "option[prefix]" parameter in "admin.php" and the "PC_REMOTE_ADDR" HTTP header in "click.php" isn't properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
Successful exploitation requires that "magic_quotes_gpc" is disabled (except for the "option[prefix]" parameter).
3) An input validation error in "admin.php" can be exploited to inject arbitrary PHP code in "config.php".
4) The problem is that it is possible to disclose database table prefixes by accessing the "checktables.php" script.
The vulnerabilities and the security issue have been reported in version 0.1.9.1 and prior. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly sanitised and verified.
4) Update to version 0.1.9.1b.
http://www.phpstats.net/?Downloads
Provided and/or discovered by: rgod
Changelog: 2006-03-14: Added CVE references.
2006-03-24: Updated "Solution" section.
2006-03-30: Updated "Description" and "Solution" sections.
Original Advisory: http://retrogod.altervista.org/php_stats_0191_adv.html
|
|
|
|
|
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
|
|
|
|
2 Related Secunia Security Advisories
|
|
|
1. Php-Stats Multiple Vulnerabilities
|
|
2. Php-Stats SQL Injections and PHP Code Execution
|
|
|
Send Feedback to Secunia
|
|
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.
Ideas, suggestions, and other feedback are most welcome.
|
|
|
|

|
 |
Secunia PSI Scan | Patch | Track Free Download
|
|
|
Secunia Poll
|
|
|
|
|
 |
|
|
Most Popular Advisories
|
|
|
|
|
|