Nenad Jovanovic has discovered some vulnerabilities in Open Searchable Image Catalogue, which can be exploited by malicious users to conduct SQL injection attacks and by malicious people to conduct cross-site scripting attacks.
1) Input passed to the "username", "realname", "type", and "id" parameters in adminfunctions.php and to the "catalogue_id", "tempCategory", "txtDescription", "txtDateCreated", "txtSource", "txtNotes", and "filetype" parameters in editcatalogue.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate arbitrary SQL queries by injecting arbitrary SQL code.
Successful exploitation requires access to the administration section and that "magic_quotes_gpc" is disabled.
2) Input passed to the "q", "catalogue_id", "dateStart", "dateEnd", "lstCategory", "qCategory", "txtItemID", "txtSource", "cfid", and "cfval" parameters 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 requires a user account if authentication is enabled and that "magic_quotes_gpc" is disabled.
3) Input to the function "do_mysql_query()" in core.php is not sanitised before being returned to the user when reporting an SQL error message. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
The vulnerabilities have been confirmed in version 0.7. Other versions may also be affected.
Solution: Some vulnerabilities have been fixed in version 0.7.0.1.
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: Open Searchable Image Catalogue SQL Injection Vulnerabilities
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.