业务经理

微信扫描以上二维码

028-61286886

技术咨询

部分网站火车头发布报错CSRF异常,其他网站可以

迅睿框架 更新 2024-05-27 10:13:41 橄榄

部分网站提示报错CSRF验证超时请重试

方案

  • 麦加 #1 · 2024-05-15 12:25:02
    加一个CSRF白名单
  • 橄榄 #2 · 2024-05-15 12:26:25
    麦加 发布失败,错误信息:
    网页源代码:<!DOCTYPE html><html><head><meta charset="utf-8"><title>系统错误</title><style> div.logo { height: 200px; width: 155px; display: inline-block; opacity: 0.08; position: absolute; top: 2rem; left: 50%; margin-left: -73px; } body { height: 100%; background: #fafafa; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; color: #777; font-weight: 300; } h1 { font-weight: lighter; letter-spacing: 0.8; font-size: 3rem; margin-top: 0; margin-bottom: 0; color: #222; } .wrap { max-width: 1024px; margin: 5rem auto; padding: 2rem; background: #fff; text-align: center; border: 1px solid #efefef; border-radius: 0.5rem; position: relative; } pre { white-space: normal; margin-top: 1.5rem; } code { background: #fafafa; border: 1px solid #efefef; padding: 0.5rem 1rem; border-radius: 5px; display: block; } p { margin-top: 1.5rem; } .footer { margin-top: 2rem; border-top: 1px solid #efefef; padding: 1em 2em 0 2em; font-size: 85%; color: #999; } a:active, a:link, a:visited { color: #dd4814; }</style></head><body><div><p>CSRF验证超时请重试</p><p>、index.php?s=collapi&c=db&m=post&id=1&token=ppolive22</p></div></body></html>返回的Header:HTTP/1.1 200 OKServer:nginxDate:Wed, 15 May 2024 04:13:59 GMTContent-Type:text/html; charset=utf-8Vary:Accept-EncodingStrict-Transport-Security:max-age=31536000Access-Control-Allow-Credentials:trueAccess-Control-Allow-Origin:*Access-Control-Allow-Methods:GET,POST,PUT,DELETE,OPTIONSAccess-Control-Allow-Headers:*Content-Encoding:gzipX-Cache-Lookup:Cache Miss,Cache MissTransfer-Encoding:chunkedX-NWS-LOG-UUID:8209223503918841189Connection:keep-aliveContent-Length:1779
    发布失败,错误信息:发布失败,返回错误信息:标题重复标题重复网页源代码:标题重复返回的Header:HTTP/1.1 200 OKServer:nginxDate:Wed, 15 May 2024 04:13:59 GMTContent-Type:text/html; charset=utf-8Vary:Accept-EncodingStrict-Transport-Security:max-age=31536000Content-Encoding:gzipX-Cache-Lookup:Cache Miss,Cache MissTransfer-Encoding:chunkedX-NWS-LOG-UUID:10311672095002649213Connection:keep-aliveContent-Length:12
  • 橄榄 #3 · 2024-05-15 12:26:51
    麦加 报错如上,如何加呢?主要是有一个网站,没抱错
  • 小黄人 18html #4 · 2024-05-15 12:28:31
    检查了插件,最新版本文件中有对应CSRF白名单,建议先升级到最新版本,再看看是否存在该问题
  • 橄榄 #5 · 2024-05-15 12:28:34
    发布失败,错误信息:
    网页源代码:<!DOCTYPE html><html><head><meta charset="utf-8"><title>系统错误</title><style> div.logo { height: 200px; width: 155px; display: inline-block; opacity: 0.08; position: absolute; top: 2rem; left: 50%; margin-left: -73px; } body { height: 100%; background: #fafafa; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; color: #777; font-weight: 300; } h1 { font-weight: lighter; letter-spacing: 0.8; font-size: 3rem; margin-top: 0; margin-bottom: 0; color: #222; } .wrap { max-width: 1024px; margin: 5rem auto; padding: 2rem; background: #fff; text-align: center; border: 1px solid #efefef; border-radius: 0.5rem; position: relative; } pre { white-space: normal; margin-top: 1.5rem; } code { background: #fafafa; border: 1px solid #efefef; padding: 0.5rem 1rem; border-radius: 5px; display: block; } p { margin-top: 1.5rem; } .footer { margin-top: 2rem; border-top: 1px solid #efefef; padding: 1em 2em 0 2em; font-size: 85%; color: #999; } a:active, a:link, a:visited { color: #dd4814; }</style></head><body><div><p>CSRF验证超时请重试</p><p>/index.php?s=collapi&c=db&m=post&id=1&token=ppolive22</p></div></body></html>返回的Header:HTTP/1.1 200 OKServer:nginxDate:Wed, 15 May 2024 04:13:59 GMTContent-Type:text/html; charset=utf-8Vary:Accept-EncodingStrict-Transport-Security:max-age=31536000Access-Control-Allow-Credentials:trueAccess-Control-Allow-Origin:*Access-Control-Allow-Methods:GET,POST,PUT,DELETE,OPTIONSAccess-Control-Allow-Headers:*Content-Encoding:gzipX-Cache-Lookup:Cache Miss,Cache MissTransfer-Encoding:chunkedX-NWS-LOG-UUID:8209223503918841189Connection:keep-aliveContent-Length:1779
    发布失败,错误信息:发布失败,返回错误信息:标题重复标题重复网页源代码:标题重复返回的Header:HTTP/1.1 200 OKServer:nginxDate:Wed, 15 May 2024 04:13:59 GMTContent-Type:text/html; charset=utf-8Vary:Accept-EncodingStrict-Transport-Security:max-age=31536000Content-Encoding:gzipX-Cache-Lookup:Cache Miss,Cache MissTransfer-Encoding:chunkedX-NWS-LOG-UUID:10311672095002649213Connection:keep-aliveContent-Length:12
  • 橄榄 #6 · 2024-05-15 12:30:35
    小黄人 18html 好像都是有的,检查了几个网站,都有这个文件
    image
  • 小黄人 18html #7 · 2024-05-27 10:13:41
    白名单文件不是一成不变的,插件出现异常,首先升级插件 / CMS内核到最新版本!

迅睿系统漏洞

独立站群系统
独立站群系统(2026-09-14)
子站独立部署时修复同步附件失败问题
在线客服
在线客服(2026-09-13)
修复删除会话报错问题 删除会话时联动删除聊天图片
在线考试竞赛系统
在线考试竞赛系统(2026-09-12)
增加投票功能 考试功能拓展 注意:更新后需要执行系统更新,更新数...
网上信箱
网上信箱(2026-09-12)
修复新版本兼容问题
GeoSeo收录宝
GeoSeo收录宝(2026-09-12)
1 优化Update.php文件,解决版本在线升级不完整问题 2 ...
GeoSeo工具箱
GeoSeo工具箱(2026-09-11)
修正历史记录推送
微信系统
微信系统(2026-09-11)
增加数据统计总览界面 账号管理增加服务和公众号的区别 菜单管理支持更...
答题系统
答题系统(2026-09-11)
一站式在线答题系统,支持真题考试、题库练习和错题本,适合培训、考证、...
阿里云滑动验证码
阿里云滑动验证码(2026-09-10)
采用阿里云验证码替换迅睿系统自带的图片验证码和滑动验证码。后台设置方...
下载Plus
下载Plus(2026-09-09)
为网站附件下载加上“计数、限次、统计、防护”四重能力:按用户组控制下...