php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /php-7.1.11/ext/spl/tests/ |
files >> //php-7.1.11/ext/spl/tests/bug70168.phpt |
--TEST-- SPL: Bug #70168 Use After Free Vulnerability in unserialize() with SplObjectStorage --FILE-- <?php $inner = 'x:i:1;O:8:"stdClass":0:{};m:a:0:{}'; $exploit = 'a:2:{i:0;C:16:"SplObjectStorage":'.strlen($inner).':{'.$inner.'}i:1;R:3;}'; $data = unserialize($exploit); for($i = 0; $i < 5; $i++) { $v[$i] = 'hi'.$i; } var_dump($data); ?> ===DONE=== --EXPECTF-- array(2) { [0]=> object(SplObjectStorage)#%d (1) { ["storage":"SplObjectStorage":private]=> array(1) { ["%s"]=> array(2) { ["obj"]=> object(stdClass)#2 (0) { } ["inf"]=> NULL } } } [1]=> int(1) } ===DONE===y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`