Secunia - Stay Secure
Home Corporate Website Jobs  Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


Buddy Zone Script Insertion and SQL Injection Advisory Available in Danish  Advisory Available in German 

Secunia Advisory: SA20933  
Release Date: 2006-07-03
Last Update: 2007-07-11

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

Software:Buddy Zone 1.x

CVE reference:CVE-2006-3494 (Secunia mirror)
CVE-2007-3526 (Secunia mirror)
CVE-2007-3549 (Secunia mirror)



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



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.


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.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
Wireshark Denial of Service Vulnerabilities
2.
aspWebAlbum Multiple Vulnerabilities
3.
IBM AIX "swcons" Command Privilege Escalation Vulnerability
4.
FreeBSD ICMPv6 "Packet Too Big" MTU Denial of Service Vulnerability
5.
Cisco ASA and PIX Security Appliances Multiple Vulnerabilities
6.
CMSbright "id_rub_page" SQL Injection Vulnerability
7.
Cisco Secure ACS EAP Packet Denial of Service
8.
SUSE update for IBMJava5-JRE and java-1_5_0-ibm
9.
Najdi.si Toolbar Buffer Overflow Vulnerability
10.
Django Authentication Cross-Site Request Forgery





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia