rapid7/metasploit-framework

View on GitHub
modules/exploits/unix/webapp/joomla_comjce_imgmanager.rb

Summary

Maintainability
A
2 hrs
Test Coverage

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

  def initialize(info = {})
    super(update_info(info,
      'Name'           => 'Joomla Component JCE File Upload Remote Code Execution',
      'Description'    => %q{
          This module exploits a vulnerability in the JCE component for Joomla!, which
Severity: Minor
Found in modules/exploits/unix/webapp/joomla_comjce_imgmanager.rb - About 1 hr to fix

    Method upload_gif has 30 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      def upload_gif
        # add GIF header
        cmd_php = "GIF89aG\n<?php #{payload.encoded}  ?>"
    
        # Generate some random strings
    Severity: Minor
    Found in modules/exploits/unix/webapp/joomla_comjce_imgmanager.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status