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

Eterm-LibAST.txt

Eterm-LibAST.txt
Posted Jan 27, 2006
Authored by Angelo Rosiello | Site rosiello.org

Eterm when built links to LibAST. A stack overflow vulnerability exists in LibAST that allows an attacker to execute commands with user group utmp.

tags | advisory, overflow
SHA-256 | 67f1218054724b40978a0903b78af822039d90aea5acfefee5b94f09deafab4c

Eterm-LibAST.txt

Change Mirror Download

©Rosiello Security
http://www.rosiello.org

Eterm-LibAST Advisory



I. BACKGROUND

Eterm (http://www.eterm.org) is a color vt102 terminal emulator intended as an xterm(1) replacement. It is designed with a Freedom of Choice philosophy, leaving as much power, flexibility, and freedom as possible in the hands of the user. It is designed to look good and work well, but takes a feature-rich approach rather than one of minimalism. Eterm uses Imlib for advanced graphic abilities and includes LibAST.


II. DESCRIPTION

Eterm when builded links to LibAST. A stack overflow vulnerability exists in LibAST that allows an attacker to execute commands with user group “utmp”. The vulnerability is triggered when using an alternative configuration file name by the '-X' option. In this case Eterm will call conf_find_file() in conf.c from LibAST. Here is where vulnerability takes place at:

if (dir) {

strcpy(name, dir);

strcat(name, "/");

strcat(name, file);

}



III. ANALISYS

By exploiting this vulnerability an attacker can gain control of the return address of the executing function allowing arbitrary code execution with "utmp" group privileges.


IV. DETECTION

All vulnerable versions of Eterm using LibAST prior to 0.7 are vulnerable.


V. WORKAROUND

Rosiello Security is currently unaware of any workaround for this issue.


VI. VENDOR RESPONSE

The vendor has released the following new package of LibAST to fix the problem:

http://www.eterm.org/download/libast-0.7.tar.gz


VII. CVE INFORMATION

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


VIII. DISCLOSURE TIMELINE

15/01/2006 - Initial Vendor Contact

16/01/2006 – Initial Vendor Response

23/01/2006 – Coordinated public disclosure


IX. CREDITS

Johnny Mast from Rosiello Security (http://www.rosiello.org) is credited with discovering this vulnerability.

Rosiello Security home page: http://www.rosiello.org

You can find Rosiello Security's members in our irc server: irc.rosiello.net #rosiello

Visit our latest project Obsidis where you can find free security white papers: http://www.obsidis.org


X. LEGAL NOTICES

Copyright © 2006 Rosiello Security

Permission is granted for the redistribution of this alert electronically. It may not be edited in any way without the express written consent of Rosiello Security. If you wish to reprint the whole or any part of this alert in any other medium other than electronically, please email angelo@rosiello.org 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.

XI. EXPLOIT

Exploit for Ubuntu (pof): http://www.rosiello.org/archivio/eterm-exploit.c
Login or Register to add favorites

File Archive:

November 2024

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