exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

idefense.tru64.txt

idefense.tru64.txt
Posted Sep 20, 2002
Authored by David Endler, Euan Briggs | Site idefense.com

iDEFENSE Security Advisory 09.18.2002 - Three locally exploitable buffer overflows have been found in older versions of Tru64/OSF1. The -s parameter to the uucp utility can give local root, as can inc mail and dxterm.

tags | overflow, local, root
SHA-256 | 613c7847d1e5ec418d42614e0651bd7d1c878053db6ad2a0af3bc69ad0dbbcc2

idefense.tru64.txt

Change Mirror Download
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

iDEFENSE Security Advisory 09.18.2002
Security Vulnerabilities in OSF1/Tru64 3.x


DESCRIPTION

Three buffer overflow vulnerabilities exist in older versions of
Tru64/OSF1.

ISSUE 1

The uucp utility in Compaq’s Tru64/OSF1 3.x operating system contains
a locally exploitable buffer overflow which allows an attacker to
gain root privileges if the "source" command line parameter is a
string greater that approximately 8232 bytes in size. The executable
is installed setuid root which allows the attacker to cause arbitrary
code to run in the context of the root user.

Analysis: This issue is trivial to exploit; The parameter to the "-s"
command line argument is stored in the heap area of memory, and an
attacker can place shellcode in it for later execution. This
eliminates the need for offset brute forcing, however alignment
appears to be an issue in this case.

The Mitre Corp.'s Common Vulnerabilities and Exposures (CVE) Project
has assigned the identification number CAN-2002-1127 to this issue.

This issue was exlcusively disclosed to iDEFENSE by Euan Briggs
(euan_briggs@btinternet.com)



ISSUE 2

The inc mail incorporation utility in Compaq’s OSF1 3.x operating
system contains a locally exploitable buffer overflow which allows an
attacker to gain root privileges if the "MH" environment variable
contains a string greater that approximately 8192 bytes in size. The
executable is installed setuid root which allows the attacker to
cause arbitrary code to run in the context of the root user.

Analysis: This issue is trivial to exploit; the content of the "HOME"
environment variable is stored in the heap area of memory, and an
attacker can place shellcode in it for later execution. This
eliminates the need for alignment and offset brute forcing.

The Mitre Corp.'s Common Vulnerabilities and Exposures (CVE) Project
has assigned the identification number CAN-2002-1128 to this issue.

This issue was exclusively disclosed to iDEFENSE by Euan Briggs
(euan_briggs@btinternet.com)



ISSUE 3

Description: The dxterm utility in Compaq’s OSF1 3.x operating system
contains a locally exploitable buffer overflow which allows an
attacker to gain root privileges. The executable is installed setuid
root which allows the attacker to cause arbitrary code to run in the
context of the root user.

Analysis: This issue is trivial to exploit; the argument to the
command line parameter "-xrm" is stored in the heap area of memory,
and an attacker can place shellcode in it for later execution. This
eliminates the need for alignment and offset brute forcing.

The Mitre Corp.'s Common Vulnerabilities and Exposures (CVE) Project
has assigned the identification number CAN-2002-1129 to this issue.

This vulnerability was exclusively disclosed to iDEFENSE by Euan
Briggs (euan_briggs@btinternet.com)


DETECTION

These issues were tested on OSF1 3.2 with working exploit code.


WORKAROUND

Remove the setuid bit from the binaries, however affecting their
functionality:

$ chmod u-s /path.to/dxterm
$ chmod u-s /path.to/inc
$ chmod u-s /path.to/uucp


VENDOR RESPONSE

According to HP:

"HP and Compaq have corrected the issues in subsequent releases of HP
Tru64 UNIX. HP strongly recommends that OSF V3.* Customers update to
a minimum of Tru64 UNIX V5.1 and apply all available patches.

REPORT: To report a potential security vulnerability with any HP or
Compaq supported product, send email to: security-alert@hp.com"


DISCLOSURE TIMELINE

August 16, 2002 - Disclosed to iDEFENSE
September 6, 2002 - Disclosed to security-alert@hp.com
September 6, 2002 - Disclosed to iDEFENSE clients
Sepetember 6, 2002 - First human response from HP (Rich.Boren@hp.com)
September 13, 2002 - Follow-up email from iDEFENSE to
Rich.Boren@hp.com
September 16, 2002 - Official vendor response received from
Rich.Boren@hp.com
September 18, 2002 - Public Disclosure



http://www.idefense.com/contributor.html

David Endler, CISSP
Director, Technical Intelligence
iDEFENSE, Inc.
14151 Newbrook Drive
Suite 100
Chantilly, VA 20151
voice: 703-344-2632
fax: 703-961-1071

dendler@idefense.com
www.idefense.com

-----BEGIN PGP SIGNATURE-----
Version: PGP 7.1.2
Comment: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x4B0ACC2A

iQA/AwUBPYjo0UrdNYRLCswqEQJnywCfd96gfT2x0jRODc3bb6r/tMmSb24An1WE
e9zdAzR99PtprllGJpch001e
=/879
-----END PGP SIGNATURE-----

Login or Register to add favorites

File Archive:

July 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close