Secunia Logo
Netsikker nu! 2008
 
NES Game & NES System "phphtmllib" File Inclusion
Secunia Advisory: SA21593
Release Date: 2006-08-21
Last Update: 2006-08-25
Popularity: 9,164 views

Critical:
Highly critical
Impact: System access
Where: From remote
Solution Status: Unpatched

Software:NES Game & NES System

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-4287


Description:
Kacper has reported some vulnerabilities in NES Game & NES System, which can be exploited by malicious people to compromise a vulnerable system.

Input passed to the "phphtmllib" parameter in multiple files is not properly verified before being used to include files. This can be exploited to execute arbitrary PHP code by including files from local or external resources.

Examples:
http://[host]/phphtmllib/includes.php?phphtmllib=[file]
http://[host]/phphtmllib/tag_utils/divtag_utils.php?phphtmllib=[file]
http://[host]/phphtmllib/tag_utils/form_utils.php?phphtmllib=[file]
http://[host]/phphtmllib/tag_utils/html_utils.php?phphtmllib=[file]
http://[host]/phphtmllib/tag_utils/localinc.php?phphtmllib=[file]
http://[host]/phphtmllib/widgets/FooterNav.php?phphtmllib=[file]
http://[host]/phphtmllib/widgets/HTMLPageClass.php?phphtmllib=[file]
http://[host]/phphtmllib/widgets/InfoTable.php?phphtmllib=[file]
http://[host]/phphtmllib/widgets/localinc.php?phphtmllib=[file]
http://[host]/phphtmllib/widgets/NavTable.php?phphtmllib=[file]
http://[host]/phphtmllib/widgets/TextNav.php?phphtmllib=[file]

Successful exploitation requires that "register_globals" is enabled.

The vulnerabilities have been reported in version c108122. Other versions may also be affected.

Solution:
Edit the source code to ensure that input is properly verified.

Provided and/or discovered by:
Kacper

Changelog:
2006-08-25: Added CVE reference.

Original Advisory:
http://milw0rm.com/exploits/2226


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. My PHP Indexer "d" File Disclosure Vulnerability // 36 views
2. phpBB "url" bbcode Script Insertion Vulnerability // 36 views
3. Joomla Mad4Joomla Mailforms Component "jid" SQL Injection // 32 views
4. Joomla Ignite Gallery Component "gallery" SQL Injection // 29 views
5. phpBB BBcode "url" Script Insertion Vulnerability // 29 views
6. WinFTP "PASV" Denial of Service Vulnerability // 29 views
7. ScriptsEz Mini Hosting Panel "dir" File Disclosure // 29 views
8. Joomla OwnBiblio Component "catid" SQL Injection // 28 views
9. Real Estates Classifieds "cat" SQL Injection Vulnerability // 26 views
10. MunzurSoft Wep Portal W3 "kat" SQL Injection Vulnerability // 26 views