OpenBSD up to and including 6.6 allows local users to escalate to root because a check for LD_LIBRARY_PATH in setuid programs can be defeated by setting a very small RLIMIT_DATA resource limit. When executing chpass or passwd (which are setuid root), _dl_setup_env in ld.so tries to strip LD_LIBRARY_PATH from the environment, but fails when it cannot allocate memory. Thus, the attacker is able to execute their own library code as root.
Vulnerable Product | Search on Vulmon | Subscribe to Product |
---|---|---|
openbsd openbsd |
Your quick summary of infosec news beyond everything else we've reported
Roundup Here's your Register security roundup of infosec news about stuff that's unfit for production but fit for print. Another week, another OpenBSD patch. You're not having deja vu. This time, it's CVE-2019-19726, a local elevation of privilege flaw that could let users grant themselves root clearance. The bug was discovered by researchers at Qualys, and has been patched prior to public disclosure. "We discovered a Local Privilege Escalation in OpenBSD's dynamic loader (ld.so)," the report re...