Rapid7 Vulnerability & Exploit Database

PAJAX Remote Command Execution

Back to Search

PAJAX Remote Command Execution

Disclosed
03/30/2006
Created
05/30/2018

Description

RedTeam has identified two security flaws in PAJAX (<= 0.5.1). It is possible to execute arbitrary PHP code from unchecked user input. Additionally, it is possible to include arbitrary files on the server ending in ".class.php".

Author(s)

  • Matteo Cantoni <goony@nothink.org>
  • hdm <x@hdm.io>

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/unix/webapp/pajax_remote_exec
msf exploit(pajax_remote_exec) > show targets
    ...targets...
msf exploit(pajax_remote_exec) > set TARGET < target-id >
msf exploit(pajax_remote_exec) > show options
    ...show and set options...
msf exploit(pajax_remote_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

;