Hi guys,
Our security guys have found a possible security vulnerabilty in CodeIgniter 1.5.4:
If you set the session value to a null byte:
Cookie: ci_session=%\0\0and are using database to support your sessions, it will display an SQL error:
<h1>An Error Was Encountered</h1>
Error Number:
SELECT *
FROM ci_session
WHERE session_id = ' '
AND session_user_agent = 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2;'In addition this will expose you to a possible SQL injection. Can anybody suggest a solution to this issue?
Cheers,
Hooters VIP