Joomla! B2 Portfolio Component "c" SQL Injection Vulnerability

SECUNIA ADVISORY ID:
SA43038

VERIFY ADVISORY:
Secunia.com
http://secunia.com/advisories/43038/
Customer Area (Credentials Required)
https://ca.secunia.com/?page=viewadvisory&vuln_id=43038

RELEASE DATE:
2011-01-27

DESCRIPTION:
Salvatore Fresta has discovered a vulnerability in the B2 Portfolio
component for Joomla!, which can be exploited by malicious people to
conduct SQL injection attacks.

Input passed via the "c" parameter to index.php (when "option" is set
to "com_b2portfolio") is not properly sanitised in
components/com_b2portfolio/models/b2portfolio.php before being used
in being used in SQL queries. This can be exploited to manipulate SQL
queries by injecting arbitrary SQL code.

The vulnerability is confirmed in version 1.1. Other versions may
also be affected.

SOLUTION:
Edit the source code to ensure that input is properly sanitised.

PROVIDED AND/OR DISCOVERED BY:
Salvatore Fresta aka Drosophila

ORIGINAL ADVISORY:
http://adv.salvatorefresta.net/B2_Portfolio_Joomla_Component_1.0.0_Multiple_SQL_Injection_Vulnerability-24012011.txt