Home / vulnerabilities WordPress NextGEN Gallery 2.1.10 Shell Upload
Posted on 25 December 2015
Source : packetstormsecurity.org Link
Hi,
Details
================
# Title : Malicious File Upload in NextGEN Gallery by Photocrati Version
2.1.10
# Affected Product : NextGEN Gallery by Photocrati Version 2.1.10
# Vendor Homepage: https://wordpress.org/plugins/nextgen-gallery/download/
# Vulnerability Type : Malicious File upload
# Risk : High
# POC URL :
https://github.com/cybersecurityworks/Disclosed/issues/6
# Video URL : https://www.youtube.com/watch?v=hMMG42HsgUA&feature=youtu.be
# Status : Fixed
# CVE-Assigned : No
Description
================
Even though credentials are required to upload file into the server. any
new combined vulnerability can allow an attacker to Upload shell into the
server which gives entire root access of the server.
Technical Details
================
1. Logon into any wordpress application (localhost or public host)
2. Move on to Next Gen Gallery plugin file upload option available on
products.
3. Upload JPG file to the server through file upload option.
4. Modify the file variable contains JPG extension to PHP. Also, edit
and add shell content to the name variable body containing JPG
information/content.
Advisory Timeline
================
2015-09-04 – Discovered in NextGen Gallery 2.1.10 version.
2015-09-04 – Reported to plugins@wordpress.org
2015-09-04 – Vendor responded in the same.
2015-09-09 – Fixed in NextGen Gallery 2.1.15 version.
2015-10-27 – CVE Requested
Fix
================
https://www.owasp.org/index.php/Unrestricted_File_Upload
Credits & Authors
================
sathish@cybersecurityworks.com from cybersecurityworks Pvt Ltd
About Cybersecurityworks
================
Cybersecurity Works is basically an auditing company passionate working on
findings & reporting security flaws & vulnerabilities on web application
and network. As professionals, we handle each client differently based on
their unique requirements. Visit our website
http://www.cybersecurityworks.com/ for more information.
--
----------
Cheers !!!
Team CSW Research Lab <http://www.cybersecurityworks.com>