CNVD-2018-19570
Vulnerability from cnvd - Published: 2018-09-20
VLAI Severity ?
Title
Smarty路径遍历漏洞
Description
New Digital Group Smarty是New Digital Group公司的的一款使用PHP语言编写的模板引擎。
New Digital Group Smarty 3.1.33之前版本中的‘Smarty_Security::isTrustedResourceDir()’函数存在路径遍历漏洞,该漏洞源于程序未能对模板代码充分过滤。攻击者可通过控制被执行的模板代码利用该漏洞绕过可信目录安全限制并读取任意文件。
Severity
中
Patch Name
Smarty路径遍历漏洞的补丁
Patch Description
New Digital Group Smarty是New Digital Group公司的的一款使用PHP语言编写的模板引擎。
New Digital Group Smarty 3.1.33之前版本中的‘Smarty_Security::isTrustedResourceDir()’函数存在路径遍历漏洞,该漏洞源于程序未能对模板代码充分过滤。攻击者可通过控制被执行的模板代码利用该漏洞绕过可信目录安全限制并读取任意文件。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description
厂商已发布漏洞修复程序,请及时关注更新: https://github.com/smarty-php/smarty/commit/f9ca3c63d1250bb56b2bda609dcc9dd81f0065f8
Reference
https://nvd.nist.gov/vuln/detail/CVE-2018-13982
Impacted products
| Name | New Digital Group Smarty <3.1.33 |
|---|
{
"cves": {
"cve": {
"cveNumber": "CVE-2018-13982"
}
},
"description": "New Digital Group Smarty\u662fNew Digital Group\u516c\u53f8\u7684\u7684\u4e00\u6b3e\u4f7f\u7528PHP\u8bed\u8a00\u7f16\u5199\u7684\u6a21\u677f\u5f15\u64ce\u3002\r\n\r\nNew Digital Group Smarty 3.1.33\u4e4b\u524d\u7248\u672c\u4e2d\u7684\u2018Smarty_Security::isTrustedResourceDir()\u2019\u51fd\u6570\u5b58\u5728\u8def\u5f84\u904d\u5386\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u7a0b\u5e8f\u672a\u80fd\u5bf9\u6a21\u677f\u4ee3\u7801\u5145\u5206\u8fc7\u6ee4\u3002\u653b\u51fb\u8005\u53ef\u901a\u8fc7\u63a7\u5236\u88ab\u6267\u884c\u7684\u6a21\u677f\u4ee3\u7801\u5229\u7528\u8be5\u6f0f\u6d1e\u7ed5\u8fc7\u53ef\u4fe1\u76ee\u5f55\u5b89\u5168\u9650\u5236\u5e76\u8bfb\u53d6\u4efb\u610f\u6587\u4ef6\u3002",
"discovererName": "unKnow",
"formalWay": "\u5382\u5546\u5df2\u53d1\u5e03\u6f0f\u6d1e\u4fee\u590d\u7a0b\u5e8f\uff0c\u8bf7\u53ca\u65f6\u5173\u6ce8\u66f4\u65b0\uff1a\r\nhttps://github.com/smarty-php/smarty/commit/f9ca3c63d1250bb56b2bda609dcc9dd81f0065f8",
"isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
"number": "CNVD-2018-19570",
"openTime": "2018-09-20",
"patchDescription": "New Digital Group Smarty\u662fNew Digital Group\u516c\u53f8\u7684\u7684\u4e00\u6b3e\u4f7f\u7528PHP\u8bed\u8a00\u7f16\u5199\u7684\u6a21\u677f\u5f15\u64ce\u3002\r\n\r\nNew Digital Group Smarty 3.1.33\u4e4b\u524d\u7248\u672c\u4e2d\u7684\u2018Smarty_Security::isTrustedResourceDir()\u2019\u51fd\u6570\u5b58\u5728\u8def\u5f84\u904d\u5386\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u7a0b\u5e8f\u672a\u80fd\u5bf9\u6a21\u677f\u4ee3\u7801\u5145\u5206\u8fc7\u6ee4\u3002\u653b\u51fb\u8005\u53ef\u901a\u8fc7\u63a7\u5236\u88ab\u6267\u884c\u7684\u6a21\u677f\u4ee3\u7801\u5229\u7528\u8be5\u6f0f\u6d1e\u7ed5\u8fc7\u53ef\u4fe1\u76ee\u5f55\u5b89\u5168\u9650\u5236\u5e76\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": "Smarty\u8def\u5f84\u904d\u5386\u6f0f\u6d1e\u7684\u8865\u4e01",
"products": {
"product": "New Digital Group Smarty \u003c3.1.33"
},
"referenceLink": "https://nvd.nist.gov/vuln/detail/CVE-2018-13982",
"serverity": "\u4e2d",
"submitTime": "2018-09-19",
"title": "Smarty\u8def\u5f84\u904d\u5386\u6f0f\u6d1e"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
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…
Loading…