vendor:
Loco Translate
by:
Ali S. Ahmad (S4R1N)
7.5
CVSS
HIGH
Local File Inclusion
22
CWE
Product Name: Loco Translate
Affected Version From: 2.2.1
Affected Version To: 2.2.1
Patch Exists: YES
Related CWE: N/A
CPE: a:wordpress:loco_translate
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Debian GNU/Linux 9 (Docker)
2019
WordPress Loco Translate (Version 2.2.1) Plugin LFI
A local file inclusion bug was discovered on the Wordpress Loco Translate (Version 2.2.1) Plugin. This bug can be exploited by any user who has access to the plugin with the access levels ranging from subscriber to admin. Exploitation of the bug abuses the template editing functionality of the plugin and the file-view action, this allows a user to access any system file and view its contents. Exploitation can be done via two main methods, either using (..%2F..%2F..%2F..%2Fetc%2Fpasswd) or directly calling the file via file path (/etc/passwd).
Mitigation:
Ensure that the plugin is up to date and that all users have the least amount of privileges necessary to perform their tasks.