Rapid7 Vulnerability & Exploit Database

CakePHP Cache Corruption Code Execution

Back to Search

CakePHP Cache Corruption Code Execution

Disclosed
11/15/2010
Created
05/30/2018

Description

CakePHP is a popular PHP framework for building web applications. The Security component of CakePHP versions 1.3.5 and earlier and 1.2.8 and earlier is vulnerable to an unserialize attack which could be abused to allow unauthenticated attackers to execute arbitrary code with the permissions of the webserver.

Author(s)

  • tdz
  • Felix Wilhelm

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

;