GLSA-201309-15 : ProFTPD: Multiple vulnerabilities - Nessus

Critical   Plugin ID: 70111

This page contains detailed information about the GLSA-201309-15 : ProFTPD: Multiple vulnerabilities Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 70111
Name: GLSA-201309-15 : ProFTPD: Multiple vulnerabilities
Filename: gentoo_GLSA-201309-15.nasl
Vulnerability Published: N/A
This Plugin Published: 2013-09-25
Last Modification Time: 2021-01-06
Plugin Version: 1.10
Plugin Type: local
Plugin Family: Gentoo Local Security Checks
Dependencies: ssh_get_info.nasl
Required KB Items [?]: Host/Gentoo/qpkg-list, Host/Gentoo/release, Host/local_checks_enabled

Vulnerability Information


Severity: Critical
Vulnerability Published: N/A
Patch Published: 2013-09-24
CVE [?]: CVE-2009-3555, CVE-2010-3867, CVE-2010-4221, CVE-2010-4652, CVE-2011-1137, CVE-2011-4130, CVE-2012-6095, CVE-2013-4359
CPE [?]: cpe:/o:gentoo:linux, p-cpe:/a:gentoo:linux:proftpd

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-201309-15 (ProFTPD: Multiple vulnerabilities)

Multiple vulnerabilities have been discovered in ProFTPD. Please review the CVE identifiers referenced below for details. Impact :

A context-dependent attacker could possibly execute arbitrary code with the privileges of the process, perform man-in-the-middle attacks to spoof arbitrary SSL servers, cause a Denial of Service condition, or read and modify arbitrary files. Workaround :

There is no known workaround at this time.

Solution

All ProFTPD users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose '>=net-ftp/proftpd-1.3.4d'

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 GLSA-201309-15 : ProFTPD: Multiple vulnerabilities vulnerability:

  1. Metasploit: exploit/linux/ftp/proftp_telnet_iac
    [ProFTPD 1.3.2rc3 - 1.3.3b Telnet IAC Buffer Overflow (Linux)]
  2. Metasploit: exploit/freebsd/ftp/proftp_telnet_iac
    [ProFTPD 1.3.2rc3 - 1.3.3b Telnet IAC Buffer Overflow (FreeBSD)]
  3. Exploit-DB: exploits/multiple/remote/10579.py
    [EDB-10579: TLS - Renegotiation]
  4. Exploit-DB: exploits/linux/remote/16851.rb
    [EDB-16851: ProFTPd 1.3.2 rc3 < 1.3.3b (Linux) - Telnet IAC Buffer Overflow (Metasploit)]
  5. Exploit-DB: exploits/linux/remote/16878.rb
    [EDB-16878: ProFTPd 1.3.2 rc3 < 1.3.3b (FreeBSD) - Telnet IAC Buffer Overflow (Metasploit)]
  6. GitHub: https://github.com/GiJ03/ReconScan
    [CVE-2009-3555]
  7. GitHub: https://github.com/RedHatProductSecurity/CVE-HOWTO
    [CVE-2009-3555]
  8. GitHub: https://github.com/RoliSoft/ReconScan
    [CVE-2009-3555]
  9. GitHub: https://github.com/ekiojp/hanase
    [CVE-2009-3555]
  10. GitHub: https://github.com/galeone/letsencrypt-lighttpd
    [CVE-2009-3555]
  11. GitHub: https://github.com/issdp/test
    [CVE-2009-3555]
  12. GitHub: https://github.com/johnwchadwick/cve-2009-3555-test-server
    [CVE-2009-3555: A TLS server using a vendored fork of the Go TLS stack that has renegotation ...]
  13. GitHub: https://github.com/matoweb/Enumeration-Script
    [CVE-2009-3555]
  14. GitHub: https://github.com/withdk/pulse-secure-vpn-mitm-research
    [CVE-2009-3555]
  15. GitHub: https://github.com/tpez0/node-nmap-vulners
    [CVE-2010-3867]
  16. GitHub: https://github.com/5l1v3r1/0rion-Framework
    [CVE-2010-4221]
  17. GitHub: https://github.com/M31MOTH/cve-2010-4221
    [CVE-2010-4221: This exploit was written to study some concepts, enjoy!]
  18. GitHub: https://github.com/ankh2054/python-exploits
    [CVE-2010-4221]
  19. GitHub: https://github.com/mudongliang/LinuxFlaw/tree/master/CVE-2010-4221
    [CVE-2010-4221]
  20. GitHub: https://github.com/vasanth-tamil/ctf-writeups
    [CVE-2010-4221]
  21. GitHub: https://github.com/tpez0/node-nmap-vulners
    [CVE-2010-4652]
  22. GitHub: https://github.com/Drift-Security/Shadow_Brokers-Vs-NSA
    [CVE-2011-4130]
  23. GitHub: https://github.com/R3K1NG/ShadowBrokersFiles
    [CVE-2011-4130]
  24. GitHub: https://github.com/antiscammerarmy/ShadowBrokersFiles
    [CVE-2011-4130]
  25. GitHub: https://github.com/bl4ck4t/Tools
    [CVE-2011-4130]
  26. GitHub: https://github.com/cipherreborn/SB--.-HACK-the-EQGRP-1
    [CVE-2011-4130]
  27. GitHub: https://github.com/happysmack/x0rzEQGRP
    [CVE-2011-4130]
  28. GitHub: https://github.com/kongjiexi/leaked2
    [CVE-2011-4130]
  29. GitHub: https://github.com/maxcvnd/bdhglopoj
    [CVE-2011-4130]
  30. GitHub: https://github.com/r3p3r/x0rz-EQGRP
    [CVE-2011-4130]
  31. GitHub: https://github.com/shakenetwork/shadowbrokerstuff
    [CVE-2011-4130]
  32. GitHub: https://github.com/thePevertedSpartan/EQ1
    [CVE-2011-4130]
  33. GitHub: https://github.com/thetrentusdev/shadowbrokerstuff
    [CVE-2011-4130]
  34. GitHub: https://github.com/thetrentus/ShadowBrokersStuff
    [CVE-2011-4130]
  35. GitHub: https://github.com/tpez0/node-nmap-vulners
    [CVE-2011-4130]
  36. GitHub: https://github.com/wuvuw/EQGR
    [CVE-2011-4130]
  37. GitHub: https://github.com/x0rz/EQGRP
    [CVE-2011-4130]
  38. GitHub: https://github.com/vshaliii/Funbox2-rookie
    [CVE-2013-4359]

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:L/Au:N/C:C/I:C/A:C/E:F/RL:OF/RC:C
CVSS Base Score:10.0 (High)
Impact Subscore:10.0
Exploitability Subscore:10.0
CVSS Temporal Score:8.3 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:8.3 (High)

