HOTFIX: Metasploit Update Issues After Upgrading to 4.11.1 (Update 2015022301)

Document created by erayymz Employee on Mar 1, 2015
Version 1Show Document
  • View in full screen mode

Overview

The Update (2015022301) which was released on February, 25th 2015, caused updater to fail.

 

Issue

When user navigates to Metasploit update page, following 500 Error is displayed, and the application cannot be updated.

Metasploit_500_Update_Error.png

Affected Editions

Metasploit Pro, Express and Community.

 

Scope

The issue is only applicable if the application updated to version 4.11.1 (Update 2015022301). This includes your Metasploit instance updated from a previous version to affected version, or if you have downloaded Metasploit installer between February 25th and February 27th of 2015 which came with affected version.

 

Please note that all other functions of Metasploit will operate as expected. This issue only affects the update function.

 

Solution


On Linux:

(please adjust for your Metasploit installation directory if you install path is different than below)

  1. Download client.rb file from here.
  2. Copy the file to /opt/metasploit/apps/pro/msf3/lib/msf/core/rpc/v10/client.rb
  3. Restart Metasploit: /etc/init.d/metasploit restart
  4. Wait for Metasploit to restart (can take 5-10 minutes)
  5. Verify you can successfully access https://localhost:3790/updates

 

On Windows:

(please adjust for your Metasploit installation directory if you install path is different than below)

  1. Download client.rb file from here.
  2. Copy the file to C:\metasploit\apps\pro\msf3\lib\msf\core\rpc\v10\client.rb
  3. Restart Metasploit: Start Menu -> Metasploit -> Services -> Stop services, Start services
  4. Wait for Metasploit to restart (can take 5-10 minutes)
  5. Verify you can successfully access https://localhost:3790/updates

 

Once Metasploit starts back up, you should be able to visit the update page without any issues. Once the updater operates as expected, Metasploit will download Update 2015022302. Please make sure Metasploit installs the new update successfully.

Attachments

    Outcomes