KiNgOfThEwOrLd has discovered some vulnerabilities in SineCms, which can be exploited by malicious people to conduct script insertion and SQL injection attacks.
1) Input passed to the "id" parameter in mods.php (when "mods" is set to "Calendar" and "action" to "info") 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 of this vulnerability allows e.g. retrieving the administrator password hash, but requires knowledge of the database table prefix, that "magic_quotes_gpc" is disabled, and that the Calendar module is activated.
2) Input passed to the "user" and "commento" parameters in mods.php (when "mods" is set to "Guestbook") is not properly sanitised before being stored. This can be exploited to insert arbitrary HTML and script code, which is executed in a user's browser session in context of an affected site when the malicious data is viewed.
Successful exploitation of this vulnerability requires that the Guestbook module is activated.
The vulnerabilities are confirmed in version 2.3.4 with the Core module updated to version 2.2.6. Other versions may also be affected.
Solution: Update to version 2.2.6 of the Guestbook module and version 2.2.4 of the Calendar module.
Provided and/or discovered by: KiNgOfThEwOrLd
Original Advisory: http://milw0rm.com/exploits/4693
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 email@example.com
Subject: SineCms SQL Injection and Script Insertion
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.