Go back to menu.

Plugin Source


This is the gentoo_GLSA-201309-15.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 descriptive text and package checks in this plugin were
# extracted from Gentoo Linux Security Advisory GLSA 201309-15.
#
# The advisory text is Copyright (C) 2001-2016 Gentoo Foundation, Inc.
# and licensed under the Creative Commons - Attribution / Share Alike 
# license. See http://creativecommons.org/licenses/by-sa/3.0/
#

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

if (description)
{
  script_id(70111);
  script_version("1.10");
  script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/06");

  script_cve_id("CVE-2009-3555", "CVE-2010-3867", "CVE-2010-4221", "CVE-2010-4652", "CVE-2011-1137", "CVE-2011-4130", "CVE-2012-6095", "CVE-2013-4359");
  script_bugtraq_id(36935, 44562, 44933, 46183, 50631, 57172, 62328);
  script_xref(name:"GLSA", value:"201309-15");

  script_name(english:"GLSA-201309-15 : ProFTPD: Multiple vulnerabilities");
  script_summary(english:"Checks for updated package(s) in /var/db/pkg");

  script_set_attribute(
    attribute:"synopsis", 
    value:
"The remote Gentoo host is missing one or more security-related
patches."
  );
  script_set_attribute(
    attribute:"description", 
    value:
"The remote host is affected by the vulnerability described in GLSA-201309-15
(ProFTPD: Multiple vulnerabilities)

    Multiple vulnerabilities have been discovered in ProFTPD. Please review
      the CVE identifiers referenced below for details.
  
Impact :

    A context-dependent attacker could possibly execute arbitrary code with
      the privileges of the process, perform man-in-the-middle attacks to spoof
      arbitrary SSL servers, cause a Denial of Service condition, or read and
      modify arbitrary files.
  
Workaround :

    There is no known workaround at this time."
  );
  script_set_attribute(
    attribute:"see_also",
    value:"https://security.gentoo.org/glsa/201309-15"
  );
  script_set_attribute(
    attribute:"solution", 
    value:
"All ProFTPD users should upgrade to the latest version:
      # emerge --sync
      # emerge --ask --oneshot --verbose '>=net-ftp/proftpd-1.3.4d'"
  );
  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:"exploit_framework_core", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'ProFTPD 1.3.2rc3 - 1.3.3b Telnet IAC Buffer Overflow (Linux)');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
  script_cwe_id(310);

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:gentoo:linux:proftpd");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:gentoo:linux");

  script_set_attribute(attribute:"patch_publication_date", value:"2013/09/24");
  script_set_attribute(attribute:"plugin_publication_date", value:"2013/09/25");
  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:"Gentoo Local Security Checks");

  script_dependencies("ssh_get_info.nasl");
  script_require_keys("Host/local_checks_enabled", "Host/Gentoo/release", "Host/Gentoo/qpkg-list");

  exit(0);
}


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

