Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Moderately critical

PHP Web Statistik Multiple Vulnerabilities and Security Issue

-

Release Date:  2005-11-29    Last Update:  2006-01-19    Views:  7,933

Secunia Advisory SA17789

Where:

From remote

Impact:

Cross Site Scripting, Exposure of system information, DoS

Solution Status:

Unpatched

CVE Reference(s):

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

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

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 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
Webinars
Events
 About us
Careers
Memberships
Newsroom


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