cbcvebase.
CVE-1999-0003
published 1998-04-01

CVE-1999-0003: Execute commands as root via buffer overflow in Tooltalk database server (rpc.ttdbserverd).

PriorityP347critical10CVSS 2.0
AVNACLAuNCCICAC
EXPLOIT
EPSS
24.38%
97.6th percentile
Execute commands as root via buffer overflow in Tooltalk database server (rpc.ttdbserverd).

Affected

30 ranges· showing 25
VendorProductVersion rangeFixed in
hphp-ux
hphp-ux
hphp-ux
hphp-ux
ibmaix
ibmaix
ibmaix
ibmaix
ibmaix
ibmaix
ibmaix
ibmaix
ibmaix
sgiirix
sgiirix
sgiirix
sgiirix
sgiirix
sgiirix
sgiirix
sunsolaris
sunsunos
sunsunos
sunsunos
sunsunos

Detection & IOCsextracted from sources · hover to see the quote

port111
processrpc.ttdbserverd
command#define TTDBSERVERD_PROG 100083 #define TTDBSERVERD_VERS 1 #define TTDBSERVERD_ISERASE 7
command#define TT_DBSERVER_PROG 100083 #define TT_DBSERVER_VERS 1 #define _TT_P 7
snort
alert tcp $EXTERNAL_NET any -> $HOME_NET 111 (msg:"GPL RPC portmap ttdbserv request TCP"; flow:established,to_server; content:"|00 01 86 A0|"; depth:4; offset:16; content:"|00 00 00 03|"; within:4; distance:4; byte_jump:4,4,relative,align; byte_jump:4,4,relative,align; content:"|00 01 86 F3|"; within:4; content:"|00 00 00 00|"; depth:4; offset:8; reference:arachnids,24; reference:bugtraq,122; reference:bugtraq,3382; reference:cve,1999-0003; reference:cve,1999-0687; reference:cve,1999-1075; reference:cve,2001-0717; reference:url,www.cert.org/advisories/CA-2001-05.html; classtype:rpc-portmap-decode; sid:2101274; rev:20; metadata:created_at 2010_09_23, cve CVE_1999_0003, signature_severity Informational, updated_at 2024_03_08;)
snort
alert udp $EXTERNAL_NET any -> $HOME_NET 111 (msg:"GPL RPC portmap ttdbserv request UDP"; content:"|00 01 86 A0|"; depth:4; offset:12; content:"|00 00 00 03|"; within:4; distance:4; byte_jump:4,4,relative,align; byte_jump:4,4,relative,align; content:"|00 01 86 F3|"; within:4; content:"|00 00 00 00|"; depth:4; offset:4; reference:arachnids,24; reference:bugtraq,122; reference:bugtraq,3382; reference:cve,1999-0003; reference:cve,1999-0687; reference:cve,1999-1075; reference:cve,2001-0717; reference:url,www.cert.org/advisories/CA-2001-05.html; classtype:rpc-portmap-decode; sid:2100588; rev:18; metadata:created_at 2010_09_23, cve CVE_1999_0003, signature_severity Informational, updated_at 2019_07_26;)
snort
alert tcp $EXTERNAL_NET any -> $HOME_NET any (msg:"GPL RPC tooltalk TCP overflow attempt"; flow:established,to_server; content:"|00 01 86 F3|"; depth:4; offset:16; content:"|00 00 00 07|"; within:4; distance:4; byte_jump:4,4,relative,align; byte_jump:4,4,relative,align; byte_test:4,>,128,0,relative; content:"|00 00 00 00|"; depth:4; offset:8; reference:bugtraq,122; reference:cve,1999-0003; classtype:misc-attack; sid:2101965; rev:10; metadata:created_at 2010_09_23, cve CVE_1999_0003, confidence Medium, signature_severity Informational, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2024_03_08;)
bytes
|00 00 00 07|
  • Detect RPC portmap queries for the ToolTalk service (RPC program number 0x000186F3 / 100083) on TCP/UDP port 111; the exploit uses procedure 7 (ISERASE / _TT_P) with an oversized XDR string argument to trigger the stack overflow.
  • The overflow attempt is characterised by RPC procedure 7 (|00 00 00 07|) targeting program 100083 (|00 01 86 F3|) with a payload length exceeding 128 bytes — match byte_test:4,>,128 after the XDR string length field.
  • The IRIX exploit variant prepends ~20 KB of NOP sleds (4-byte MIPS NOP: \x24\x0f\x12\x34) before shellcode; large RPC payloads to port 111 or the ttdbserverd dynamic port containing this byte pattern are highly suspicious.
  • Monitor for the process rpc.ttdbserverd spawning child processes (e.g. /bin/sh) as root, which would indicate successful exploitation.
  • ·The ttdbserverd RPC service is typically launched from inetd, meaning it is respawned after each exploit attempt (and crash); a single failed connection or error reply does NOT indicate the attack was unsuccessful.
  • ·On Solaris, the exploit requires killing ttdbserverd before sending the overflow payload; a GETPORT/kill RPC call (procedure 15) to program 100083 immediately before the overflow attempt is a precursor indicator specific to Solaris targets.
  • ·The exploit supports both TCP and UDP transports; the Snort portmap rules cover both, but the overflow rule (sid:2101965) only covers TCP — a UDP variant of the overflow may evade TCP-only detection.
  • ·The -f/outfile option allows the attacker to craft the malicious RPC datagram offline and deliver it via an arbitrary TCP/telnet session rather than a standard RPC client, potentially bypassing RPC-aware detection that relies on proper RPC framing.
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.