Rapid7 Vulnerability & Exploit Database

SPIP BigUp Plugin Unauthenticated RCE

Back to Search

SPIP BigUp Plugin Unauthenticated RCE

Disclosed
09/06/2024
Created
09/11/2024

Description

This module exploits a Remote Code Execution vulnerability in the BigUp plugin of SPIP. The vulnerability lies in the `lister_fichiers_par_champs` function, which is triggered when the `bigup_retrouver_fichiers` parameter is set to any value. By exploiting the improper handling of multipart form data in file uploads, an attacker can inject and execute arbitrary PHP code on the target server. This critical vulnerability affects all versions of SPIP from 4.0 up to and including 4.3.1, 4.2.15, and 4.1.17. It allows unauthenticated users to execute arbitrary code remotely via the public interface. The vulnerability has been patched in versions 4.3.2, 4.2.16, and 4.1.18.

Author(s)

  • Vozec
  • Laluka
  • Julien Voisin
  • Valentin Lobstein

Platform

Linux,PHP,Unix,Windows

Architectures

ARCH_PHP, ARCH_CMD

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/spip_bigup_unauth_rce
msf exploit(spip_bigup_unauth_rce) > show targets
    ...targets...
msf exploit(spip_bigup_unauth_rce) > set TARGET < target-id >
msf exploit(spip_bigup_unauth_rce) > show options
    ...show and set options...
msf exploit(spip_bigup_unauth_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

;