rapid7/metasploit-framework

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

Summary

Maintainability
A
3 hrs
Test Coverage

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

  def initialize(info={})
    super(update_info(info,
      'Name'           => "V-CMS PHP File Upload and Execute",
      'Description'    => %q{
          This module exploits a vulnerability found on V-CMS's inline image upload feature.
Severity: Minor
Found in modules/exploits/linux/http/vcms_upload.rb - About 1 hr to fix

    Method exploit has 34 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      def exploit
        peer = "#{rhost}:#{rport}"
    
        base = target_uri.path
        base << '/' if base[-1,1] != '/'
    Severity: Minor
    Found in modules/exploits/linux/http/vcms_upload.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status