AIX 6.1 : X11.Dt.ToolTalk (U828611) - Nessus

High   Plugin ID: 41917

This page contains detailed information about the AIX 6.1 : X11.Dt.ToolTalk (U828611) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 41917
Name: AIX 6.1 : X11.Dt.ToolTalk (U828611)
Filename: aix_U828611.nasl
Vulnerability Published: 2009-06-08
This Plugin Published: 2009-09-29
Last Modification Time: 2021-01-04
Plugin Version: 1.6
Plugin Type: local
Plugin Family: AIX Local Security Checks
Dependencies: ssh_get_info.nasl
Required KB Items [?]: Host/AIX/lslpp, Host/AIX/oslevel, Host/AIX/version, Host/local_checks_enabled

Vulnerability Information


Severity: High
Vulnerability Published: 2009-06-08
Patch Published: 2009-06-08
CVE [?]: CVE-2009-2727
CPE [?]: cpe:/o:ibm:aix:6.1

Synopsis

The remote AIX host is missing a vendor-supplied security patch.

Description

The remote host is missing AIX PTF U828611, which is related to the security of the package X11.Dt.ToolTalk.

There is a buffer overflow vulnerability in the ToolTalk library libtt.a. A remote attacker can exploit this vulnerability when the rpc.ttdbserver is enabled in /etc/inetd.conf.

The successful exploitation of this vulnerability allows a remote attacker to execute arbitrary code as the root user.

The following libraries and executables are vulnerable :

/usr/dt/lib/libtt.a /usr/dt/bin/rpc.ttdbserver.

Solution

Install the appropriate missing security-related fix.

Public Exploits


Target Network Port(s): N/A
Target Asset(s): N/A
Exploit Available: True (Metasploit Framework, Exploit-DB, GitHub, Core Impact)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the AIX 6.1 : X11.Dt.ToolTalk (U828611) vulnerability:

  1. Metasploit: exploit/aix/rpc_ttdbserverd_realpath
    [ToolTalk rpc.ttdbserverd _tt_internal_realpath Buffer Overflow (AIX)]
  2. Exploit-DB: exploits/aix/remote/16930.rb
    [EDB-16930: ToolTalk - rpc.ttdbserverd _tt_internal_realpath Buffer Overflow (AIX) (Metasploit)]
  3. GitHub: https://github.com/rcvalle/vulnerabilities
    [CVE-2009-2727]

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS V2 Vector [?]: AV:N/AC:M/Au:N/C:C/I:C/A:C
CVSS Base Score:9.3 (High)
Impact Subscore:10.0
Exploitability Subscore:8.6
CVSS Temporal Score:NA (None)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:9.3 (High)

Go back to menu.

Plugin Source


This is the aix_U828611.nasl nessus plugin source code. This script is Copyright (C) 2009-2021 Tenable Network Security, Inc.

#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
# The descriptive text and package checks in this plugin were extracted
# from AIX Security PTF U828611. The text itself is copyright (C)
# International Business Machines Corp.
#

include('deprecated_nasl_level.inc');
include('compat.inc');

if (description)
{
  script_id(41917);
  script_version("1.6");
  script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/04");

  script_cve_id("CVE-2009-2727");

  script_name(english:"AIX 6.1 : X11.Dt.ToolTalk (U828611)");
  script_summary(english:"Check for PTF U828611");

  script_set_attribute(
    attribute:"synopsis", 
    value:"The remote AIX host is missing a vendor-supplied security patch."
  );
  script_set_attribute(
    attribute:"description", 
    value:
"The remote host is missing AIX PTF U828611, which is related to the
security of the package X11.Dt.ToolTalk.

There is a buffer overflow vulnerability in the ToolTalk library
libtt.a. A remote attacker can exploit this vulnerability when the
rpc.ttdbserver is enabled in /etc/inetd.conf. 

The successful exploitation of this vulnerability allows a remote
attacker to execute arbitrary code as the root user.

The following libraries and executables are vulnerable :

/usr/dt/lib/libtt.a /usr/dt/bin/rpc.ttdbserver."
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://www-01.ibm.com/support/docview.wss?uid=isg1IZ52848"
  );
  script_set_attribute(
    attribute:"solution", 
    value:"Install the appropriate missing security-related fix."
  );
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"exploit_framework_core", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'ToolTalk rpc.ttdbserverd _tt_internal_realpath Buffer Overflow (AIX)');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
  script_cwe_id(119);

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:ibm:aix:6.1");

  script_set_attribute(attribute:"vuln_publication_date", value:"2009/06/08");
  script_set_attribute(attribute:"patch_publication_date", value:"2009/06/08");
  script_set_attribute(attribute:"plugin_publication_date", value:"2009/09/29");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_copyright(english:"This script is Copyright (C) 2009-2021 Tenable Network Security, Inc.");
  script_family(english:"AIX Local Security Checks");

  script_dependencies("ssh_get_info.nasl");
  script_require_keys("Host/local_checks_enabled", "Host/AIX/oslevel", "Host/AIX/version", "Host/AIX/lslpp");

  exit(0);
}



