cnvd-2022-88789
Vulnerability from cnvd

Title: Sensio Labs Twig路径遍历漏洞

Description:

Sensio Labs Twig是法国Sensio Labs公司的一个PHP模板引擎,它支持自定义标签和过滤器,并创建DSL。

Sensio Labs Twig 1.0.0及其之后,1.44.7之前版本、2.0.0及其之后,2.15.3之前版本和3.0.0及其之后,3.4.3之前版本存在路径遍历漏洞,该漏洞源于网络系统或产品未能正确地过滤资源或文件路径中的特殊元素。攻击者可利用漏洞使用特定命名空间时使用source和include从模板目录外部读取任意文件。

Severity:

Patch Name: Sensio Labs Twig路径遍历漏洞的补丁

Patch Description:

Sensio Labs Twig是法国Sensio Labs公司的一个PHP模板引擎,它支持自定义标签和过滤器,并创建DSL。

Sensio Labs Twig 1.0.0及其之后,1.44.7之前版本、2.0.0及其之后,2.15.3之前版本和3.0.0及其之后,3.4.3之前版本存在路径遍历漏洞,该漏洞源于网络系统或产品未能正确地过滤资源或文件路径中的特殊元素。攻击者可利用漏洞使用特定命名空间时使用source和include从模板目录外部读取任意文件。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。

Formal description:

目前厂商已发布升级补丁以修复漏洞,补丁获取链接: https://github.com/twigphp/Twig/security/advisories/GHSA-52m2-vc4m-jj33

Reference: https://github.com/twigphp/Twig/commit/35f3035c5deb0041da7b84daf02dea074ddc7a0b

Impacted products
Name
['Sensio Labs Sensio Labs Twig 1.*,<1.44.7', 'Sensio Labs Sensio Labs Twig 2.*,<2.15.3', 'Sensio Labs Sensio Labs Twig 3.*,<3.4.3']
Show details on source website


{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2022-39261",
      "cveUrl": "https://nvd.nist.gov/vuln/detail/CVE-2022-39261"
    }
  },
  "description": "Sensio Labs Twig\u662f\u6cd5\u56fdSensio Labs\u516c\u53f8\u7684\u4e00\u4e2aPHP\u6a21\u677f\u5f15\u64ce\uff0c\u5b83\u652f\u6301\u81ea\u5b9a\u4e49\u6807\u7b7e\u548c\u8fc7\u6ee4\u5668\uff0c\u5e76\u521b\u5efaDSL\u3002\n\nSensio Labs Twig 1.0.0\u53ca\u5176\u4e4b\u540e\uff0c1.44.7\u4e4b\u524d\u7248\u672c\u30012.0.0\u53ca\u5176\u4e4b\u540e\uff0c2.15.3\u4e4b\u524d\u7248\u672c\u548c3.0.0\u53ca\u5176\u4e4b\u540e\uff0c3.4.3\u4e4b\u524d\u7248\u672c\u5b58\u5728\u8def\u5f84\u904d\u5386\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u7f51\u7edc\u7cfb\u7edf\u6216\u4ea7\u54c1\u672a\u80fd\u6b63\u786e\u5730\u8fc7\u6ee4\u8d44\u6e90\u6216\u6587\u4ef6\u8def\u5f84\u4e2d\u7684\u7279\u6b8a\u5143\u7d20\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u6f0f\u6d1e\u4f7f\u7528\u7279\u5b9a\u547d\u540d\u7a7a\u95f4\u65f6\u4f7f\u7528source\u548cinclude\u4ece\u6a21\u677f\u76ee\u5f55\u5916\u90e8\u8bfb\u53d6\u4efb\u610f\u6587\u4ef6\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/twigphp/Twig/security/advisories/GHSA-52m2-vc4m-jj33",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2022-88789",
  "openTime": "2022-12-20",
  "patchDescription": "Sensio Labs Twig\u662f\u6cd5\u56fdSensio Labs\u516c\u53f8\u7684\u4e00\u4e2aPHP\u6a21\u677f\u5f15\u64ce\uff0c\u5b83\u652f\u6301\u81ea\u5b9a\u4e49\u6807\u7b7e\u548c\u8fc7\u6ee4\u5668\uff0c\u5e76\u521b\u5efaDSL\u3002\r\n\r\nSensio Labs Twig 1.0.0\u53ca\u5176\u4e4b\u540e\uff0c1.44.7\u4e4b\u524d\u7248\u672c\u30012.0.0\u53ca\u5176\u4e4b\u540e\uff0c2.15.3\u4e4b\u524d\u7248\u672c\u548c3.0.0\u53ca\u5176\u4e4b\u540e\uff0c3.4.3\u4e4b\u524d\u7248\u672c\u5b58\u5728\u8def\u5f84\u904d\u5386\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u7f51\u7edc\u7cfb\u7edf\u6216\u4ea7\u54c1\u672a\u80fd\u6b63\u786e\u5730\u8fc7\u6ee4\u8d44\u6e90\u6216\u6587\u4ef6\u8def\u5f84\u4e2d\u7684\u7279\u6b8a\u5143\u7d20\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u6f0f\u6d1e\u4f7f\u7528\u7279\u5b9a\u547d\u540d\u7a7a\u95f4\u65f6\u4f7f\u7528source\u548cinclude\u4ece\u6a21\u677f\u76ee\u5f55\u5916\u90e8\u8bfb\u53d6\u4efb\u610f\u6587\u4ef6\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": "Sensio Labs Twig\u8def\u5f84\u904d\u5386\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": [
      "Sensio Labs Sensio Labs Twig 1.*\uff0c\u003c1.44.7",
      "Sensio Labs Sensio Labs Twig 2.*\uff0c\u003c2.15.3",
      "Sensio Labs Sensio Labs Twig 3.*\uff0c\u003c3.4.3"
    ]
  },
  "referenceLink": "https://github.com/twigphp/Twig/commit/35f3035c5deb0041da7b84daf02dea074ddc7a0b",
  "serverity": "\u4e2d",
  "submitTime": "2022-09-30",
  "title": "Sensio Labs Twig\u8def\u5f84\u904d\u5386\u6f0f\u6d1e"
}


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…