Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Moderately critical

OPIE "__opiereadrec()" Off-by-One and "opielogin" Privilege Escalation Vulnerabilities

-

Release Date:  2010-05-27    Last Update:  2011-06-28    Views:  4,271

Secunia Advisory SA39966

Where:

From remote

Impact:

Privilege escalation, DoS, System access

Solution Status:

Unpatched

Software:

CVE Reference(s):

Description


Two vulnerabilities have been reported in OPIE, which can be exploited by malicious, local users to potentially gain escalated privileges and by malicious people to cause a DoS (Denial of Service) and potentially compromise a vulnerable system.

1) An off-by-one error within the "__opiereadrec()" function in readrec.c can be exploited to write a single NULL byte outside the bounds of a stack-based buffer.

Successful exploitation of this vulnerability requires access to a running OPIE capable service.

2) The "opielogin" SUID program does not check the return value of a "setuid()" function call, which may result in a user's shell being executed with privileges of the program's owner.

The vulnerabilities are reported in version 2.4. Other versions may also be affected.


Solution:
Restrict access to services using the library to trusted hosts only. Restrict access to the system to trusted users only.

Provided and/or discovered by:
1) Maksymilian Arciemowicz and Adam Zabrocki.
2) Sebastian Krahmer, SUSE security team.

Original Advisory:
Maksymilian Arciemowicz:
http://securityreason.com/achievement_securityalert/87

Adam Zabrocki:
http://blog.pi3.com.pl/?p=111

Sebastian Krahmer:
https://bugzilla.novell.com/show_bug.cgi?id=698772

Deep Links:
Links available to Secunia VIM customers

Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: OPIE "__opiereadrec()" Off-by-One and "opielogin" Privilege Escalation

No posts yet

-

You must be logged in to post a comment.



 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability