部分网站火车头发布报错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内核到最新版本!

迅睿系统漏洞

GeoSeo收录宝
GeoSeo收录宝(2026-09-01)
升级 ai智能发布功能 升级 支持8国语言后端设置和前端输出功能 ...
Word发布批量上传
Word发布批量上传(2026-08-31)
版本覆盖问题重发
多语言翻译Seolang
多语言翻译Seolang(2026-08-31)
新增 LLM 大模型对话翻译模块 配置层强类型化重构 URL 模...
自定义存储
自定义存储(2026-08-30)
同步服务器端通用版实现,统一管理端、CMS 端和浏览器直传的提示与错...
GeoSeo工具箱
GeoSeo工具箱(2026-08-29)
新增 bing推送 新增 IndexNow推送 新增 baidu...
外贸多语言建站
外贸多语言建站(2026-08-27)
新增阿里云专业版入口 新增阿里云自动识别字符格式
Querylist渐进式采集
Querylist渐进式采集(2026-08-26)
增加范围截取规则
实时任务
实时任务(2026-08-26)
补充并整理完整使用说明、历史版本更新日志,统一帮助页样式。