never stop questioning

cpio.04.97-04-24.pop3d_bo

cpio.04.97-04-24.pop3d_bo
Posted Sep 23, 1999

cpio.04.97-04-24.pop3d_bo

MD5 | 9f205654cb15a11d9933dd86456157d0

cpio.04.97-04-24.pop3d_bo

Change Mirror Download

From posse@CORINNE.MAC.EDU Sun Apr 27 23:00:57 1997
Date: Sat, 26 Apr 1997 10:38:11 -0500
From: Corinne Posse <posse@CORINNE.MAC.EDU>
To: BUGTRAQ@NETSPACE.ORG
Subject: COrinne Posse Release 970424

Someone sent out the last one without proofreading it. This is the version
that makes sense.

************** Corinne Posse Security Notice **************
Issue Number 4: 970424
************** http://corinne.mac.edu/posse **************

**** Possible buffer overflow in pop3d ****

*pop3d-1.00.4 (BSD 4.3-based pop3d servers) USER buffer overflow*

Affected Sites:
Systems running OLD versions of pop3d, namely 1.00.4 based versions on the
"original" BSD 4.3 Virtual VAX pop3d by Katie Stevens are vulnerable. In
addition, I believe this includes many older Linux distributions, as many
early Linux pop3ds were basnf of this version. I don't know which
distributions would be guilty of having this daemon, or at what point
in time they stopped using it. See
ftp://tsx-11.mit.edu/pub/linux/packages/net/attic/
Other/pop3d/pop3d-1.00.4.tar.gz
for a copy of the source code that I examined to find the problem.

Problem:
The problem lies in the routine used to read in the username. This problem
is exactly like the vulnerability SNI found with imapd, except a different
software package and strangely similar, yet different code. A malicious
user can easily cause arbitrary execution from the stack (as root, since
most pop3 daemons run as root) provided they have good motivation and
know what the stack looks like.

The offending code follows:

char cli_user[CLI_BUFSIZ]; /* CLI_BUFSIZE is a whole 128 characters! */
char *inbuf

if (strncmp(inbuf,"user",4) == 0) {
inbuf += 4;
EATSPACE(inbuf);
strcpy(cli_user,inbuf);

from "main.c" (around line 155 of main.c, depending on your distribution)

Fixes:
The obvious fix is to upgrade to pop3d software that is more
recent/reliable, or to tinker with the code yourself. Good Luck!

[Found and released by: Jonathan Katz, jkatz@corinne.mac.edu]

Jon, a Sophomore at MacMurray College in Jacksonville, IL, is the founder
and president of Corinne Posse. http://corinne.mac.edu/posse for more
information about the posse.
"Systems security begins with common sense, it's not an add-in
feature."

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2012

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2012 Packet Storm. All rights reserved.

close