Secunia SmallBusiness
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA26422

Php-Stats Multiple Vulnerabilities
Secunia Advisory SA26422
Secunia VIM 4.0 - Free Trial
Release Date 2007-08-13
Last Update 2007-10-16
   
Popularity 7,822 views
Comments 0 comments

Criticality level Moderately criticalModerately critical
Impact Cross Site Scripting
Manipulation of data
Exposure of sensitive information
System access
Where From remote
Authentication level This information is available to Secunia VIM customers
   
Report reliability This information is available to Secunia VIM customers
Solution Status Unpatched
   
Systems affected This information is available to Secunia VIM customers
Approve distribution This information is available to Secunia VIM customers
Remediation status Secunia VIM
   
Software:
Php-Stats 0.x

Secunia CVSS Score This information is available to Secunia VIM Customers
CVE Reference(s) CVE-2007-4334 CVSS score available to Secunia VIM customers
CVE-2007-4917 CVSS score available to Secunia VIM customers
CVE-2007-5452 CVSS score available to Secunia VIM customers
CVE-2007-5453 CVSS score available to Secunia VIM customers
  

Description

Some vulnerabilities have been discovered in Php-Stats, which can be exploited by malicious people to conduct cross-site scripting attacks or SQL injection attacks, and by malicious users to compromise a vulnerable system.

1) Input passed to the "IP" parameter in whois.php and tracking.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 site.

2) Input passed to the "ip" parameter in php-stats.recjs.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 of this vulnerability allows e.g. retrieving administrator password hashes, but requires knowledge of the database table prefix and that "magic_quotes_runtime" is disabled.

3) Input passed to the admin.php script is not properly sanitised before being stored in the options table. This can be exploited to execute arbitrary PHP code.

Successful exploitation of this vulnerability requires valid administrator credentials and knowledge of the database table prefix.

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


Solution
Edit the source code to ensure that input is properly sanitised. Restrict access to admin.php (e.g. with ".htaccess").
Further details available to Secunia VIM customers

Provided and/or discovered by
1) vasodipandora and "root at hanicker dot it"
2-3) EgiX

Changelog
Further details available to Secunia VIM customers

Original Advisory
2-3) http://milw0rm.com/exploits/4513

Deep Links
Links available to Secunia VIM customers


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: Php-Stats Multiple Vulnerabilities
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2013 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability