rapid7/metasploit-framework

View on GitHub
modules/exploits/linux/http/vmware_vrops_mgr_ssrf_rce.rb

Summary

Maintainability
A
3 hrs
Test Coverage

Method initialize has 62 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def initialize(info = {})
    super(
      update_info(
        info,
        'Name' => 'VMware vRealize Operations (vROps) Manager SSRF RCE',
Severity: Major
Found in modules/exploits/linux/http/vmware_vrops_mgr_ssrf_rce.rb - About 2 hrs to fix

    Method write_jsp_payload has 28 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      def write_jsp_payload
        jsp_path = "/usr/lib/vmware-casa/casa-webapp/webapps/casa/#{jsp_filename}"
    
        print_status('Writing JSP payload')
        vprint_status(jsp_path)
    Severity: Minor
    Found in modules/exploits/linux/http/vmware_vrops_mgr_ssrf_rce.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status