FreeBSD OPIE opiepasswd(1) unauthorized privilege escalation
| bsd-opie-unauthorized-privileges (25397) |
Description:
OPIE could allow a local attacker to gain elevated privileges on the system. In certain cases when a user calls opiepasswd to set up authentication for OPIE, the getlogin(2) command could return root privileges even if the user is unprivileged. This could be exploited by local unprivileged attackers to gain root privileges on the system.
Consequences:
Gain Privileges
Remedy:
Refer to FreeBSD Security Advisory FreeBSD-SA-06:12.opie for patch, upgrade, or suggested workaround information. See References.
References:
- FreeBSD Security Advisory FreeBSD-SA-06:12.opie: OPIE arbitrary password change .
- BID-17194: OPIE Arbitrary Account Password Change Vulnerability
- CVE-2006-1283: opiepasswd in One-Time Passwords in Everything (OPIE) in FreeBSD 4.10-RELEASE-p22 through 6.1-STABLE before 20060322 uses the getlogin function to determine the invoking user account, which might allow local users to configure OPIE access to the root account and possibly gain root privileges if a root shell is permitted by the configuration of the wheel group or sshd.
- OSVDB ID: 24067: FreeBSD OPIE opiepasswd getlogin(2) Privilege Escalation
- SA19347: FreeBSD OPIE opiepasswd User Verification Vulnerability
- SECTRACK ID: 1015817: OPIE on FreeBSD May Let Local Users Modify the Configuration or Remote Users Gain Root Access
Platforms Affected:
- FreeBSD FreeBSD
Reported:
Mar 22, 2006
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
