GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CNVD-2021-09801

Vulnerability from cnvd - Published: 2021-02-07
VLAI
Title
ThinkJS SQL注入漏洞
Description
ThinkJS是一款面向未来开发的Node.js框架,整合了大量的项目最佳实践,让企业级开发变得更简单、高效。 ThinkJS 3.2.10中的model.increment和model.decrement函数存在SQL注入漏洞。远程攻击者可通过step参数利用该漏洞执行任意SQL命令。
Severity
Patch Name
ThinkJS SQL注入漏洞的补丁
Patch Description
ThinkJS是一款面向未来开发的Node.js框架,整合了大量的项目最佳实践,让企业级开发变得更简单、高效。 ThinkJS 3.2.10中的model.increment和model.decrement函数存在SQL注入漏洞。远程攻击者可通过step参数利用该漏洞执行任意SQL命令。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

目前厂商已发布升级补丁以修复漏洞,补丁获取链接: https://github.com/thinkjs/thinkjs

Reference
https://nvd.nist.gov/vuln/detail/CVE-2020-21176
Impacted products
Name
ThinkJS ThinkJS 3.2.10
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2020-21176",
      "cveUrl": "https://nvd.nist.gov/vuln/detail/CVE-2020-21176"
    }
  },
  "description": "ThinkJS\u662f\u4e00\u6b3e\u9762\u5411\u672a\u6765\u5f00\u53d1\u7684Node.js\u6846\u67b6\uff0c\u6574\u5408\u4e86\u5927\u91cf\u7684\u9879\u76ee\u6700\u4f73\u5b9e\u8df5\uff0c\u8ba9\u4f01\u4e1a\u7ea7\u5f00\u53d1\u53d8\u5f97\u66f4\u7b80\u5355\u3001\u9ad8\u6548\u3002\n\nThinkJS 3.2.10\u4e2d\u7684model.increment\u548cmodel.decrement\u51fd\u6570\u5b58\u5728SQL\u6ce8\u5165\u6f0f\u6d1e\u3002\u8fdc\u7a0b\u653b\u51fb\u8005\u53ef\u901a\u8fc7step\u53c2\u6570\u5229\u7528\u8be5\u6f0f\u6d1e\u6267\u884c\u4efb\u610fSQL\u547d\u4ee4\u3002",
  "formalWay": "\u76ee\u524d\u5382\u5546\u5df2\u53d1\u5e03\u5347\u7ea7\u8865\u4e01\u4ee5\u4fee\u590d\u6f0f\u6d1e\uff0c\u8865\u4e01\u83b7\u53d6\u94fe\u63a5\uff1a\r\nhttps://github.com/thinkjs/thinkjs",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2021-09801",
  "openTime": "2021-02-07",
  "patchDescription": "ThinkJS\u662f\u4e00\u6b3e\u9762\u5411\u672a\u6765\u5f00\u53d1\u7684Node.js\u6846\u67b6\uff0c\u6574\u5408\u4e86\u5927\u91cf\u7684\u9879\u76ee\u6700\u4f73\u5b9e\u8df5\uff0c\u8ba9\u4f01\u4e1a\u7ea7\u5f00\u53d1\u53d8\u5f97\u66f4\u7b80\u5355\u3001\u9ad8\u6548\u3002\r\n\r\nThinkJS 3.2.10\u4e2d\u7684model.increment\u548cmodel.decrement\u51fd\u6570\u5b58\u5728SQL\u6ce8\u5165\u6f0f\u6d1e\u3002\u8fdc\u7a0b\u653b\u51fb\u8005\u53ef\u901a\u8fc7step\u53c2\u6570\u5229\u7528\u8be5\u6f0f\u6d1e\u6267\u884c\u4efb\u610fSQL\u547d\u4ee4\u3002\u76ee\u524d\uff0c\u4f9b\u5e94\u5546\u53d1\u5e03\u4e86\u5b89\u5168\u516c\u544a\u53ca\u76f8\u5173\u8865\u4e01\u4fe1\u606f\uff0c\u4fee\u590d\u4e86\u6b64\u6f0f\u6d1e\u3002",
  "patchName": "ThinkJS SQL\u6ce8\u5165\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": "ThinkJS ThinkJS 3.2.10"
  },
  "referenceLink": "https://nvd.nist.gov/vuln/detail/CVE-2020-21176",
  "serverity": "\u9ad8",
  "submitTime": "2021-02-02",
  "title": "ThinkJS SQL\u6ce8\u5165\u6f0f\u6d1e"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…