Rapid7 Vulnerability & Exploit Database

Open Flash Chart v2 Arbitrary File Upload

Back to Search

Open Flash Chart v2 Arbitrary File Upload

Disclosed
12/14/2009
Created
05/30/2018

Description

This module exploits a file upload vulnerability found in Open Flash Chart version 2. Attackers can abuse the 'ofc_upload_image.php' file in order to upload and execute malicious PHP files.

Author(s)

  • Braeden Thomas
  • Gjoko Krstic <gjoko@zeroscience.mk>
  • Halim Cruzito
  • bcoles <bcoles@gmail.com>

Platform

PHP

Architectures

php

Development

References

  • BID-37314
  • CVE-2009-4140
  • OSVDB-59051
  • EDB-10532
  • WPVDB-6787
  • WPVDB-6788
  • WPVDB-6789
  • WPVDB-6790
  • WPVDB-6791
  • WPVDB-6792

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

;