Buddy Zone Script Insertion and SQL Injection
Secunia Advisory: SA20933
Release Date: 2006-07-03
Last Update: 2007-07-11
Popularity: 5,887 views

Critical:
Moderately critical
Impact: Cross Site Scripting
Manipulation of data
Where: From remote
Solution Status: Partial Fix

Software:Buddy Zone 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-3494
CVE-2007-3526
CVE-2007-3549


Description:
Some vulnerabilities have been reported 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" and "cat_id" parameters in view_event.php, the "news_id" in view_news.php, the "member_id" parameter in video_gallery.php, the "cat_id" in view_sub_cat.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 or 1.5. Other versions may also be affected.

Solution:
Apply patch, which fixes some of the vulnerabilities.
http://freefilestore.com/support_forum/viewtopic.php?t=16

The "event_name" parameter when creating an event and the "cat_id" parameter in view_classifieds.php and potentially other parameters are still not properly sanitised.

Provided and/or discovered by:
1, 2) luny
2) Additional parameters and files provided by t0pP8uZz & xprog

Changelog:
2006-07-13: Added CVE reference.
2006-07-17: Updated "Solution" section.
2007-07-04: Added additional affected parameters and files to vulnerability #2. Updated "Solution" section and added links to new advisories.
2007-07-11: Added CVE reference.

Original Advisory:
http://milw0rm.com/exploits/4127
http://milw0rm.com/exploits/4128


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Microsoft Word Malformed Object Pointer Vulnerability // 18 views
2. PHP Multiple Vulnerabilities // 18 views
3. phpBB BBcode Script Insertion Vulnerability // 17 views
4. PluggedOut Blog "index.php" SQL Injection Vulnerabilities // 17 views
5. Microsoft Office Two Code Execution Vulnerabilities // 16 views
6. phpBB Cross Site Scripting and Unspecified Vulnerabilities // 14 views
7. Fedora update for xastir // 13 views
8. PHP "gdPngReadData()" Truncated PNG Data Denial of Service // 13 views
9. 3Com Wireless 8760 Access Point HTTP Request Processing Denial of Service // 11 views
10. Drupal Content Construction Kit Script Insertion Vulnerabilities // 11 views