Maccms asp版本后台XSS盲打

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

### 简要描述: Maccms ASP版本后台盲打。 ### 详细说明: /inc/ajax.asp 255行reporterr函数 ``` sub reporterr() dim g_vid,g_name,g_content,g_audit,g_ip,g_time g_vid = be("post","g_vid") : g_vid = chkSql(g_vid, True) g_name = be("post","g_name") : g_name = chkSql(g_name, True) g_content = be("post","g_content") : g_content = chkSql(g_content, True) if not isNum(g_vid) then alert "请填写正确参数" : exit sub if len(g_name) > 64 then g_name = left(g_name,64) if len(g_content) > 255 then g_content = left(g_content,255) if app_gbookaudit=1 then g_audit=0 else g_audit=1 g_ip = getIP() g_time = Now() If getTimeSpan("lastreportErrTime") < app_gbooktime Then alert "请稍后再试": Exit Sub objdb.add "{pre}gbook", Array("g_vid","g_audit","g_name", "g_ip", "g_time", "g_content"), Array(g_vid, g_audit, g_name, g_ip, g_time, g_content) Session("lastreportErrTime") = Now writeA "报错成功,多谢支持!<script>setTimeout(""window.close()"",1000)</script>" end sub ``` 获取了用户提交的留言信息。其中调用getIP()获得IP地址,看看 ``` function getIP() dim x, y x =...

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