Secunia Logo
Netsikker nu! 2008
 
CodeIgniter Weakness and Directory Traversal Vulnerability
Secunia Advisory: SA25991
Release Date: 2007-07-11
Last Update: 2007-07-13
Popularity: 5,174 views

Critical:
Moderately critical
Impact: Cross Site Scripting
Exposure of system information
Exposure of sensitive information
Where: From remote
Solution Status: Vendor Workaround

Software:CodeIgniter 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-3707
CVE-2007-3708


Description:
Lukasz Pilorz has reported a vulnerability and a weakness in CodeIgniter, which can be exploited by malicious people to disclose sensitive information and conduct cross-site scripting and header injection attacks.

1) Input passed to the "c" parameter in index.php is not properly sanitised before being used to display files. This can be exploited to display arbitrary files via directory traversal attacks.

Successful exploitation requires that the "enable_query_strings" option is enabled.

2) Input passed to the xss_clean() function is not 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.

An issue that can cause the _sanitize_globals() method to remove global variables has also been reported.

The vulnerability and the weakness are reported in version 1.5.3. Other versions may also be affected.

Solution:
1, 2) Reportedly fixed in the SVN repository.

Provided and/or discovered by:
Lukasz Pilorz

Changelog:
2007-07-13: Added CVE reference.

Original Advisory:
http://lists.grok.org.uk/pipermail/full-disclosure/2007-July/064500.html


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

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. Trend Micro ServerProtect Multiple Buffer Overflow Vulnerabilities // 44 views
2. IceWarp Web Mail Two File Inclusion Vulnerabilities // 40 views
3. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 28 views
4. CA ARCserve Backup Multiple Vulnerabilities // 26 views
5. CUPS Multiple Vulnerabilities // 25 views
6. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 25 views
7. ScriptsEz Easy Image Downloader "id" File Disclosure Vulnerability // 21 views
8. Gentoo Portage Insecure Python Module Search Path Security Issue // 20 views
9. FUJITSU Interstage Products Apache Tomcat Security Bypass // 20 views
10. Red Hat update for cups // 20 views