rapid7/metasploit-framework

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

Summary

Maintainability
A
3 hrs
Test Coverage

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

  def exploit
    #path = rand_text_alphanumeric(rand(5)+5)
    key = rand_text_alphanumeric(rand(5)+5)
    fields = rand_text_alphanumeric(rand(5)+5)

Severity: Minor
Found in modules/exploits/unix/webapp/cakephp_cache_corruption.rb - About 1 hr to fix

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

      def initialize(info = {})
        super(update_info(info,
          'Name'           => 'CakePHP Cache Corruption Code Execution',
          'Description'    => %q{
            CakePHP is a popular PHP framework for building web applications.  The
    Severity: Minor
    Found in modules/exploits/unix/webapp/cakephp_cache_corruption.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status