字号·· | 护眼
漏洞档案 · 严重

wpdiscuz SQL 注入(CVE-2020-13640)

CVE-2020-13640 别名:GHSA-P3WM-3HR8-RQRV
CVSS 9.8 / 3.1 EPSS 15.1% CISA KEV 在野利用 公开 PoC · 1 Nuclei 模板
综合风险76/ 100
CVSS9.8严重
EPSS15.1%30 天利用概率
机构收录时间2020-06-18更新 2026-12-01

研判简报

概述

gvectors 的 wpdiscuz 是 WordPress 评论插件。漏洞记录显示,WordPress 版 gVectors wpDiscuz 5.3.5 及更早版本存在 SQL 注入,远程攻击者可通过 wpdLoadMoreComments 请求中的 order 参数执行任意 SQL 命令;材料同时注明 7.x 版本不受影响。该问题位于评论加载流程,若站点允许公开访问相关请求,攻击者可能操纵数据库查询,进而读取或修改站点数据,具体影响取决于数据库权限和部署环境。

严重性

输入材料未给出 severity、CVSS 分数或 CWE 编号。EPSS 为 0.15113,处于 0.97374 百分位,风险评分 37.02。尽管缺少 CVSS,可执行任意 SQL 命令的注入能力和在野利用记录足以要求优先处置。

利用状态

截至 2026-11-26 核查,该漏洞已确认在野利用,并于 2020-12-06 进入 KEV,SSVC 利用状态为 active。材料记录 1 个公开概念验证和 Nuclei 模板;未见 Metasploit 模块或勒索软件利用记录。

受影响产品

受影响产品为 gvectors wpdiscuz。affected 与 affected_ranges 未列出正式范围;漏洞描述明确提到 WordPress 版 gVectors wpDiscuz 5.3.5 and earlier,并注明 No 7.x versions are affected。

修复版本

fixed_versions 材料未给出。所需行动为按厂商指示实施修复或缓解;若无法修复或缓解,则停止使用该产品。

缓解措施

立即识别使用 wpdiscuz 的 WordPress 站点,核对插件版本与补丁状态;在修复版本未由材料给出时,不得自行推测目标版本,应遵循厂商指引。临时可降低插件暴露面、停用评论加载功能或插件本身,并在 Web 应用防火墙中重点拦截 wpdLoadMoreComments 请求里异常的 order 参数、SQL 关键字和编码变形。

响应步骤

检索 Web 访问日志中 wpdLoadMoreComments 请求,关注 order 参数异常长度、联合查询、布尔条件、时间延迟特征和重复扫描来源。检查数据库慢日志、错误日志、异常管理员账户、被篡改文章与评论内容。若怀疑注入成功,应隔离站点、轮换数据库和 WordPress 凭证、审计数据泄露范围并完成修复;恢复后持续监测同源 IP 和相似参数攻击。

参考来源

  1. https://patchstack.com/database/vulnerability/wpdiscuz/wordpress-wpdiscuz-plugin-5-3-5-unauthenticated-sql-injection-sqli-vulnerabilitykev
  2. https://app.crowdsec.net/cti/cve-explorer/CVE-2020-13640kev
  3. https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2020-13640kev
  4. https://vulncheck.com/xdb/6e9cdf8ac7a5exploit,vulncheck_xdb
  5. https://github.com/asterite3/CVE-2020-13640poc,github,exploit,poc_github
  6. https://vulncheck.com/kev/cve-2020-13640advisory,vulncheck_kev
  7. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-13640.yamlexploit,nuclei
  8. https://wordpress.org/plugins/wpdiscuz/#developersx_refsource_MISC,x_refsource_MISC,x_transferred,Release Notes,Third Party Adviso
  9. https://wpdiscuz.com/community/news/security-vulnerability-issue-in-5-3-5-please-udate/x_refsource_MISC,x_refsource_MISC,x_transferred,Patch,Vendor Advisory,advisory,e
  10. https://plugins.trac.wordpress.org/changeset/2323200x_refsource_MISC,x_refsource_MISC,x_transferred,Third Party Advisory,advisory,eu
  11. https://plugins.trac.wordpress.org/browser/wpdiscuz/tags/5.3.6x_refsource_MISC,x_refsource_MISC,x_transferred,Third Party Advisory,advisory,eu
  12. http://www.openwall.com/lists/oss-security/2020/07/06/1mailing-list,x_refsource_MLIST,mailing-list,x_refsource_MLIST,x_transferred,Expl
  13. https://euvd.enisa.europa.eu/vulnerability/EUVD-2020-5882advisory,euvd