Joomla! Barter Component Multiple Vulnerabilities

SECUNIA ADVISORY ID:
SA46368

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

RELEASE DATE:
2011-10-15
DESCRIPTION:
Multiple vulnerabilities have been reported in the Barter component
for Joomla!, which can be exploited by malicious users to conduct
script insertion attacks and by malicious people to conduct
cross-site scripting and SQL injection attacks.

1) Input passed via the "listing", "homeurl", and "paystring" POST
parameters to index.php (when "option" is set to "com_listing" and
"task" is set to "listingsave") is not properly sanitised before
being used. This can be exploited to insert arbitrary HTML and script
code, which will be executed in a user's browser session in context of
an affected site when the malicious data is being viewed.

2) Input passed via the "desired_quantity" parameter to index.php
(when "option" is set to "com_listing", "task" is set to "offersave",
and "item_id" is set to a valid id) is not properly sanitised before
being returned to the user. This can be exploited to execute
arbitrary HTML and script code in a user's browser session in context
of an affected site.

3) Input passed via the "category_id" parameter to index.php (when
"option" is set to "com_listing" and "task" is set to "browse") is
not properly sanitised before being used in SQL queries. This can be
exploited to manipulate SQL queries by injecting arbitrary SQL code.

The vulnerabilities are reported in version 1.3. Other versions may
also be affected.

SOLUTION:
Filter malicious characters and character sequences using a proxy.

PROVIDED AND/OR DISCOVERED BY:
Sid3^effects