From labs-no-reply@idefense.com Thu Nov 10 19:08:32 2005 From: iDEFENSE Labs To: bugtraq@securityfocus.com, vulnwatch@vulnwatch.org, full-disclosure@lists.grok.org.uk Date: Thu, 10 Nov 2005 19:06:25 -0500 Subject: [Full-disclosure] iDEFENSE Security Advisory 11.10.05: Stack Overflow in Veritas Netbackup Enterprise Server Stack Overflow in Veritas Netbackup Enterprise Server iDEFENSE Security Advisory 11.10.05 www.idefense.com/application/poi/display?id=336&type=vulnerabilities November 10, 2005 I. BACKGROUND VERITAS NetBackup Enterprise Server delivers mainframe-class data protection for the largest UNIX, Windows, Linux, and NetWare enterprise environments, especially for corporate data centers. http://veritas.com/Products/www?c=product&refId=2 VERITAS NetBackup Server software is cost-effective heterogeneous backup and recovery solution designed for mid-size organizations, workgroups, and remote offices. II. DESCRIPTION Exploitation of a buffer overflow vulnerability in Veritas Netbackup could lead to a remote Denial Of Service or remote code execution. The Veritas Netbackup Volume Manager keeps track of the location of volumes (tapes) needed for backup or restore. By sending a specially crafted packet to the Volume Manager stack overflow occurs. This is caused by improper bounds checking. III. ANALYSIS Exploitation does not require authentication, thereby allowing any remote attacker to take over the entire system or to disrupt the backup capabilities. IV. DETECTION The following versions are confirmed vulnerable: - Veritas Netbackup 5.0 with MP1 (vmd.exe 5.0.0.370) - Veritas Netbackup 5.0 with MP2 (vmd.exe 5.0.0.372) - Veritas Netbackup 5.0 with MP3 (vmd.exe 5.0.0.377) - Veritas Netbackup 5.0 with MP4 (vmd.exe 5.0.0.382) - Veritas Netbackup 5.0 with MP5 (vmd.exe 5.0.0.387) - Veritas Netbackup 5.1 without MP (vmd.exe 5.1.0.135) - Veritas Netbackup 5.1 with MP1 (vmd.exe 5.1.0.140) - Veritas Netbackup 5.1 with MP2 (vmd.exe 5.1.0.146) - Veritas Netbackup 5.1 with MP3A (vmd.exe 5.1.0.150) V. WORKAROUND Use a firewall to restrict incoming connections to trusted workstations running the Backup Exec client software, which uses port 13701 TCP. Latter details released by Symantec state that the vulnerable code may be able to be exploited through other NetBackup ports/services. VI. VENDOR RESPONSE The vendor has released the following advisory to address this vulnerability: http://seer.support.veritas.com/docs/279553.htm Patches for NetBackup 5.0 and 5.1 are available from the following location: http://support.veritas.com/menu_ddProduct_NBUESVR_view_DOWNLOAD.htm VII. CVE INFORMATION The Common Vulnerabilities and Exposures (CVE) project has assigned the name CAN-2005-3116 to this issue. This is a candidate for inclusion in the CVE list (http://cve.mitre.org), which standardizes names for security problems. VIII. DISCLOSURE TIMELINE 09/14/2005 Initial vendor notification 09/14/2005 Initial vendor response 11/10/2005 Public disclosure IX. CREDIT The discoverer of this vulnerability wishes to remain anonymous. Get paid for vulnerability research http://www.idefense.com/poi/teams/vcp.jsp Free tools, research and upcoming events http://labs.idefense.com X. LEGAL NOTICES Copyright C 2005 iDEFENSE, Inc. Permission is granted for the redistribution of this alert electronically. It may not be edited in any way without the express written consent of iDEFENSE. If you wish to reprint the whole or any part of this alert in any other medium other than electronically, please email customerservice@idefense.com for permission. Disclaimer: The information in the advisory is believed to be accurate at the time of publishing based on currently available information. Use of the information constitutes acceptance for use in an AS IS condition. There are no warranties with regard to this information. Neither the author nor the publisher accepts any liability for any direct, indirect, or consequential loss or damage arising from use of, or reliance on, this information. _______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.grok.org.uk/full-disclosure-charter.html Hosted and sponsored by Secunia - http://secunia.com/