Secunia Logo  
 
FreeBSD OPIE opiepasswd User Verification Vulnerability
Secunia Advisory: SA19347
Release Date: 2006-03-23
Popularity: 7,581 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. Drupal Project Module File Upload and Cross-Site Scripting // 94 views
2. Advanced Poll Multiple Vulnerabilities // 77 views
3. SAP GUI TabOne ActiveX Control Caption List Buffer Overflow // 74 views
4. SmbFTPD Long Command Processing Vulnerability // 62 views
5. Symantec Mail Security for SMTP Response Handling Denial of Service // 52 views
6. Drupal Project Issue Tracking Module Multiple Vulnerabilities // 41 views
7. Internet Explorer Data Binding Memory Corruption Vulnerability // 41 views
8. Debian update for iceape // 40 views
9. Cisco Global Site Selector DNS Request Denial of Service // 37 views
10. Joomla! "X_CMS_LIBRARY_PATH" Directory Traversal Vulnerability // 36 views