Possible stack corruption with WebGL shaders
Originally disclosed on Mozilla
- Fixed in 5 months
- Paid in 3 months
- Disclosed after 5 months
Created attachment 8654514
testcase.html
User Agent: Mozilla/5.0 (X11; Linux i686; rv:43.0) Gecko/20100101 Firefox/43.0
Build ID: 20150828123452
Steps to reproduce:
Test on:
OS: Linux Ubuntu 14.04 LTS x86
memory: 2GB
Processor: Intel® Core™ i5-2400 CPU @ 3.10GHz × 4
Firefox build: 43.0a1 (2015-08-28) Firefox nightly
Load testcase.html
Actual results:
Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 0xafbffb40 (LWP 5040)]
0xb7fdd424 in ?? ()
(gdb)
(gdb)
(gdb)
(gdb) Done sleeping...
(gdb) bt
#0 0xb7fdd424 in ?? ()
#1 0xb1989a0a in ?? () from /home/hidan/ff/firefox/libxul.so
#2 0xb197327c in ?? () from /home/hidan/ff/firefox/libxul.so
#3 0xb1978963 in ?? () from /home/hidan/ff/firefox/libxul.so
#4 0xb1978af7 in ?? () from /home/hidan/ff/firefox/libxul.so
#5 0xb19729c4 in ?? () from /home/hidan/ff/firefox/libxul.so
#6 0xb1973b18 in ?? () from /home/hidan/ff/firefox/libxul.so
#7 0xb1973b3e in ?? () from /home/hidan/ff/firefox/libxul.so
#8 0xb197c6cc in ?? () from /home/hidan/ff/firefox/libxul.so
#9 0xb1978fe8 in ?? () from /home/hidan/ff/firefox/libxul.so
#10 0xb7faff70 in start_thread (arg=0xafbffb40) at pthread_create.c:312
#11 0xb7d8b70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129
(gdb) i r
eax 0xffffffe0 -32
ecx 0xafbfebf0 -1346376720
edx 0xb6617d60 -1235124896
ebx 0x10 16
esp 0xafbfebd8 0xafbfebd8
ebp 0xafbff058 0xafbff058
esi 0x0 0
edi 0xafbfec4c -1346376628
eip 0xb7fdd424 0xb7fdd424
eflags 0x200293 [ CF AF SF IF ID ]
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
(gdb) exploitable
Description: Possible stack corruption
Short description: PossibleStackCorruption (7/22)
Hash: 0e927d7f07bff32e2ed81d34aef68ae9.5a355df4001f81c4ed3369028d229b6d
Exploitability Classification: EXPLOITABLE
Explanation: GDB generated an error while unwinding the stack and/or the stack contained return addresses that were not mapped in the inferior's process address space and/or the stack pointer is pointing to a location outside the default stack region. These conditions likely indicate stack corruption, which is generally considered exploitable.
Other tags: UncategorizedSignal (22/22)
(gdb) where
#0 0xb7fdd424 in ?? ()
#1 0xb1989a0a in ?? () from /home/hidan/ff/firefox/libxul.so
#2 0xb197327c in ?? () from /home/hidan/ff/firefox/libxul.so
#3 0xb1978963 in ?? () from /home/hidan/ff/firefox/libxul.so
#4 0xb1978af7 in ?? () from /home/hidan/ff/firefox/libxul.so
#5 0xb19729c4 in ?? () from /home/hidan/ff/firefox/libxul.so
#6 0xb1973b18 in ?? () from /home/hidan/ff/firefox/libxul.so
#7 0xb1973b3e in ?? () from /home/hidan/ff/firefox/libxul.so
#8 0xb197c6cc in ?? () from /home/hidan/ff/firefox/libxul.so
#9 0xb1978fe8 in ?? () from /home/hidan/ff/firefox/libxul.so
#10 0xb7faff70 in start_thread (arg=0xafbffb40) at pthread_create.c:312
#11 0xb7d8b70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A medium-severity security bug in Graphics: CanvasWebGL. Mozilla made it public on 14 January 2016 as CVE-2016-1956.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.