Lucene search
K

Free Image Hosting Shell Upload

🗓️ 26 Dec 2011 00:00:00Reported by ySecurityType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 22 Views

Free Image Hosting Script Remote File Upload Vulnerability. Exploit allows hackers to upload PHP backdoor into "/pictures/" directory via Live HTTP Headers

Code
`============================================  
Free Image Hosting Script Remote File Upload Vulnerability  
============================================  
# Exploit Title: Free Image Hosting Script [ALL VERSIONS] Remote File  
Upload Vulnerability  
# Date: 26/12/11  
# Author: ySecurity  
# Vendor or Software Link: http://www.photohostingscript.com  
# Price: $29.99  
# Version: All versions effected  
# Category:: Remote File Upload  
# Google dork: inurl:"show-image.php?id="  
# Tested on: Windows 7  
# Vendor HAS been notified.  
########################################################################################  
  
NOTE: You will ONLY be able to find your shell if the "/pictures"  
directory and if the directory is not forbidden.  
  
This exploit allows hackers to upload a PHP backdoor into "/pictures/"  
directory via the use of Live HTTP Headers (Firefox Addon)  
  
[Vulnerability]  
  
Tools Needed: Live HTTP Headers, Backdoor Shell  
  
Step 1: Locate upload form on index page.  
Step 2: Rename your shell to shell.php.jpg and start capturing data with  
Live HTTP Headers  
Step 3: Enter tags for the image (can be anything)  
Step 4: Replay data with Live HTTP Headers -  
Step 5: Change [Content-Disposition: form-data; name="image1";  
filename="shell.php.jpg"\r\n] to [Content-Disposition: form-data;  
name="image1"; filename="shell.php"\r\n]  
Step 6: Locate pictures directory:  
www.site.tld/imagehostingscript/pictures/ (usually)  
Step 7: Find PHP file (random digits.php) = should look like  
(321879194bc8ff2843bf7b63a666f665.php)  
Step 8: Navigate to backdoor =  
www.site.tld/imagehostingscript/pictures/321879194bc8ff2843bf7b63a666f665.php  
  
  
########################################################################################  
  
Greets to: Team Intra  
  
Submitted ethically, after disclosure.  
  
`

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