Secunia Logo
Netsikker nu! 2008
 
FreeBSD OPIE opiepasswd User Verification Vulnerability
Secunia Advisory: SA19347
Release Date: 2006-03-23
Popularity: 7,283 views

Critical:
Less critical
Impact: Security Bypass
Privilege escalation
Where: From remote
Solution Status: Vendor Patch

OS:FreeBSD 4.x
FreeBSD 5.x
FreeBSD 6.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-1283


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


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. phpBB reveals user IPs // 71 views
2. Oracle Products Multiple Vulnerabilities // 63 views
3. Sun Solaris "sadmind" Buffer Overflow Vulnerability // 50 views
4. BEA WebLogic Server Multiple Vulnerabilities // 46 views
5. VLC Media Player XSPF Processing Memory Corruption Vulnerability // 41 views
6. BEA WebLogic Server Multiple Authorizers Security Bypass // 39 views
7. BEA WebLogic Workshop NetUI Pageflow Information Disclosure Vulnerability // 37 views
8. BEA WebLogic Workshop NetUI Tags Information Disclosure Vulnerability // 36 views
9. WordPress WP Comment Remix Plugin Multiple Vulnerabilities // 33 views
10. MyPHPDating "id" SQL Injection Vulnerability // 32 views