AIX 5.2 TL 0 : libtt (IZ52842) - Nessus

High   Plugin ID: 64332

This page contains detailed information about the AIX 5.2 TL 0 : libtt (IZ52842) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 64332
Name: AIX 5.2 TL 0 : libtt (IZ52842)
Filename: aix_IZ52842.nasl
Vulnerability Published: 2009-06-17
This Plugin Published: 2013-01-30
Last Modification Time: 2021-01-04
Plugin Version: 1.4
Plugin Type: local
Plugin Family: AIX Local Security Checks
Dependencies: ssh_get_info.nasl
Required KB Items [?]: Host/AIX/lslpp, Host/AIX/version, Host/local_checks_enabled

Vulnerability Information


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

Synopsis

The remote AIX host is missing a security patch.

Description

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 interim 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 5.2 TL 0 : libtt (IZ52842) 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_IZ52842.nasl nessus plugin source code. This script is Copyright (C) 2013-2021 Tenable Network Security, Inc.

#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
# The text in the description was extracted from AIX Security
# Advisory libtt_advisory.asc.
#

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

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

  script_cve_id("CVE-2009-2727");

  script_name(english:"AIX 5.2 TL 0 : libtt (IZ52842)");
  script_summary(english:"Check for APAR IZ52842");

  script_set_attribute(
    attribute:"synopsis", 
    value:"The remote AIX host is missing a security patch."
  );
  script_set_attribute(
    attribute:"description", 
    value:
"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://aix.software.ibm.com/aix/efixes/security/libtt_advisory.asc"
  );
  script_set_attribute(
    attribute:"solution", 
    value:"Install the appropriate interim 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:5.2");

  script_set_attribute(attribute:"vuln_publication_date", value:"2009/06/17");
  script_set_attribute(attribute:"patch_publication_date", value:"2009/06/17");
  script_set_attribute(attribute:"plugin_publication_date", value:"2013/01/30");
  script_end_attributes();

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

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

  exit(0);
}



include("audit.inc");
include("global_settings.inc");
include("aix.inc");
include("misc_func.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);

if ( get_kb_item("Host/AIX/emgr_failure" ) ) exit(0, "This iFix check is disabled because : "+get_kb_item("Host/AIX/emgr_failure") );

flag = 0;

if (aix_check_ifix(release:"5.2", ml:"00", patch:"IZ52842_10", package:"X11.Dt.ToolTalk", minfilesetver:"5.2.0.105", maxfilesetver:"5.2.0.105") < 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_IZ52842.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\aix_IZ52842.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/aix_IZ52842.nasl

Go back to menu.

How to Run


Here is how to run the AIX 5.2 TL 0 : libtt (IZ52842) 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 5.2 TL 0 : libtt (IZ52842) plugin ID 64332.
  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_IZ52842.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

/opt/nessus/bin/nasl -T - aix_IZ52842.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_IZ52842.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:
  • 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)
  • 41917 - AIX 6.1 : X11.Dt.ToolTalk (U828611)
  • 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_IZ52842.nasl version 1.4. For more plugins, visit the Nessus Plugin Library.

Go back to menu.