Lucene search
K

ProFTPD < 1.3.5e / 1.3.6x < 1.3.6rc5 AllowChrootSymlinks bypass

🗓️ 12 Feb 2018 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 73 Views

The remote FTP server is affected by a mitigation bypass vulnerabilit

Related
Refs
Code
ReporterTitlePublishedViews
Family
ALT Linux
Security fix for the ALT Linux 8 package proftpd version 1.3.5-alt4.rel.e
2 Jan 201800:00
altlinux
FreeBSD
proftpd -- user chroot escape vulnerability
6 Mar 201700:00
freebsd
CNVD
ProFTPD Local Security Bypass Vulnerability
6 Apr 201700:00
cnvd
CVE
CVE-2017-7418
4 Apr 201717:00
cve
Cvelist
CVE-2017-7418
4 Apr 201717:00
cvelist
Debian CVE
CVE-2017-7418
4 Apr 201717:00
debiancve
EUVD
EUVD-2017-16442
7 Oct 202500:30
euvd
Fedora
[SECURITY] Fedora 25 Update: proftpd-1.3.5e-1.fc25
19 Apr 201709:32
fedora
Fedora
[SECURITY] Fedora 24 Update: proftpd-1.3.5e-1.fc24
18 Apr 201716:50
fedora
Fedora
[SECURITY] Fedora 26 Update: proftpd-1.3.5e-1.fc26
14 Apr 201717:23
fedora
Rows per page
#
# (C) Tenable Network Security, Inc.
#

include('compat.inc');

if (description)
{
  script_id(106756);
  script_version("1.3");
  script_set_attribute(attribute:"plugin_modification_date", value:"2025/10/29");

  script_cve_id("CVE-2017-7418");
  script_bugtraq_id(97409);

  script_name(english:"ProFTPD < 1.3.5e / 1.3.6x < 1.3.6rc5 AllowChrootSymlinks bypass");

  script_set_attribute(attribute:"synopsis", value:
"The remote FTP server is affected by a mitigation bypass vulnerability.");
  script_set_attribute(attribute:"description", value:
"The remote host is using ProFTPD, a free FTP server for Unix and
Linux.
According to its banner, the version of ProFTPD installed on the
remote host is prior to 1.3.5e or 1.3.6x prior to 1.3.6rc5
and is affected by an issue where an attacker who is not granted 
full filesystem access may reconfigure the home directory of an 
FTP user.");
  script_set_attribute(attribute:"see_also", value:"http://bugs.proftpd.org/show_bug.cgi?id=4295");
  script_set_attribute(attribute:"solution", value:
"Upgrade to ProFTPD version 1.3.5e / 1.3.6rc5 or later.");
  script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:N/C:N/I:P/A:N");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2017-7418");

  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");

  script_set_attribute(attribute:"vuln_publication_date", value:"2017/03/06");
  script_set_attribute(attribute:"patch_publication_date", value:"2017/04/10");
  script_set_attribute(attribute:"plugin_publication_date", value:"2018/02/12");

  script_set_attribute(attribute:"potential_vulnerability", value:"true");
  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:proftpd:proftpd");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"FTP");

  script_copyright(english:"This script is Copyright (C) 2018-2025 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("ftp_overflow.nasl", "ftpserver_detect_type_nd_version.nasl");
  script_require_keys("ftp/proftpd", "Settings/ParanoidReport");
  script_require_ports("Services/ftp", 21);

  exit(0);
}

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

if (report_paranoia < 2) audit(AUDIT_PARANOID);

port = get_ftp_port(default: 21, broken:TRUE);

app = "ProFTPD";
banner = get_ftp_banner(port:port);
if (!banner) audit(AUDIT_NO_BANNER, port);
if (app >!< banner) audit(AUDIT_NOT_DETECT, app, port);

matches = pregmatch(string:banner, pattern:"ProFTPD ([0-9a-z.]+) ");
if (isnull(matches)) audit(AUDIT_SERVICE_VER_FAIL, app, port);
version = matches[1];

if (version =~ '^1(\\.3)?$') audit(AUDIT_VER_NOT_GRANULAR, app, version);

if (
  version =~ "^0($|\.)" ||
  version =~ "^1\.[0-2]($|\.)" ||
  version =~ "^1\.3\.[1234]($|[^0-9])" ||
  version =~ "^1\.3\.5(rc[1-9]|[abcd])?($|[^0-9e-z])" ||
  version =~ "^1\.3\.6(rc[1234])?($|[^0-9a-z])"
)
{
  report =
    '\n  Version source    : ' + chomp(banner) +
    '\n  Installed version : ' + version +
    '\n  Fixed version     : 1.3.5e / 1.3.6rc5\n';
  security_report_v4(severity:SECURITY_NOTE, port:port, extra:report);
  exit(0);
}
else audit(AUDIT_LISTEN_NOT_VULN, app, port, version);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

29 Oct 2025 00:00Current
6.1Medium risk
Vulners AI Score6.1
CVSS 22.1
CVSS 35.5
EPSS0.00039
73