Rapid7 Vulnerability & Exploit Database

Oracle Weblogic Apache Connector POST Request Buffer Overflow

Back to Search

Oracle Weblogic Apache Connector POST Request Buffer Overflow



This module exploits a stack based buffer overflow in the BEA Weblogic Apache plugin. The connector fails to properly handle specially crafted HTTP POST requests, resulting a buffer overflow due to the insecure usage of sprintf. Currently, this module works over Windows systems without DEP, and has been tested with Windows 2000 / XP. In addition, the Weblogic Apache plugin version is fingerprinted with a POST request containing a specially crafted Transfer-Encoding header.


  • KingCope
  • juan vazquez <juan.vazquez@metasploit.com>




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