Rapid7 Vulnerability & Exploit Database

Horde CSV import arbitrary PHP code execution

Back to Search

Horde CSV import arbitrary PHP code execution

Disclosed
02/07/2020
Created
03/23/2020

Description

The Horde_Data module version 2.1.4 (and before) present in Horde Groupware version 5.2.22 allows authenticated users to inject arbitrary PHP code thus achieving RCE on the server hosting the web application.

Author(s)

  • Andrea Cardaci <cyrus.and@gmail.com>

Platform

PHP

Architectures

php

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/multi/http/horde_csv_rce
msf exploit(horde_csv_rce) > show targets
    ...targets...
msf exploit(horde_csv_rce) > set TARGET < target-id >
msf exploit(horde_csv_rce) > show options
    ...show and set options...
msf exploit(horde_csv_rce) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;