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:

March 2024

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