====================================================================== Secunia Research 30/06/2010 - Joomla BookLibrary Component Four SQL Injection Vulnerabilities - ====================================================================== Table of Contents Affected Software....................................................1 Severity.............................................................2 Vendor's Description of Software.....................................3 Description of Vulnerability.........................................4 Solution.............................................................5 Time Table...........................................................6 Credits..............................................................7 References...........................................................8 About Secunia........................................................9 Verification........................................................10 ====================================================================== 1) Affected Software * BookLibrary 1.5.3 Basic NOTE: Other versions may also be affected. ====================================================================== 2) Severity Rating: Moderately critical Impact: Manipulation of data Where: From remote ====================================================================== 3) Vendor's Description of Software "BookLibrary provides a full-featured book library or book collection management environment on a Joomla-based website and allows you to manage large book libraries. The component can also be used to easily set up a book selling shop using Amazon if you want". Product Link: http://ordasoft.com/Download/View-document-details/ 3-BookLibrary-1.5.3-Basic-for-Joomla-1.5.html ====================================================================== 4) Description of Vulnerability Secunia Research has discovered multiple vulnerabilities in the BookLibrary component for Joomla, which can be exploited by malicious people to conduct SQL injection attacks. 1) Input passed via the "bid[]" parameter to index.php (when "option" is set to "com_booklibrary" and "task" is set to "lend_request") is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. 2) Input passed via the "bid[]" parameter to index.php (when "option" is set to "com_booklibrary" and "task" is set to "save_lend_request") is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. Successful exploitation requires that "magic_quotes_gpc" is disabled. 3) Input passed via the "id" parameter to index.php (when "option" is set to "com_booklibrary" and "task" is set to "mdownload" or "downitsf") is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. 4) Input passed via the "searchtext" parameter to index.php (when "option" is set to "com_booklibrary" and "task" is set to "search") is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. Successful exploitation requires that "magic_quotes_gpc" is disabled. ====================================================================== 5) Solution Update to version 1.5.3_2010_06_20. ====================================================================== 6) Time Table 11/06/2010 - Vendor notified. 11/06/2010 - Vendor response. 14/06/2010 - Vendor informs that fixed version was released. 14/06/2010 - Vendor notified about incomplete fix. 24/06/2010 - Status update requested. 25/06/2010 - Vendor releases fixed version. 30/06/2010 - Public disclosure. ====================================================================== 7) Credits Discovered by Secunia Research. ====================================================================== 8) References The Common Vulnerabilities and Exposures (CVE) project has assigned CVE-2010-1522 for the vulnerabilities. ====================================================================== 9) About Secunia Secunia offers vulnerability management solutions to corporate customers with verified and reliable vulnerability intelligence relevant to their specific system configuration: http://secunia.com/advisories/business_solutions/ Secunia also provides a publicly accessible and comprehensive advisory database as a service to the security community and private individuals, who are interested in or concerned about IT-security. http://secunia.com/advisories/ Secunia believes that it is important to support the community and to do active vulnerability research in order to aid improving the security and reliability of software in general: http://secunia.com/secunia_research/ Secunia regularly hires new skilled team members. Check the URL below to see currently vacant positions: http://secunia.com/corporate/jobs/ Secunia offers a FREE mailing list called Secunia Security Advisories: http://secunia.com/advisories/mailing_lists/ ====================================================================== 10) Verification Please verify this advisory by visiting the Secunia website: http://secunia.com/secunia_research/2010-84/ Complete list of vulnerability reports published by Secunia Research: http://secunia.com/secunia_research/ ======================================================================