[Bug 1170165] New: AUDIT-FIND: enlightenment: enlightenment_system: `_cb_l2ping_ping()` performs an unbounded `sscanf()` on untrusted input data, allowing a stack buffer overflow
http://bugzilla.suse.com/show_bug.cgi?id=1170165 Bug ID: 1170165 Summary: AUDIT-FIND: enlightenment: enlightenment_system: `_cb_l2ping_ping()` performs an unbounded `sscanf()` on untrusted input data, allowing a stack buffer overflow Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Security Assignee: simonf.lees@suse.com Reporter: matthias.gerstner@suse.com QA Contact: qa-bugs@suse.de CC: matthias.gerstner@suse.com, security-team@suse.de Blocks: 1169238 Found By: --- Blocker: --- +++ This bug was initially created as a clone of Bug #1169238 d) `_cb_l2ping_ping()` performs an unbounded `sscanf()` on untrusted input data, allowing a stack buffer overflow A `sscanf()` call in this function passes a `%s` format for the `params` input parameter. The target buffer has a length of 1024 bytes. Thus if a clients passes a very long device name the setuid-root binary's stack will be overwritten. The parsing by `sscanf()` stops at whitespace characters thus the stack overflow data cannot be chosen arbitrarily. Still is a pretty dangerous security issue. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1170165 http://bugzilla.suse.com/show_bug.cgi?id=1170165#c1 --- Comment #1 from Simon Lees <simonf.lees@suse.com> --- Upstream: https://phab.enlightenment.org/T8673 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1170165 http://bugzilla.suse.com/show_bug.cgi?id=1170165#c2 --- Comment #2 from Simon Lees <simonf.lees@suse.com> --- Upstream fix commit: https://phab.enlightenment.org/rE6926d1d338fdead3258d322adf115708a9a1fa3e -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1170165 http://bugzilla.suse.com/show_bug.cgi?id=1170165#c3 Matthias Gerstner <matthias.gerstner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS --- Comment #3 from Matthias Gerstner <matthias.gerstner@suse.com> --- This fix was also simple. It's all right. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1170165 http://bugzilla.suse.com/show_bug.cgi?id=1170165#c4 Matthias Gerstner <matthias.gerstner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #4 from Matthias Gerstner <matthias.gerstner@suse.com> --- The fix made it into the 0.24 release. Closing this bug as fixed. -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com