Rapid7 Vulnerability & Exploit Database

SPIP connect Parameter PHP Injection

Back to Search

SPIP connect Parameter PHP Injection

Disclosed
07/04/2012
Created
05/30/2018

Description

This module exploits a PHP code injection in SPIP. The vulnerability exists in the connect parameter and allows an unauthenticated user to execute arbitrary commands with web user privileges. Branches 2.0, 2.1 and 3 are concerned. Vulnerable versions are <2.0.21, <2.1.16 and < 3.0.3, but this module works only against branch 2.0 and has been tested successfully with SPIP 2.0.11 and SPIP 2.0.20 with Apache on Ubuntu and Fedora linux distributions.

Author(s)

  • Arnaud Pachot
  • Frederic Cikala
  • Davy Douhine

Platform

PHP

Architectures

php

Development

References

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/unix/webapp/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

;