if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
if (!get_kb_item("Host/Gentoo/release")) audit(AUDIT_OS_NOT, "Gentoo");
if (!get_kb_item("Host/Gentoo/qpkg-list")) audit(AUDIT_PACKAGE_LIST_MISSING);


flag = 0;

if (qpkg_check(package:"net-ftp/proftpd", unaffected:make_list("ge 1.3.4d"), vulnerable:make_list("lt 1.3.4d"))) flag++;

if (flag)
{
  if (report_verbosity > 0) security_hole(port:0, extra:qpkg_report_get());
  else security_hole(0);
  exit(0);
}
else
{
  tested = qpkg_tests_get();
  if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
  else audit(AUDIT_PACKAGE_NOT_INSTALLED, "ProFTPD");
}

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

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

Go back to menu.

How to Run


Here is how to run the GLSA-201309-15 : ProFTPD: Multiple vulnerabilities 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 Gentoo Local Security Checks plugin family.
  6. On the right side table select GLSA-201309-15 : ProFTPD: Multiple vulnerabilities plugin ID 70111.
  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 gentoo_GLSA-201309-15.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a gentoo_GLSA-201309-15.nasl -t <IP/HOST>

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

/opt/nessus/bin/nasl -T - gentoo_GLSA-201309-15.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 gentoo_GLSA-201309-15.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: GLSA | Gentoo Linux Security Advisory: CWE | Common Weakness Enumeration:
  • CWE-310 (Category) Cryptographic Issues
See also: Similar and related Nessus plugins:
  • 63983 - RHEL 5 : IBM Java Runtime (RHSA-2011:0880)
  • 64662 - Debian DSA-2626-1 : lighttpd - several issues
  • 64842 - Oracle Java SE Multiple Vulnerabilities (March 2010 CPU) (Unix)
  • 64843 - Oracle Java SE Multiple Vulnerabilities (October 2010 CPU) (Unix)
  • 67073 - CentOS 3 / 5 : httpd (CESA-2009:1579)
  • 67074 - CentOS 4 : httpd (CESA-2009:1580)
  • 67958 - Oracle Linux 3 / 5 : httpd (ELSA-2009-1579)
  • 67959 - Oracle Linux 4 : httpd (ELSA-2009-1580)
  • 68016 - Oracle Linux 5 : openssl (ELSA-2010-0162)
  • 68017 - Oracle Linux 3 / 4 : openssl (ELSA-2010-0163)
  • 68018 - Oracle Linux 5 : openssl097a (ELSA-2010-0164)
  • 68019 - Oracle Linux 4 / 5 : nss (ELSA-2010-0165)
  • 68020 - Oracle Linux 5 : gnutls (ELSA-2010-0166)
  • 68021 - Oracle Linux 4 : gnutls (ELSA-2010-0167)
  • 68027 - Oracle Linux 3 / 4 : seamonkey (ELSA-2010-0333)
  • 68028 - Oracle Linux 5 : java-1.6.0-openjdk (ELSA-2010-0339)
  • 68117 - Oracle Linux 5 : java-1.6.0-openjdk (ELSA-2010-0768)
  • 70201 - Debian DSA-2767-1 : proftpd-dfsg - denial of service
  • 70300 - Mandriva Linux Security Advisory : proftpd (MDVSA-2013:245)
  • 70446 - ProFTPD TELNET IAC Escape Sequence Remote Buffer Overflow
  • 70997 - GLSA-201311-13 : OpenVPN: Multiple vulnerabilities
  • 73566 - AIX OpenSSL Advisory : ssl_advisory.asc
  • 74521 - openSUSE Security Update : proftpd (openSUSE-2011-19)
  • 75173 - openSUSE Security Update : proftpd (openSUSE-SU-2013:1563-1)
  • 75453 - openSUSE Security Update : compat-openssl097g (openSUSE-SU-2011:0845-1)
  • 75521 - openSUSE Security Update : gnutls (openSUSE-SU-2010:1025-1)
  • 75522 - openSUSE Security Update : gnutls (openSUSE-SU-2010:1025-2)
  • 75534 - openSUSE Security Update : java-1_6_0-openjdk (openSUSE-SU-2010:0957-1)
  • 75540 - openSUSE Security Update : java-1_6_0-sun (openSUSE-SU-2010:0754-1)
  • 75802 - openSUSE Security Update : compat-openssl097g (openSUSE-SU-2011:0845-1)
  • 76303 - GLSA-201406-32 : IcedTea JDK: Multiple vulnerabilities (BEAST) (ROBOT)
  • 78123 - F5 Networks BIG-IP : SSL Renegotiation vulnerability (SOL10737)
  • 79531 - OracleVM 2.2 : openssl (OVMSA-2014-0007)
  • 79532 - OracleVM 3.2 : onpenssl (OVMSA-2014-0008)

Version


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

Go back to menu.