Rapid7 Vulnerability & Exploit Database

SPIP connect Parameter PHP Injection

Back to Search

SPIP connect Parameter PHP Injection

Disclosed
07/04/2012
Created
09/11/2024

Description

This module exploits a PHP code injection vulnerability in SPIP. The vulnerability exists in the connect parameter, allowing an unauthenticated user to execute arbitrary commands with web user privileges. Branches 2.0, 2.1, and 3 are affected. Vulnerable versions are < 2.0.21, < 2.1.16, and < 3.0.3. This module is compatible with both Unix/Linux and Windows platforms, and has been successfully tested on SPIP 2.0.11 and SPIP 2.0.20 on Apache running on Ubuntu, Fedora, and Windows Server.

Author(s)

  • Arnaud Pachot
  • Frederic Cikala
  • Davy Douhine
  • Valentin Lobstein

Platform

Linux,PHP,Unix,Windows

Architectures

php, 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_connect_exec
msf exploit(spip_connect_exec) > show targets
    ...targets...
msf exploit(spip_connect_exec) > set TARGET < target-id >
msf exploit(spip_connect_exec) > show options
    ...show and set options...
msf exploit(spip_connect_exec) > 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

;