Silentz has discovered some vulnerabilities in TutorialCMS, which can be exploited by malicious people to conduct SQL injection attacks.
Input passed to the "catFile" parameter in browseCat.php, to the "id" parameter in openTutorial.php, topFrame.php, and admin/editListing.php (administrative access required), and to the "search" parameter in search.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
Successful exploitation allows e.g. disclosure of the administrative username and password hash, but requires that "magic_quotes_gpc" is disabled.
The vulnerabilities are confirmed in version 1.00. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly sanitised.
Provided and/or discovered by: Silentz
Original Advisory: http://milw0rm.com/exploits/3887
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