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:
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 email@example.com
Subject: OPIE "__opiereadrec()" Off-by-One and "opielogin" Privilege Escalation
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.