=============================================
MGC ALERT 2018-006
- Original release date: August 31, 2018
- Last revised:  September 19, 2018
- Discovered by: Manuel García Cárdenas
- Severity: 7/10 (CVSS Base Score)
- CVE-ID: CVE-2018-16299
=============================================

I. VULNERABILITY
-------------------------
WordPress Plugin Localize My Post 1.0 - Local File Inclusion

II. BACKGROUND
-------------------------
This plugin makes it super easy to add and manage locations in your posts
and pages

III. DESCRIPTION
-------------------------
This bug was found in the file:

/localize-my-post/ajax/include.php

include($_REQUEST['file']);

The parameter "file" it is not sanitized allowing include local files

To exploit the vulnerability only is needed use the version 1.0 of the HTTP
protocol to interact with the application.

IV. PROOF OF CONCEPT
-------------------------
The following URL have been confirmed that is vulnerable to local file
inclusion.

Local File Inclusion POC:

GET
/wordpress/wp-content/plugins/localize-my-post/ajax/include.php?file=../../../../../../../../../../etc/passwd

V. BUSINESS IMPACT
-------------------------
Public defacement, confidential data leakage, and database server
compromise can result from these attacks. Client systems can also be
targeted, and complete compromise of these client systems is also possible.

VI. SYSTEMS AFFECTED
-------------------------
Localize My Post <= 1.0

VII. SOLUTION
-------------------------
Disable plugin until a fix is available.
https://github.com/julianburr/wp-plugin-localizemypost/issues/1

VIII. REFERENCES
-------------------------
https://es.wordpress.org/plugins/localize-my-post/

IX. CREDITS
-------------------------
This vulnerability has been discovered and reported
by Manuel García Cárdenas (advidsec (at) gmail (dot) com).

X. REVISION HISTORY
-------------------------
August 31, 2018 1: Initial release
September 19, 2018 2: Revision to send to lists

XI. DISCLOSURE TIMELINE
-------------------------
August 31, 2018 1: Vulnerability acquired by Manuel Garcia Cardenas
August 31, 2018 2: Email to vendor without response
September 10, 2018 3: Second email to vendor without response
September 19, 2018 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
-------------------------
Manuel Garcia Cardenas
Pentester

_______________________________________________
Sent through the Full Disclosure mailing list
https://nmap.org/mailman/listinfo/fulldisclosure
Web Archives & RSS: http://seclists.org/fulldisclosure/

Reply via email to