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 SA20200

phpRaid SQL Injection and File Inclusion Vulnerabilities
Secunia Advisory SA20200
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2006-06-29
Last Update 2006-07-04
   
Popularity 9,963 views
Comments 0 comments

Criticality level Highly criticalHighly critical
Impact Manipulation of data
System access
Where From remote
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Vendor Patch
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
   
Software:
phpRaid 3.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2006-3115 CVSS available in Customer Area
CVE-2006-3116 CVSS available in Customer Area
CVE-2006-3322 CVSS available in Customer Area
CVE-2006-3316 CVSS available in Customer Area
  

Description

Secunia Research has discovered some vulnerabilities in phpRaid, which can be exploited by malicious people to conduct SQL injection attacks or compromise a vulnerable system.

1) Input passed to the "raid_id" parameter in view.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 that "magic_quotes_gpc" is disabled.

The vulnerability has been confirmed in version 3.0.4. Prior versions may also be affected.

2) Input passed via the URL is not properly sanitised before being used in a SQL query in the "log_hack()" function in includes/functions_logging.php. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation requires that "magic_quotes_gpc" is disabled.

The vulnerability has been confirmed in version 3.0.5. Other versions may also be affected.

3) Input passed to the "phpraid_dir" parameter in multiple files is not properly verified before being used to include files. This can be exploited to execute arbitrary PHP code by including files from local or external resources.

Affected files:
configuration.php
guilds.php
index.php
locations.php
login.php
lua_output.php
permissions.php
profile.php
raids.php
register.php
roster.php
view.php
logs.php (included in version 3.0.5)
users.php (included in version 3.0.5)

Successful exploitation requires that "register_globals" is enabled.

The vulnerabilities have been confirmed in version 3.0.4 and 3.0.5. Prior versions may also be affected.


Solution
The vulnerabilities have been fixed in version 3.0.6.

Provided and/or discovered by
Sven Krewitt, Secunia Research.

Changelog
Further details available in Customer Area

Original Advisory
Secunia Research:
http://secunia.com/secunia_research/2006-47/

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: phpRaid SQL Injection and File Inclusion 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 & 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