Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   Application (Forum/Board/Portal)  >   FlatNuke Vendors:
FlatNuke Gallery Module Lets Remote Users Upload and Execute Arbitrary Code
SecurityTracker Alert ID:  1016499
SecurityTracker URL:
CVE Reference:   CVE-2006-3608   (Links to External Site)
Updated:  Jul 18 2008
Original Entry Date:  Jul 14 2006
Impact:   Execution of arbitrary code via network, User access via network
Exploit Included:  Yes  
Version(s): 2.5.7 and prior versions
Description:   A vulnerability was reported in FlatNuke. A remote user can include and execute arbitrary code on the target system.

The Gallery upload function does not properly validate user-supplied files. If user gallery uploads are enabled [not the default configuration], a remote user can upload a file that is ostensibly an image file but instead contains arbitrary PHP code. Then, the remote user can invoke the uploaded file (which will be renamed by the system) to cause the PHP code to be executed. The PHP code, including operating system commands, will run with the privileges of the target web service.

Some demonstration exploit file contents are provided:

GIF86<?php system($GET[cmd]);?>

rgod reported this vulnerability.

The original advisory is available at:

Impact:   A remote user can execute arbitrary PHP code and operating system commands on the target system with the privileges of the target web service.
Solution:   No solution was available at the time of this entry.
Vendor URL: (Links to External Site)
Cause:   Input validation error, State error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.

 Source Message Contents

Subject:  flatnuke <= 2.5.7 arbitrary php file upload


----- Flatnuke 2.5.7 arbitrary file upload / remote code execution -------------




if user Gallery uploads are enabled (not the default) you can go to:


to upload a shell.php file, ex:

GIF86<?php system($GET[cmd]);?>

file is renamed like this:


now you can launch commands, ex:





mail: rgod @


original url:


Go to the Top of This SecurityTracker Archive Page

Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2019, LLC