include("audit.inc");
include("global_settings.inc");
include("aix.inc");

if ( ! get_kb_item("Host/local_checks_enabled") ) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
if ( ! get_kb_item("Host/AIX/version") ) audit(AUDIT_OS_NOT, "AIX");
if ( ! get_kb_item("Host/AIX/lslpp") ) audit(AUDIT_PACKAGE_LIST_MISSING);

flag = 0;

if ( aix_check_patch(ml:"610000", patch:"U828611", package:"X11.Dt.ToolTalk.6.1.0.1") < 0 ) flag++;

if (flag)
{
  if (report_verbosity > 0) security_hole(port:0, extra:aix_report_get());
  else security_hole(0);
  exit(0);
}
else audit(AUDIT_HOST_NOT, "affected");

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/aix_U828611.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\aix_U828611.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/aix_U828611.nasl

Go back to menu.

How to Run


Here is how to run the AIX 6.1 : X11.Dt.ToolTalk (U828611) as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select AIX Local Security Checks plugin family.
  6. On the right side table select AIX 6.1 : X11.Dt.ToolTalk (U828611) plugin ID 41917.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl aix_U828611.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a aix_U828611.nasl -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - aix_U828611.nasl -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state aix_U828611.nasl -t <IP/HOST>

Go back to menu.

References


CWE | Common Weakness Enumeration:
  • CWE-119 (Weakness) Improper Restriction of Operations within the Bounds of a Memory Buffer
See also: Similar and related Nessus plugins:
  • 64332 - AIX 5.2 TL 0 : libtt (IZ52842)
  • 64333 - AIX 5.3 TL 0 : libtt (IZ52843)
  • 64334 - AIX 5.3 TL 7 : libtt (IZ52844)
  • 64335 - AIX 5.3 TL 8 : libtt (IZ52845)
  • 64336 - AIX 5.3 TL 9 : libtt (IZ52846)
  • 64337 - AIX 6.1 TL 0 : libtt (IZ52848)
  • 64338 - AIX 6.1 TL 1 : libtt (IZ52849)
  • 64339 - AIX 6.1 TL 2 : libtt (IZ52850)
  • 64340 - AIX 6.1 TL 3 : libtt (IZ52851)
  • 39829 - AIX 5.2 TL 10 : X11.Dt.ToolTalk (U827247)
  • 41753 - AIX 6.1 TL 2 : X11.Dt.ToolTalk (U828317)
  • 43473 - AIX 6.1 TL 3 : X11.Dt.ToolTalk (U828448)
  • 41881 - AIX 6.1 TL 1 : X11.Dt.ToolTalk (U828561)
  • 44282 - AIX 5.3 TL 10 : X11.Dt.ToolTalk (U829313)
  • 42636 - AIX 5.3 TL 9 : X11.Dt.ToolTalk (U829416)
  • 42705 - AIX 5.3 TL 8 : X11.Dt.ToolTalk (U829533)
  • 42755 - AIX 5.3 TL 7 : X11.Dt.ToolTalk (U829609)

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file aix_U828611.nasl version 1.6. For more plugins, visit the Nessus Plugin Library.

Go back to menu.