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: Update to version 1.5.4.
Provided and/or discovered by: Lukasz Pilorz
Original Advisory: http://lists.grok.org.uk/pipermail/full-disclosure/2007-July/064500.html
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 firstname.lastname@example.org
Subject: CodeIgniter Weakness and Directory Traversal Vulnerability
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.