OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[SA20933] Buddy Zone Script Insertion and SQL Injection

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Mon Jul 03 2006 - 08:32:05 CDT


----------------------------------------------------------------------

Reverse Engineer Wanted

Secunia offers a Security Specialist position with emphasis on
reverse engineering of software and exploit code, auditing of
source code, and analysis of vulnerability reports.

http://secunia.com/secunia_security_specialist/

----------------------------------------------------------------------

TITLE:
Buddy Zone Script Insertion and SQL Injection

SECUNIA ADVISORY ID:
SA20933

VERIFY ADVISORY:
http://secunia.com/advisories/20933/

CRITICAL:
Moderately critical

IMPACT:
Cross Site Scripting, Manipulation of data

WHERE:
From remote

SOFTWARE:
Buddy Zone 1.x
http://secunia.com/product/10781/

DESCRIPTION:
luny has reported some vulnerabilities in Buddy Zone, which can be
exploited by malicious users to conduct script insertion and SQL
injection attacks.

1) Input passed to the "about_me", "like_to_meet", "interests",
"music", "movies", "television", "heroes", and "book" form field
parameters when editing a profile, the "testimonial" form field
parameter when adding a testimonial, the "body" form field parameter
when adding a blog comment, the "subject" and "message" form field
parameters when sending a message, the "group_name" form field
parameter when creating a group, and the "event_name" and
"long_description" form field parameters when creating an event is
not properly sanitised before being used. 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
content is viewed.

Also postings in the forum are reportedly not properly sanitised.

2) Input passed to the "cat_id" parameter in view_classifieds.php,
the "id" parameter in view_ad.php, the "event_id" parameter in
view_event.php, and the "group_id" parameter in view_group.php 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 have been reported in version 1.0.1. Other
versions may also be affected.

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

PROVIDED AND/OR DISCOVERED BY:
luny

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/

Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories

----------------------------------------------------------------------