what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

MU Security Advisory 2007-04.01

MU Security Advisory 2007-04.01
Posted Apr 24, 2007
Authored by MU Dynamics, Mu Security research team | Site labs.musecurity.com

An integer overflow vulnerability exists in the RPC runtime library (libinfo) that handles AUTH_UNIX authentication. By sending maliciously-crafted requests to the any RPC service (portmap, mount, nfs, etc), a remote attacker can trigger the overflow which may lead to arbitrary code execution as the 'daemon' user. Mac OS X versions 10.3.9 and 10.4.9 are affected.

tags | advisory, remote, overflow, arbitrary, code execution
systems | apple, osx
SHA-256 | 97e5e87dca373f256dac237d93184a10f3eab15b0ae01172cebbd02bfd5db45b

MU Security Advisory 2007-04.01

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

Pre-Authentication Vulnerability in Mac OS X RPC runtime library [MU-200704-01]
April 20, 2007

http://labs.musecurity.com/advisories.html

Affected Product/Versions:

Mac OS X v10.3.9,
Mac OS X Server v10.3.9,
Mac OS X v10.4.9,
Mac OS X Server v10.4.9

Product Overview:

"Portmap is a server that converts RPC program numbers into DARPA protocol
port numbers. It must be running in order to make RPC calls.

When an RPC server is started, it will register with the portmap the port
number it is listening to, and what RPC program numbers it is prepared to
serve. When a client wishes to make an RPC call to a given program number, it
will first contact portmap on the server machine to determine the port number
where RPC packets should be sent."

Vulnerability Details:

An integer overflow vulnerability exists in the RPC runtime library (libinfo)
that handles AUTH_UNIX authentication. By sending maliciously-crafted requests
to the any RPC service (portmap, mount, nfs, etc), a remote attacker can
trigger the overflow which may lead to arbitrary code execution as the
'daemon' user.

The problem is a signed integer issue in parsing XDR strings. In general an
XDR string contains a 4-byte big-endian length followed by the string. Any
length greater than 0x80000000 results in a negative length which is then
passed into a memcpy whose length can be controlled by the attacker.

The vulnerability can be triggered by sending the malicious AUTH_UNIX packets
to the NULL procedure of any enabled RPC service.

Vendor Response / Solution:

All users of RPC on OS X are recommended to immediately apply the security
updates available from the following URL:

http://docs.info.apple.com/article.html?artnum=61798

Mu Security would like to thank Apple for remediation of these
vulnerabilities.

History:

12/18/06 - First contact with the vendor
04/09/07 - Fix available for the vulnerabilities
04/20/07 - Advisory released

Credit:

This vulnerability was discovered by the Mu Security research team.

http://labs.musecurity.com/pgpkey.txt

Mu Security offers a new class of security analysis system, delivering a
rigorous and streamlined methodology for verifying the robustness and security
readiness of any IP-based product or application. Founded by the pioneers of
intrusion detection and prevention technology, Mu Security is backed by
preeminent venture capital firms that include Accel Partners, Benchmark
Capital and DAG Ventures. The company is headquartered in Sunnyvale, CA. For
more information, visit the company's website at http://www.musecurity.com.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFGKP8E+aa9jJz2VeARAlFcAJ92sTKVKx6QVf9Mq7YTa/1iBgqA+QCfVxwq
wBLtHG5ksNFJ7Nm8QpyYuQI=
=GMPf
-----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