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

Secunia Advisory SA17789

PHP Web Statistik Multiple Vulnerabilities and Security Issue
Secunia Advisory SA17789
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2005-11-29
Last Update 2006-01-19
   
Popularity 7,195 views
Comments 0 comments

Criticality level Moderately criticalModerately critical
Impact Cross Site Scripting
Exposure of system information
DoS
Where From remote
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Unpatched
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
Remediation status Secunia VIM
   
Software:
PHP Web Statistik 1.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2005-4012 CVSS available in Customer Area
CVE-2005-4013 CVSS available in Customer Area
CVE-2005-4014 CVSS available in Customer Area
CVE-2005-4015 CVSS available in Customer Area
  

Description

Francesco "aScii" Ongaro has discovered some vulnerabilities and a security issue in PHP Web Statistik, which can be exploited by malicious people to disclose system information, cause a DoS (Denial of Service), and conduct cross-site scripting and script insertion attacks.

1) Input passed to the "lastnumber" parameter in "stat.php" isn't 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) The problem is that the configuration and log database files are insecurely stored inside the web root. This can be exploited to disclose certain configuration settings and logging information.

3) Input passed to the "lastnumber" parameter in "stat.php" isn't properly verified before being used in an loop statement. This can be exploited to consume a large amount of CPU resources on a vulnerable system via an overly large "lastnumber" parameter.

4) Input passed to the "referer" header isn't properly sanitised before being used. This can be exploited to inject arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site when the malicious user data is viewed.

It has also been reported that the program does not rotate the log database.

The vulnerabilities and the security issue have been confirmed in version 1.4.a and has also been reported in version 1.4. Other versions may also be affected.


Solution
Edit the source code to ensure that input is properly sanitised and verified. Move the configuration and log database files out of the web root.

Provided and/or discovered by
Francesco "aScii" Ongaro

Changelog
Further details available in Customer Area

Original Advisory
http://www.ush.it/2005/11/19/php-web-statistik/

Deep Links
Links available in Customer Area


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 Web Statistik Multiple Vulnerabilities and Security Issue
 
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 & Papers
Webinars
Events
 About us
Careers
Memberships
Newsroom


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