Symlink Attack Affecting proftpd/proftpd package, versions [,1.3.6)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-PROFTPDPROFTPD-2367271
  • published26 Jan 2022
  • disclosed4 Apr 2017
  • creditUnknown

Introduced: 4 Apr 2017

CVE-2017-7418  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade proftpd/proftpd to version 1.3.6 or higher.

Overview

Affected versions of this package are vulnerable to Symlink Attack. ProFTPD before 1.3.5e and 1.3.6 before 1.3.6rc5 controls whether the home directory of a user could contain a symbolic link through the AllowChrootSymlinks configuration option, but checks only the last path component when enforcing AllowChrootSymlinks. Attackers with local access could bypass the AllowChrootSymlinks control by replacing a path component (other than the last one) with a symbolic link. The threat model includes an attacker who is not granted full filesystem access by a hosting provider, but can reconfigure the home directory of an FTP user.

CVSS Scores

version 3.1