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:

September 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close