TITLE: FreeBSD OPIE opiepasswd User Verification Vulnerability SECUNIA ADVISORY ID: SA19347 VERIFY ADVISORY: http://secunia.com/advisories/19347/ CRITICAL: Less critical IMPACT: Security Bypass, Privilege escalation WHERE: >From remote OPERATING SYSTEM: FreeBSD 6.x http://secunia.com/product/6778/ FreeBSD 5.x http://secunia.com/product/1132/ FreeBSD 4.x http://secunia.com/product/139/ DESCRIPTION: A vulnerability has been reported in FreeBSD, which can be exploited by malicious, local users to gain escalated privileges or by malicious users to bypass certain security restrictions. The vulnerability is caused due to the use of the "getlogin()" function by opiepasswd to identify the user it is running as. In certain cases, "getlogin()" may identify the user as "root" even when it is being run by an unprivileged user. This can exploited by an unprivileged user to configure OPIE authentication for the root user. Note: The vulnerability can potentially be exploited remotely if the system is configured with a CGI script that calls opiepasswd. The vulnerability has been reported in all FreeBSD versions. SOLUTION: Update FreeBSD or apply patch. Fixed versions: 2006-03-22 16:01:08 UTC (RELENG_6, 6.1-STABLE) 2006-03-22 16:01:38 UTC (RELENG_6_0, 6.0-RELEASE-p6) 2006-03-22 16:01:56 UTC (RELENG_5, 5.5-STABLE) 2006-03-22 16:02:17 UTC (RELENG_5_4, 5.4-RELEASE-p13) 2006-03-22 16:02:35 UTC (RELENG_5_3, 5.3-RELEASE-p28) 2006-03-22 16:02:49 UTC (RELENG_4, 4.11-STABLE) 2006-03-22 16:03:05 UTC (RELENG_4_11, 4.11-RELEASE-p16) 2006-03-22 16:03:25 UTC (RELENG_4_10, 4.10-RELEASE-p22) Patch for FreeBSD 4.10, 4.11, 5.3, 5.4, and 6.0: ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-06:12/opie.patch ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-06:12/opie.patch.asc PROVIDED AND/OR DISCOVERED BY: The vendor credits Mykola Zubach. ORIGINAL ADVISORY: ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-06:12.opie.asc ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/about_secunia_advisories/ Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------