Vulnerabilities > CVE-2010-3187 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in IBM AIX

047910
CVSS 10.0 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
low complexity
ibm
CWE-119
critical
nessus
exploit available

Summary

Buffer overflow in ftpd in IBM AIX 5.3 and earlier allows remote attackers to execute arbitrary code via a long NLST command.

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Exploit-Db

  • descriptionAIX5l with FTP-Server Remote Root Hash Disclosure Exploit. CVE-2010-3187. Remote exploit for aix platform
    fileexploits/aix/remote/14409.pl
    idEDB-ID:14409
    last seen2016-02-01
    modified2010-07-18
    platformaix
    port
    published2010-07-18
    reporterkingcope
    sourcehttps://www.exploit-db.com/download/14409/
    titleAIX5l with FTP-Server Remote Root Hash Disclosure Exploit
    typeremote
  • descriptionIBM AIX 5l FTPd Remote DES Hash Exploit. CVE-2010-3187. Remote exploit for aix platform
    fileexploits/aix/remote/14456.c
    idEDB-ID:14456
    last seen2016-02-01
    modified2010-07-24
    platformaix
    port
    published2010-07-24
    reporterkingcope
    sourcehttps://www.exploit-db.com/download/14456/
    titleIBM AIX 5l FTPd Remote DES Hash Exploit
    typeremote

