oblog文件下载漏洞

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

漏洞文件:attachment.asp,path参数过滤不严。导致可以下载任何文件。 <!-- #include file="inc/inc_syssite.asp" --> <% Dim Path,rs,FileID,ShowDownErr,uid,file_ext Dim SQL Path = Trim(Request("path")) FileID = Trim(Request("FileID")) If FileID ="" And Path = "" Then Response.Write "参数不足" Response.End End If If CheckDownLoad Then If Path = "" Then set rs = Server.CreateObject("ADODB.RecordSet") link_database SQL = ("select file_path,userid,file_ext,ViewNum FROM oblog_upfile Where FileID = "&CLng(FileID)) rs.open sql,conn,1,3 If Not rs.Eof Then uid = rs(1) file_ext = rs(2) rs("ViewNum") = rs("ViewNum") + 1 rs.Update downloadFile Server.MapPath(rs(0)),0 Else Response.Status=404 Response.Write "该附件不存在!" End If rs.Close Set rs = Nothing Else If true_domain = 1 Then downloadFile Server.MapPath(Replace(Path,blogurl,"")),1 else downloadFile Server.MapPath(Path),1 End If End If...

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