GLSA-200501-22 : poppassd_pam: Unauthorized password changing

This script is Copyright (C) 2005-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200501-22
(poppassd_pam: Unauthorized password changing)

Gentoo Linux developer Marcus Hanwell discovered that poppassd_pam
did not check that the old password was valid before changing
passwords. Our investigation revealed that poppassd_pam did not call
pam_authenticate before calling pam_chauthtok.

Impact :

A remote attacker could change the system password of any user,
including root. This leads to a complete compromise of the POP
accounts, and may also lead to a complete root compromise of the
affected server, if it also provides shell access authenticated using
system passwords.

Workaround :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200501-22.xml

Solution :

All poppassd_pam users should migrate to the new package called
poppassd_ceti:
# emerge --sync
# emerge --ask --oneshot --verbose '>=net-mail/poppassd_ceti-1.8.4'
Note: Portage will automatically replace the poppassd_pam
package by the poppassd_ceti package.

Risk factor :

Critical / CVSS Base Score : 10.0
(CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 16413 (gentoo_GLSA-200501-22.nasl)

Bugtraq ID:

CVE ID: CVE-2005-0002