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

iDEFENSE Security Advisory 2004-07-08.t

iDEFENSE Security Advisory 2004-07-08.t
Posted Jul 8, 2004
Authored by iDefense Labs | Site idefense.com

iDEFENSE Security Advisory 07.08.04: SSLtelnet contains a format string vulnerability that could allow remote code execution. The problem specifically exists within telnetd.c, on line 530 where an argument deficient call is made to syslog().

tags | advisory, remote, code execution
advisories | CVE-2004-0640
SHA-256 | 4e543388d663cd33875f49d23593b699a5be1be2e1f2f992845ce28c404f7be4

iDEFENSE Security Advisory 2004-07-08.t

Change Mirror Download
SSLTelnet Remote Format String Vulnerability

iDEFENSE Security Advisory 07.08.04:

*I. BACKGROUND*

SSLtelnetd is a replacement for telnetd available as part of the FreeBSD
ports collection at http://www.freebsd.org/ports/security.html. It
implements the telnet protocol over SSL.

*II. DESCRIPTION*

SSLtelnet contains a format string vulnerability that could allow remote
code execution.

The problem specifically exists within telnetd.c, on line 530 where an
argument deficient call is made to syslog(). The following snippet
reveals the vulnerable code:

SSL_set_verify(ssl_con,ssl_verify_flag,NULL);


if (SSL_accept(ssl_con) <= 0) {
static char errbuf[1024];


sprintf(errbuf,"SSL_accept error %s\n",
ERR_error_string(ERR_get_error(),NULL));


syslog(LOG_WARNING, errbuf); // vulnerable call


BIO_printf(bio_err,errbuf);


/* go to sleep to make sure we are noticed */
sleep(10);
SSL_free(ssl_con);


_exit(1);
} else {
ssl_active_flag=1;
}

*III. ANALYSIS*

This vulnerability could be remotely exploitable under certain
conditions. If exploitation is successful, gaining root access is
possible as the process runs as root.

*IV. DETECTION*

iDEFENSE has confirmed the existence of this vulnerability against
the current release, SSLTelnet version 0.13-1.

*V. WORKAROUND*

This project does not appear to be actively maintained and has now been
marked FORBIDDEN and DEPRECATED. End users should consider implementing
an alternate telnet/SSL solution.

*VI. CVE INFORMATION*

The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CAN-2004-0640 to this issue. This is a candidate for inclusion in
the CVE list (http://cve.mitre.org <http://cve.mitre.org/>), which
standardizes names for
security problems.

*VII. DISCLOSURE TIMELINE*

04/03/2003 Vulnerability acquired by iDEFENSE
06/29/2004 Initial vendor contact
07/02/2004 Secondary vendor contact
07/08/2004 Public disclosure

*VIII. CREDIT*

b0f is credited with this discovery.

Get paid for vulnerability research
http://www.idefense.com/poi/teams/vcp.jsp

*IX. LEGAL NOTICES*

Copyright (c) 2004 iDEFENSE, Inc.

Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDEFENSE. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically, please
email customerservice@idefense.com <mailto:customerservice@idefense.com>
for permission.

Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct, indirect,
or consequential loss or damage arising from use of, or reliance on,
this information.
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
    36 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