exploit the possibilities
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:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    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