CVE-2017-7418

medium

Description

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.

References

http://bugs.proftpd.org/show_bug.cgi?id=4295

http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00004.html

http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00022.html

http://www.securityfocus.com/bid/97409

https://github.com/proftpd/proftpd/commit/ecff21e0d0e84f35c299ef91d7fda088e516d4ed

https://github.com/proftpd/proftpd/commit/f59593e6ff730b832dbe8754916cb5c821db579f

https://github.com/proftpd/proftpd/pull/444/commits/349addc3be4fcdad9bd4ec01ad1ccd916c898ed8

Details

Source: MITRE

Published: 2017-04-04

Updated: 2019-08-08

Type: CWE-59

Risk Information

CVSS v2

Base Score: 2.1

Vector: AV:L/AC:L/Au:N/C:N/I:P/A:N

Impact Score: 2.9

Exploitability Score: 3.9

Severity: LOW

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Impact Score: 3.6

Exploitability Score: 1.8

Severity: MEDIUM