Re: Re: Re: [KAPDA::#16] - SMF SQL Injection Dec 13 2005 11:52PM
grudge securityfocus com, simplemachines securityfocus com,org securityfocus com
Remember, SMF only shows database syntax errors to administrators anyway, so they would not even see the query string itself. All the average user trying this gets is "A database error has occured".

Either way securityfocus have kindly removed the advisory so we're happy.

mphhh, correct...
the only problem I see is path disclosure, 'cause you can inject only a one char string:


query becomes:

SELECT COUNT(ID_MEMBER) FROM smf_members WHERE LOWER(SUBSTRING(realName, 1, 1)) < '\' AND is_activated = 1

and at screen, you have:

Errore di sintassi nella query SQL vicino a ''\'
AND is_activated = 1' linea 3
File: [full_application_path]Memberlist.php
Line: 162

but I think you cannot inject commands...

[ reply ]


Privacy Statement
Copyright 2010, SecurityFocus