Nessus

  • NASL familyAIX Local Security Checks
    NASL idAIX_IZ83276.NASL
    descriptionThere is a buffer overflow vulnerability in the ftp server. By issuing an overly long NLST command, an attacker may cause a buffer overflow. The successful exploitation of this vulnerability allows a remote attacker to get the DES encrypted user hashes off the server if FTP is configured to allow write access using Anonymous account or another account that is available to the attacker. The following executable is vulnerable : /usr/sbin/ftpd.
    last seen2020-06-01
    modified2020-06-02
    plugin id63825
    published2013-01-24
    reporterThis script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/63825
    titleAIX 5.3 TL 12 : ftpd (IZ83276)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The text in the description was extracted from AIX Security
    # Advisory ftpd_advisory.asc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(63825);
      script_version("1.5");
      script_cvs_date("Date: 2019/09/16 14:12:55");
    
      script_cve_id("CVE-2010-3187");
    
      script_name(english:"AIX 5.3 TL 12 : ftpd (IZ83276)");
      script_summary(english:"Check for APAR IZ83276");
    
      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 ftp server. By issuing
    an overly long NLST command, an attacker may cause a buffer overflow. 
    
    The successful exploitation of this vulnerability allows a remote
    attacker to get the DES encrypted user hashes off the server if FTP is
    configured to allow write access using Anonymous account or another
    account that is available to the attacker.
    
    The following executable is vulnerable :
    
    /usr/sbin/ftpd."
      );
      # http://www.exploit-db.com/exploits/14456/
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.exploit-db.com/exploits/14456/"
      );
      # http://www.exploit-db.com/exploits/14409/
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.exploit-db.com/exploits/14409/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"http://aix.software.ibm.com/aix/efixes/security/ftpd_advisory.asc"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Install the appropriate interim fix."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/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:"exploited_by_malware", value:"true");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:ibm:aix:5.3");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2010/08/25");
      script_set_attribute(attribute:"patch_publication_date", value:"2010/08/25");
      script_set_attribute(attribute:"plugin_publication_date", value:"2013/01/24");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      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.3", ml:"12", patch:"IZ83276_12", package:"bos.net.tcp.client", minfilesetver:"5.3.12.0", maxfilesetver:"5.3.12.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");
    
  • NASL familyAIX Local Security Checks
    NASL idAIX_U838020.NASL
    descriptionThe remote host is missing AIX PTF U838020, which is related to the security of the package bos.net.tcp.client. There is a buffer overflow vulnerability in the ftp server. By issuing an overly long NLST command, an attacker may cause a buffer overflow. The successful exploitation of this vulnerability allows a remote attacker to get the DES encrypted user hashes off the server if FTP is configured to allow write access using Anonymous account or another account that is available to the attacker. The following executable is vulnerable : /usr/sbin/ftpd.
    last seen2020-06-01
    modified2020-06-02
    plugin id52171
    published2011-02-25
    reporterThis script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/52171
    titleAIX 5.3 TL 11 : bos.net.tcp.client (U838020)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were extracted
    # from AIX Security PTF U838020. The text itself is copyright (C)
    # International Business Machines Corp.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(52171);
      script_version ("1.8");
      script_cvs_date("Date: 2019/09/16 14:13:02");
    
      script_cve_id("CVE-2010-3187");
      script_bugtraq_id(41762);
      script_xref(name:"EDB-ID", value:"14409");
      script_xref(name:"EDB-ID", value:"14456");
    
      script_name(english:"AIX 5.3 TL 11 : bos.net.tcp.client (U838020)");
      script_summary(english:"Check for PTF U838020");
    
      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 U838020, which is related to the
    security of the package bos.net.tcp.client.
    
    There is a buffer overflow vulnerability in the ftp server. By issuing
    an overly long NLST command, an attacker may cause a buffer overflow. 
    
    The successful exploitation of this vulnerability allows a remote
    attacker to get the DES encrypted user hashes off the server if FTP is
    configured to allow write access using Anonymous account or another
    account that is available to the attacker.
    
    The following executable is vulnerable :
    
    /usr/sbin/ftpd."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"http://www-01.ibm.com/support/docview.wss?uid=isg1IZ83275"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"http://www-01.ibm.com/support/docview.wss?uid=isg1IZ90761"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"http://www-01.ibm.com/support/docview.wss?uid=isg1IZ90765"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"http://www-01.ibm.com/support/docview.wss?uid=isg1IZ91111"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Install the appropriate missing security-related fix."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
      script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
      script_set_attribute(attribute:"exploited_by_malware", value:"true");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:ibm:aix:5.3");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2010/08/20");
      script_set_attribute(attribute:"patch_publication_date", value:"2010/08/20");
      script_set_attribute(attribute:"plugin_publication_date", value:"2011/02/25");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      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:"530011", patch:"U838020", package:"bos.net.tcp.client.5.3.11.5") < 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");
    
  • NASL familyAIX Local Security Checks
    NASL idAIX_U838600.NASL
    descriptionThe remote host is missing AIX PTF U838600, which is related to the security of the package bos.net.tcp.client. There is a buffer overflow vulnerability in the ftp server. By issuing an overly long NLST command, an attacker may cause a buffer overflow. The successful exploitation of this vulnerability allows a remote attacker to get the DES encrypted user hashes off the server if FTP is configured to allow write access using Anonymous account or another account that is available to the attacker. The following executable is vulnerable : /usr/sbin/ftpd.
    last seen2020-06-01
    modified2020-06-02
    plugin id52217
    published2011-02-25
    reporterThis script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/52217
    titleAIX 5.3 TL 12 : bos.net.tcp.client (U838600)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were extracted
    # from AIX Security PTF U838600. The text itself is copyright (C)
    # International Business Machines Corp.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(52217);
      script_version ("1.8");
      script_cvs_date("Date: 2019/09/16 14:13:02");
    
      script_cve_id("CVE-2010-3187");
      script_bugtraq_id(41762);
      script_xref(name:"EDB-ID", value:"14409");
      script_xref(name:"EDB-ID", value:"14456");
    
      script_name(english:"AIX 5.3 TL 12 : bos.net.tcp.client (U838600)");
      script_summary(english:"Check for PTF U838600");
    
      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 U838600, which is related to the
    security of the package bos.net.tcp.client.
    
    There is a buffer overflow vulnerability in the ftp server. By issuing
    an overly long NLST command, an attacker may cause a buffer overflow. 
    
    The successful exploitation of this vulnerability allows a remote
    attacker to get the DES encrypted user hashes off the server if FTP is
    configured to allow write access using Anonymous account or another
    account that is available to the attacker.
    
    The following executable is vulnerable :
    
    /usr/sbin/ftpd."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"http://www-01.ibm.com/support/docview.wss?uid=isg1IZ83276"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"http://www-01.ibm.com/support/docview.wss?uid=isg1IZ90813"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"http://www-01.ibm.com/support/docview.wss?uid=isg1IZ90817"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"http://www-01.ibm.com/support/docview.wss?uid=isg1IZ91115"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Install the appropriate missing security-related fix."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
      script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
      script_set_attribute(attribute:"exploited_by_malware", value:"true");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:ibm:aix:5.3");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2010/08/20");
      script_set_attribute(attribute:"patch_publication_date", value:"2010/08/20");
      script_set_attribute(attribute:"plugin_publication_date", value:"2011/02/25");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      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:"530012", patch:"U838600", package:"bos.net.tcp.client.5.3.12.3") < 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");
    
  • NASL familyAIX Local Security Checks
    NASL idAIX_U838225.NASL
    descriptionThe remote host is missing AIX PTF U838225, which is related to the security of the package bos.net.tcp.client. There is a buffer overflow vulnerability in the ftp server. By issuing an overly long NLST command, an attacker may cause a buffer overflow. The successful exploitation of this vulnerability allows a remote attacker to get the DES encrypted user hashes off the server if FTP is configured to allow write access using Anonymous account or another account that is available to the attacker. The following executable is vulnerable : /usr/sbin/ftpd.
    last seen2020-06-01
    modified2020-06-02
    plugin id52182
    published2011-02-25
    reporterThis script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/52182
    titleAIX 5.3 TL 10 : bos.net.tcp.client (U838225)
  • NASL familyAIX Local Security Checks
    NASL idAIX_IZ83252.NASL
    descriptionThere is a buffer overflow vulnerability in the ftp server. By issuing an overly long NLST command, an attacker may cause a buffer overflow. The successful exploitation of this vulnerability allows a remote attacker to get the DES encrypted user hashes off the server if FTP is configured to allow write access using Anonymous account or another account that is available to the attacker. The following executable is vulnerable : /usr/sbin/ftpd.
    last seen2020-06-01
    modified2020-06-02
    plugin id63822
    published2013-01-24
    reporterThis script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/63822
    titleAIX 5.3 TL 9 : ftpd (IZ83252)
  • NASL familyAIX Local Security Checks
    NASL idAIX_IZ83274.NASL
    descriptionThere is a buffer overflow vulnerability in the ftp server. By issuing an overly long NLST command, an attacker may cause a buffer overflow. The successful exploitation of this vulnerability allows a remote attacker to get the DES encrypted user hashes off the server if FTP is configured to allow write access using Anonymous account or another account that is available to the attacker. The following executable is vulnerable : /usr/sbin/ftpd.
    last seen2020-06-01
    modified2020-06-02
    plugin id63823
    published2013-01-24
    reporterThis script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/63823
    titleAIX 5.3 TL 10 : ftpd (IZ83274)
  • NASL familyAIX Local Security Checks
    NASL idAIX_IZ83275.NASL
    descriptionThere is a buffer overflow vulnerability in the ftp server. By issuing an overly long NLST command, an attacker may cause a buffer overflow. The successful exploitation of this vulnerability allows a remote attacker to get the DES encrypted user hashes off the server if FTP is configured to allow write access using Anonymous account or another account that is available to the attacker. The following executable is vulnerable : /usr/sbin/ftpd.
    last seen2020-06-01
    modified2020-06-02
    plugin id63824
    published2013-01-24
    reporterThis script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/63824
    titleAIX 5.3 TL 11 : ftpd (IZ83275)

Oval

accepted2011-01-10T04:00:06.024-05:00
classvulnerability
contributors
nameVarun Narula
organizationHewlett-Packard
definition_extensions
commentIBM AIX 5300-09 is installed
ovaloval:org.mitre.oval:def:6306
descriptionBuffer overflow in ftpd in IBM AIX 5.3 and earlier allows remote attackers to execute arbitrary code via a long NLST command.
familyunix
idoval:org.mitre.oval:def:11697
statusaccepted
submitted2010-11-25T11:03:38.000-05:00
titleAIX ftpd buffer overflow vulnerability.
version44