rapid7/metasploit-framework

View on GitHub
modules/exploits/aix/local/xorg_x11_server.rb

Summary

Maintainability
A
3 hrs
Test Coverage

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

  def initialize(info = {})
    super(update_info(info,
      'Name'           => 'Xorg X11 Server Local Privilege Escalation',
      'Description'    => %q(
        WARNING: Successful execution of this module results in /etc/passwd being overwritten.
Severity: Major
Found in modules/exploits/aix/local/xorg_x11_server.rb - About 2 hrs to fix

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

      def exploit
        status = check
    
        if status == Exploit::CheckCode::Safe
          fail_with(Failure::NotVulnerable, '')
    Severity: Minor
    Found in modules/exploits/aix/local/xorg_x11_server.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status