cnvd-2018-21504
Vulnerability from cnvd

Title: ThinkPHP SQL注入漏洞(CNVD-2018-21504)

Description:

ThinkPHP是一套开源的、基于PHP的轻量级Web应用开发框架。

ThinkPHP 3.2.4版本中的Library/Think/Db/Driver.class.php文件的‘parseOrder’函数存在SQL注入漏洞,该漏洞源于程序错误地处理了变量key。远程攻击者可借助‘order’参数利用该漏洞执行任意的SQL命令。

Severity:

Patch Name: ThinkPHP SQL注入漏洞(CNVD-2018-21504)的补丁

Patch Description:

ThinkPHP是一套开源的、基于PHP的轻量级Web应用开发框架。

ThinkPHP 3.2.4版本中的Library/Think/Db/Driver.class.php文件的‘parseOrder’函数存在SQL注入漏洞,该漏洞源于程序错误地处理了变量key。远程攻击者可借助‘order’参数利用该漏洞执行任意的SQL命令。 目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。

Formal description:

目前厂商已发布升级补丁以修复漏洞,补丁获取链接: https://github.com/top-think/thinkphp/commit/77306720d5cbdf0fa97be9dea102a373a401f422

Reference: https://vuldb.com/?id.125833

Impacted products
Name
ThinkPHP ThinkPHP 3.2.4
Show details on source website


{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2018-18546"
    }
  },
  "description": "ThinkPHP\u662f\u4e00\u5957\u5f00\u6e90\u7684\u3001\u57fa\u4e8ePHP\u7684\u8f7b\u91cf\u7ea7Web\u5e94\u7528\u5f00\u53d1\u6846\u67b6\u3002\r\n\r\nThinkPHP 3.2.4\u7248\u672c\u4e2d\u7684Library/Think/Db/Driver.class.php\u6587\u4ef6\u7684\u2018parseOrder\u2019\u51fd\u6570\u5b58\u5728SQL\u6ce8\u5165\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u7a0b\u5e8f\u9519\u8bef\u5730\u5904\u7406\u4e86\u53d8\u91cfkey\u3002\u8fdc\u7a0b\u653b\u51fb\u8005\u53ef\u501f\u52a9\u2018order\u2019\u53c2\u6570\u5229\u7528\u8be5\u6f0f\u6d1e\u6267\u884c\u4efb\u610f\u7684SQL\u547d\u4ee4\u3002",
  "discovererName": "unknown",
  "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/top-think/thinkphp/commit/77306720d5cbdf0fa97be9dea102a373a401f422",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2018-21504",
  "openTime": "2018-10-23",
  "patchDescription": "ThinkPHP\u662f\u4e00\u5957\u5f00\u6e90\u7684\u3001\u57fa\u4e8ePHP\u7684\u8f7b\u91cf\u7ea7Web\u5e94\u7528\u5f00\u53d1\u6846\u67b6\u3002\r\n\r\nThinkPHP 3.2.4\u7248\u672c\u4e2d\u7684Library/Think/Db/Driver.class.php\u6587\u4ef6\u7684\u2018parseOrder\u2019\u51fd\u6570\u5b58\u5728SQL\u6ce8\u5165\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u7a0b\u5e8f\u9519\u8bef\u5730\u5904\u7406\u4e86\u53d8\u91cfkey\u3002\u8fdc\u7a0b\u653b\u51fb\u8005\u53ef\u501f\u52a9\u2018order\u2019\u53c2\u6570\u5229\u7528\u8be5\u6f0f\u6d1e\u6267\u884c\u4efb\u610f\u7684SQL\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": "ThinkPHP SQL\u6ce8\u5165\u6f0f\u6d1e\uff08CNVD-2018-21504\uff09\u7684\u8865\u4e01",
  "products": {
    "product": "ThinkPHP ThinkPHP 3.2.4"
  },
  "referenceLink": "https://vuldb.com/?id.125833",
  "serverity": "\u9ad8",
  "submitTime": "2018-10-23",
  "title": "ThinkPHP SQL\u6ce8\u5165\u6f0f\u6d1e\uff08CNVD-2018-21504\uff09"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…