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 SA31993

PHPcounter Local File Inclusion and SQL Injection
Secunia Advisory SA31993
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2008-09-25
Last Update 2009-02-06
   
Popularity 3,516 views
Comments 0 comments

Criticality level Moderately criticalModerately critical
Impact Manipulation of data
Exposure of system information
Exposure of sensitive information
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:
PHPcounter 1.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2008-4675 CVSS available in Customer Area
CVE-2008-5989 CVSS available in Customer Area
  

Description

Two vulnerabilities have been discovered in PHPcounter, which can be exploited by malicious people to disclose sensitive information and conduct SQL injection attacks.

1) Input passed to the "l" parameter in defs.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources.

2) Input passed to the "name" parameter in index.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 requires for both vulnerabilities that "magic_quotes_gpc" is disabled.

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


Solution
Edit the source code to ensure that input is properly verified and sanitised.

Provided and/or discovered by
1) dun
2) StAkeR

Changelog
Further details available in Customer Area

Original Advisory
1) http://milw0rm.com/exploits/6553
2) http://milw0rm.com/exploits/6611

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: PHPcounter Local File Inclusion and SQL Injection
 
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