J-Security Center

Title: ProFTPD Client Hostname Resolving Vulnerability

Severity: MODERATE

Description:

ProFTPD is a popular FTP server that ships with numerous Unix and Linux variants.

ProFTPD contains a vulnerability that may allow for remote attackers to bypass ProFTPD access control lists (ACLs) or have false information logged.

When 'UseReverseDNS' mode is set in the configuration file, ProFTPD will attempt to 'reverse resolve' the hostnames of clients connecting. The resolved hostname will then be evaluated against the ACLs and recorded as the client address in the logs. Unfortunately, ProFTPD does not forward resolve the hostname to verify that one of the IP addresses listed in DNS records matches that of the connected client.

It may be possible for a remote attacker with control over address space to set an arbitrary hostname as the PTR record for the attacking address. When the attacker connects, ProFTPD will resolve the attacker-specified hostname and will evaluate it against it's hostname-based ACLs. If the attacker is aware of permitted hostnames, it may be possible to bypass ACL restrictions and login by exploiting this vulnerability. The ProFTPD logs will also record the reverse-resolved hostname.

Affected Products:

  • Cobalt Qube 2.0.0
  • Cobalt Qube 3.0.0
  • Cobalt RaQ 1.1.0
  • Cobalt RaQ 2.0.0
  • Cobalt RaQ 3.0.0
  • Conectiva Linux 5.0.0
  • Conectiva Linux 5.1.0
  • Conectiva Linux 6.0.0
  • Conectiva Linux 7.0.0
  • Conectiva Linux ecommerce
  • Conectiva Linux graficas
  • MandrakeSoft Linux Mandrake 7.2.0
  • MandrakeSoft Linux Mandrake 8.0.0
  • MandrakeSoft Linux Mandrake 8.0.0 ppc
  • MandrakeSoft Linux Mandrake 8.1.0
  • MandrakeSoft Linux Mandrake 8.1.0 ia64
  • ProFTPD Project ProFTPD 1.2.0
  • ProFTPD Project ProFTPD 1.2.0.0rc3
  • ProFTPD Project ProFTPD 1.2.0pre1
  • ProFTPD Project ProFTPD 1.2.0pre10
  • ProFTPD Project ProFTPD 1.2.0pre11
  • ProFTPD Project ProFTPD 1.2.0pre2
  • ProFTPD Project ProFTPD 1.2.0pre3
  • ProFTPD Project ProFTPD 1.2.0pre4
  • ProFTPD Project ProFTPD 1.2.0pre5
  • ProFTPD Project ProFTPD 1.2.0pre6
  • ProFTPD Project ProFTPD 1.2.0pre7
  • ProFTPD Project ProFTPD 1.2.0pre8
  • ProFTPD Project ProFTPD 1.2.0pre9
  • ProFTPD Project ProFTPD 1.2.1
  • ProFTPD Project ProFTPD 1.2.2
  • ProFTPD Project ProFTPD 1.2.2rc1
  • ProFTPD Project ProFTPD 1.2.2rc3

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.