Oblog多用户博客程序strMonth变量过滤不严导致SQL注入漏洞

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

文件In/Class_UserCommand.asp : 1. strMonth=Request(&quot;month&quot;) //第63行 2. 3. strDay=Request(&quot;day&quot;) 4. 5. …… 6. 7. Case &quot;month&quot; //第84行 8. 9. Dim LastDay 10. 11. G_P_FileName = G_P_FileName &amp; &quot;month&amp;month=&quot; &amp; strMonth 12. 13. strDay=Left(strMonth,4) &amp; &quot;-&quot; &amp; Right(strMonth,2) &amp; &quot;-01&quot; 14. 15. mYear=Left(strMonth,4) 16. 17. mMonth=Right(strMonth,2) 18. 19. If InStr (&quot;01,03,05,07,08,10,12&quot;,mMonth)&gt; 0 Then 20. 21. LastDay = &quot;31&quot;…… 22. 23. Else //第109行 24. 25. SqlPart = &quot; And Addtime &gt;='&quot;&amp;strMonth&quot;01' AND Addtime &lt; '&quot;&amp;strMonth&amp;LastDay&quot;' &quot; 构造合适的变量strMonth进行注射 Oblog 4.5-4.6 sql 厂商补丁: oblog ---------- 目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载: <a href="http://www.oblog.cn/" target="_blank" rel=external nofollow>http://www.oblog.cn/</a>

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