HP-UX ftpd PAM Authentication Configuration Weakness Authentication Bypass

high Nessus Plugin ID 33899

Synopsis

The remote ftp server may allow remote privileged access.

Description

According to its banner, the version of the HP-UX FTP server running on the remote host is at a patch level before PHNE_38458. Such versions reportedly contain a vulnerability that in certain account configurations could be exploited by an anonymous remote attacker to gain privileged access.

Note that successful exploitation requires that pam is used for authenticating FTP users and that pam authentication passes when a user tries to log in while getpwnam returns NULL. This could occur, for example, if LDAP is used for pam authentication, the nsswitch.conf file does not include 'ldap' as a source for the 'passwd' database, and the attacker tries to log in with a username included in the LDAP directory.

Solution

Apply patch PHNE_38458 or later.

See Also

http://www.securityfocus.com/advisories/15189

ftp://us-ffs.external.hp.com/hp-ux_patches/s700_800/11.X/PHNE_38458.txt

http://permalink.gmane.org/gmane.comp.security.oss.general/831

Plugin Details

Severity: High

ID: 33899

File Name: hpux_ftpd_priv_escalation.nasl

Version: 1.16

Type: remote

Family: FTP

Published: 8/15/2008

Updated: 1/11/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 5.6

Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:C/A:C

Vulnerability Information

CPE: cpe:/o:hp:hp-ux

Exploit Ease: No known exploits are available

Reference Information

CVE: CVE-2008-1668

BID: 30666

CWE: 264

Secunia: 31471