bo-blog2.0.3文件浏览漏洞

- AV AC AU C I A
发布: 2025-04-13
修订: 2025-04-13

O-blog2.0.3的编辑器存在一个文件浏览漏洞,存在漏洞文件在于whizzylink.php和whizzypic.php,不过前一个可以浏览任意文件和目录,后一个只能浏览目录和图片,并能查看图片<br /> <br /> $docpath = $_REQUEST['d'];<br /> $extensions = $_REQUEST['x'] ? '/(' . $_REQUEST['x'] .')$/i' : '/\.(html|pdf|txt)$/i';<br /> $d = $_SERVER['DOCUMENT_ROOT'] . '/' . $docpath;<br /> $d = str_replace('//','/',$d);<br /> $dir = opendir($d);<br /> while ($file = readdir($dir)){<br /> $files[] = $file;<br /> }<br /> closedir($dir);<br /> usort($files, "insensitive"); //see function insensitive($a, $b)<br /> foreach ($files as $filename) {<br /> $filepath = "$d/$filename";<br /> $fsize = sprintf("%u", filesize($filepath)); //filesizes over 2Mb won't fit in an int so we unsign it<br /> $modtime = date ("d F Y H:i:s", filemtime($filepath)); //mtime is unix timestamp<br /> $tip = " Size: $fsize <br>Updated: $modtime ";<br />...

0%
暂无可用Exp或PoC
当前有0条受影响产品信息