WordPress Swim Team Plugin...

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

<p>The code in ./wp-swimteam/include/user/download.php doesn't&nbsp;sanitize user input from downloading sensitive&nbsp;system files:</p><p>&nbsp;</p><p>&nbsp;50 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $file = urldecode($args['file'])&nbsp;;</p><p>&nbsp;51 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $fh = fopen($file, 'r') or die('Unable to load file, something bad has&nbsp;happened.') ;</p><p>&nbsp;52&nbsp;</p><p>&nbsp;53 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; while (!feof($fh))</p><p>&nbsp;54 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $txt .= fread($fh, 1024) ;</p><p>&nbsp;55&nbsp;</p><p>&nbsp;56 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // &nbsp;Clean up the temporary file&nbsp;- permissions</p><p>&nbsp;57 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // &nbsp;may prevent this from&nbsp;succeedeing so use the '@'</p><p>&nbsp;58 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // &nbsp;to suppress any messages&nbsp;from PHP.</p><p>&nbsp;59&nbsp;</p><p>&nbsp;60 &nbsp; &nbsp;...

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