RHEL 2.1 : pam (RHSA-2004:304)

medium Nessus Plugin ID 14310

Synopsis

The remote Red Hat host is missing one or more security updates.

Description

Updated pam packages that fix a security vulnerability are now available for Red Hat Enterprise Linux 2.1.

PAM (Pluggable Authentication Modules) is a system security tool that allows system administrators to set an authentication policy without having to recompile programs that handle authentication.

These updates fix a potential security problem present in the pam_wheel module. These updates correct a bug in the pam_lastlog module which prevented it from properly manipulating the /var/log/lastlog entry for users with very high user IDs.

The pam_wheel module is used to restrict access to a particular service based on group membership. If the pam_wheel module was used with the 'trust' option enabled, but without the 'use_uid' option, any local user would be able to spoof the username returned by getlogin().
The user could therefore gain access to a superuser account without supplying a password. In Red Hat Enterprise Linux 2.1, pam_wheel is not used by default. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2003-0388 to this issue.

When manipulating the entry in /var/log/lastlog, which corresponds to a given user, the pam_lastlog module calculates the location of the entry by multiplying the UID and the length of an entry in the file.
On some systems, the result of this calculation would mistakenly be truncated to 32 bits for users with sufficiently high UIDs.

All users of pam should upgrade to these updated packages, which resolve these issues.

Solution

Update the affected pam and / or pam-devel packages.

See Also

https://access.redhat.com/security/cve/cve-2003-0388

https://access.redhat.com/errata/RHSA-2004:304

Plugin Details

Severity: Medium

ID: 14310

File Name: redhat-RHSA-2004-304.nasl

Version: 1.29

Type: local

Agent: unix

Published: 8/18/2004

Updated: 1/14/2021

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.6

CVSS v2

Risk Factor: Medium

Base Score: 4.6

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

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:pam, p-cpe:/a:redhat:enterprise_linux:pam-devel, cpe:/o:redhat:enterprise_linux:2.1

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Patch Publication Date: 8/18/2004

Vulnerability Publication Date: 7/24/2003

Reference Information

CVE: CVE-2003-0388

RHSA: 2004:304