Secunia SmallBusiness
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA39966

OPIE "__opiereadrec()" Off-by-One and "opielogin" Privilege Escalation Vulnerabilities
Secunia Advisory SA39966
Secunia VIM 4.0 - Free Trial
Release Date 2010-05-27
Last Update 2011-06-28
   
Popularity 3,590 views
Comments 0 comments

Criticality level Moderately criticalModerately critical
Impact Privilege escalation
DoS
System access
Where From remote
Authentication level This information is available to Secunia VIM customers
   
Report reliability This information is available to Secunia VIM customers
Solution Status Unpatched
   
Systems affected This information is available to Secunia VIM customers
Approve distribution This information is available to Secunia VIM customers
Remediation status Secunia VIM
   
Software:
OPIE 2.x

Secunia CVSS Score This information is available to Secunia VIM Customers
CVE Reference(s) CVE-2010-1938 CVSS score available to Secunia VIM customers
CVE-2011-2490 CVSS score available to Secunia VIM customers
  

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.

Changelog
Further details available to Secunia VIM customers

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-2013 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability