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

DSR-youbin.txt

DSR-youbin.txt
Posted May 7, 2003
Authored by Knud Erik Hojgaard | Site dtors.net

youbin, the utility that acts as a network version of the utility biff, has insufficient bounds checking that allows arbitrary code execution.

tags | advisory, arbitrary, code execution
SHA-256 | 246db609e0835a2434298e984b43373b3bfa91bc54ee98a12910070f03a1b529

DSR-youbin.txt

Change Mirror Download
I. BACKGROUND

$ more /usr/ports/mail/youbin/pkg-descr
---- From README (slightly modified) ---

youbin is a kind of biff in the network age. When youbin is used, the
mail spool of a certain, specific machine (mail server) is observed to
inform the arrival of mail to a user at an arbitrary machine through
the network. On the other hands, the conventional "biff" informs only
the user who logs in at the machine on which the mail spool
resides. Combining with POP, youbin eliminates a lot of NFS mount of
mail spool directory caused by checking mail arrival.

More information is available at:
http://www.agusa.nuie.nagoya-u.ac.jp/software/agusalab/youbin/youbin-e.html

II. DESCRIPTION

Insufficient bounds checking leads to execution of arbitrary code.
perl exploit follows this document.

III. ANALYSIS

Upon setting a large value for the HOME environment variable a buffer can be
overflowed. Since youbin is setuid root this effectively allows for a full
system compromise.

Example run:
$ id
uid=1000(kokanin) gid=1000(kokanin) groups=1000(kokanin), 0(wheel)
$ perl DSR-youbin.pl
# id
uid=0(root) gid=1000(kokanin) groups=1000(kokanin), 0(wheel)

IV. DETECTION

youbin-3.4 shipping with freebsd ports per 02/03/03, the latest available
at the time of writing, is known to be vulnerable.

V. WORKAROUND

# chmod -s `which youbin`

VI. VENDOR FIX

unknown

VII. CVE INFORMATION

unknown

VIII. DISCLOSURE TIMELINE

5/5/03 - FreeBSD port maintainer notified
5/5/03 - FreeBSD port maintainer replies, bug is known, apparently no fix
is planned at the moment
6/5/03 - public disclosure

IX. CREDIT

Knud Erik Højgaard/kokanin, dtors security research

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