Secunia Logo
Netsikker nu! 2008
 
castor "rootpath" File Inclusion Vulnerabilities
Secunia Advisory: SA22527
Release Date: 2006-10-23
Last Update: 2006-10-27
Popularity: 4,944 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.
  
Latest Advisories

7th Oct, 2008
New advisories: 19
New vulnerabilities: 68
Updated advisories: 62

Moderately // 383 views
Debian update for php5
Moderately // 310 views
Atarone CMS Multiple Vulnerabilities
Moderately // 337 views
Debian update for squid
Less // 335 views
SUSE update for mercurial
Moderately // 383 views
SUSE update for openssh
Less // 311 views
Fedora update for mediawiki

Solutions | More...  


Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. ArticleBeach Script "page" File Inclusion Vulnerability // 71 views
2. phpBB Two Security Bypass Vulnerabilities // 45 views
3. phpBB "url" bbcode Script Insertion Vulnerability // 44 views
4. phpBB BBcode "url" Script Insertion Vulnerability // 40 views
5. Juniper Products Neighbor Discovery Protocol Neighbor Solicitation Vulnerability // 31 views
6. HP-UX NFS/ONCplus Denial of Service Vulnerability // 31 views
7. MetaGauge Directory Traversal Vulnerability // 30 views
8. Debian update for squid // 30 views
9. Debian update for php5 // 29 views
10. SUSE update for dovecot and graphicsmagic // 29 views