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

ToolTalk rpc.ttdbserverd Database Parser Heap Overflow

ToolTalk rpc.ttdbserverd Database Parser Heap Overflow
Posted Jul 14, 2010
Authored by Rodrigo Rubira Branco

There exists a vulnerability within a function of the ToolTalk database server (rpc.ttdbserverd), which when properly exploited can lead to compromise of the vulnerable system. This vulnerability can be triggered by creating a fake database (.rec file) on the system and calling remote procedure 7 of ToolTalk database server pointing to this database, leading to a heap overflow.

tags | advisory, remote, overflow
SHA-256 | d52652680c2282a365582b370699c7a5d7ea1fad7ca3f74abec30bf475ffe69d

ToolTalk rpc.ttdbserverd Database Parser Heap Overflow

Change Mirror Download
Dear List,


I'm writing on behalf of the Check Point Vulnerability Discovery Team to publish the following vulnerability.


Check Point Software Technologies - Vulnerability Discovery Team (VDT)
http://www.checkpoint.com/defense/

ToolTalk rpc.ttdbserverd database parser vulnerability
CVE-2010-0083
CPVDT-2010-0651



INTRODUCTION

There exists a vulnerability within a function of the ToolTalk database server
(rpc.ttdbserverd), which when properly exploited can lead to compromise of the
vulnerable system.
This vulnerability was confirmed in the following versions of operating systems,
other operating systems and versions may be also affected. There are working
exploits to be shared with interested parts.

IBM AIX all versions up to today.
Sun Solaris all versions up to today. (Sparc and x86)
HP HP-UX all versions up to today.


Patches and workarounds are available for all the vendors. Disable the service if unsure.

To determine whether the ToolTalk database server is running on a host, use the
"rpcinfo" command to print a list of the RPC services running on it, as:

$ rpcinfo -p hostname

The remote program number for the ToolTalk database server is 100083. If an
entry exists for this program, then the ToolTalk database server is running on
the system.

100083 1 tcp 32768 ttdbserver

DETAILS

This vulnerability can be triggered by creating a fake database (.rec file) on
the system and calling remote procedure 7 of ToolTalk database server pointing
to this database, leading to a heap overflow.
Remote command execution can be achieved if you can place files on the host via
FTP or HTTP servers for example.
Four byte overwrite is possible as showed above (Solaris 9 Sparc).


#0 0xff0c766c in t_delete () from /usr/lib/libc.so.1
(gdb) x/i $pc
0xff0c766c <t_delete+52>: st %o0, [ %o1 + 8 ]
(gdb) i r $o0
o0 0x61626364 1633837924
(gdb) i r $o1
o1 0x41424344 1094861636
(gdb) bt
#0 0xff0c766c in t_delete () from /usr/lib/libc.so.1
#1 0xff0c72b0 in realfree () from /usr/lib/libc.so.1
#2 0xff0c7b50 in cleanfree () from /usr/lib/libc.so.1
#3 0xff0c6c8c in _malloc_unlocked () from /usr/lib/libc.so.1
#4 0xff0c6b6c in malloc () from /usr/lib/libc.so.1
#5 0xff31a814 in __0oN_Tt_allocatednwUiT () from /usr/dt/lib/libtt.so.2
#6 0xff31a970 in __0oK_Tt_stringctPCc () from /usr/dt/lib/libtt.so.2
#7 0xff31dc98 in __0FL_tt_vsyslogP6EFILEiPCcPv () from /usr/dt/lib/libtt.so.2
#8 0xff319f40 in __0FK_tt_syslogP6EFILEiPCce () from /usr/dt/lib/libtt.so.2
#9 0x0002a094 in __0FN_tt_iserase_1PPcP6J__svcxprt ()
#10 0x00026584 in __0FT_tt_dbserver_prog_1P6Hsvc_reqP6J__svcxprt ()
#11 0x00026584 in __0FT_tt_dbserver_prog_1P6Hsvc_reqP6J__svcxprt ()


CREDITS

This vulnerability was discovered and exploited by Rodrigo Rubira Branco from
Check Point Vulnerability Discovery Team (VDT).




Best Regards,

Rodrigo.

--
Rodrigo Rubira Branco
Senior Security Researcher
Vulnerability Discovery Team (VDT)
Check Point Software Technologies
Login or Register to add favorites

File Archive:

April 2024

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