|
castor "rootpath" File Inclusion Vulnerabilities
|
|
Secunia Advisory:
|
SA22527
|
|
|
Release Date:
|
2006-10-23
|
|
Last Update:
|
2006-10-27
|
|
Popularity:
|
5,138 views
|
|
|
Critical:
|
 Highly critical
|
|
Impact:
|
System access
|
|
Where:
|
From remote
|
|
Solution Status:
|
Unpatched
|
|
| Software: | castor 1.x castor 2.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2006-5480 CVE-2006-5481
|
|
Description: Some vulnerabilities have been reported in castor, which can be exploited by malicious people to compromise a vulnerable system.
Input passed to the "rootpath" 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.
Examples:
http://[host]/lib/rs.php?rootpath=[file]
http://[host]/lib/code.php?rootpath=[file]
http://[host]/lib/dbconnect.php?rootpath=[file]
http://[host]/lib/error.php?rootpath=[file]
http://[host]/lib/menu.php?rootpath=[file]
Note: Reportedly more files are affected.
Successful exploitation requires that "register_globals" is enabled and that support for ".htaccess" files is disabled.
The vulnerabilities are reported in version 1.1.1 and version 2.0 RC2. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly verified.
Provided and/or discovered by: Kw3rLN and an anonymous person.
Changelog: 2006-10-26: Added CVE references.
Original Advisory: http://milw0rm.com/exploits/2606
|
|
|
Track this Secunia Advisory
|
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.
Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.
|
|
|
About this Secunia Advisory
|
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
|