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:

October 2023

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