cnvd-2018-07277
Vulnerability from cnvd
Title: Yii 'findByCondition'函数SQL注入漏洞
Description:
Yii是Yii团队开发的一套基于组件、用于开发大型Web应用的高性能PHP框架。
Yii 2.0.15之前的2.x版本中的framework/db/ActiveRecord.php文件的'findByCondition'函数存在SQL注入漏洞。远程攻击者可借助‘findOne()’或‘findAll()’函数的调用利用该漏洞执行任意的SQL命令或绕过访问检测方法。
Severity: 高
Patch Name: Yii 'findByCondition'函数SQL注入漏洞的补丁
Patch Description:
Yii是Yii团队开发的一套基于组件、用于开发大型Web应用的高性能PHP框架。
Yii 2.0.15之前的2.x版本中的framework/db/ActiveRecord.php文件的'findByCondition'函数存在SQL注入漏洞。远程攻击者可借助‘findOne()’或‘findAll()’函数的调用利用该漏洞执行任意的SQL命令或绕过访问检测方法。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description:
厂商已发布漏洞修复程序,请及时关注更新: http://www.yiiframework.com/news/168/releasing-yii-2-0-15-and-database-extensions-with-security-fixes/
Reference: http://www.yiiframework.com/news/168/releasing-yii-2-0-15-and-database-extensions-with-security-fixes/
Name | Yii Yii 2.*,<2.0.15 |
---|
{ "cves": { "cve": { "cveNumber": "CVE-2018-7269" } }, "description": "Yii\u662fYii\u56e2\u961f\u5f00\u53d1\u7684\u4e00\u5957\u57fa\u4e8e\u7ec4\u4ef6\u3001\u7528\u4e8e\u5f00\u53d1\u5927\u578bWeb\u5e94\u7528\u7684\u9ad8\u6027\u80fdPHP\u6846\u67b6\u3002\r\n\r\nYii 2.0.15\u4e4b\u524d\u76842.x\u7248\u672c\u4e2d\u7684framework/db/ActiveRecord.php\u6587\u4ef6\u7684\u0027findByCondition\u0027\u51fd\u6570\u5b58\u5728SQL\u6ce8\u5165\u6f0f\u6d1e\u3002\u8fdc\u7a0b\u653b\u51fb\u8005\u53ef\u501f\u52a9\u2018findOne()\u2019\u6216\u2018findAll()\u2019\u51fd\u6570\u7684\u8c03\u7528\u5229\u7528\u8be5\u6f0f\u6d1e\u6267\u884c\u4efb\u610f\u7684SQL\u547d\u4ee4\u6216\u7ed5\u8fc7\u8bbf\u95ee\u68c0\u6d4b\u65b9\u6cd5\u3002", "discovererName": "Yii", "formalWay": "\u5382\u5546\u5df2\u53d1\u5e03\u6f0f\u6d1e\u4fee\u590d\u7a0b\u5e8f\uff0c\u8bf7\u53ca\u65f6\u5173\u6ce8\u66f4\u65b0\uff1a\r\nhttp://www.yiiframework.com/news/168/releasing-yii-2-0-15-and-database-extensions-with-security-fixes/", "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e", "number": "CNVD-2018-07277", "openTime": "2018-04-09", "patchDescription": "Yii\u662fYii\u56e2\u961f\u5f00\u53d1\u7684\u4e00\u5957\u57fa\u4e8e\u7ec4\u4ef6\u3001\u7528\u4e8e\u5f00\u53d1\u5927\u578bWeb\u5e94\u7528\u7684\u9ad8\u6027\u80fdPHP\u6846\u67b6\u3002\r\n\r\nYii 2.0.15\u4e4b\u524d\u76842.x\u7248\u672c\u4e2d\u7684framework/db/ActiveRecord.php\u6587\u4ef6\u7684\u0027findByCondition\u0027\u51fd\u6570\u5b58\u5728SQL\u6ce8\u5165\u6f0f\u6d1e\u3002\u8fdc\u7a0b\u653b\u51fb\u8005\u53ef\u501f\u52a9\u2018findOne()\u2019\u6216\u2018findAll()\u2019\u51fd\u6570\u7684\u8c03\u7528\u5229\u7528\u8be5\u6f0f\u6d1e\u6267\u884c\u4efb\u610f\u7684SQL\u547d\u4ee4\u6216\u7ed5\u8fc7\u8bbf\u95ee\u68c0\u6d4b\u65b9\u6cd5\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": "Yii \u0027findByCondition\u0027\u51fd\u6570SQL\u6ce8\u5165\u6f0f\u6d1e\u7684\u8865\u4e01", "products": { "product": "Yii Yii 2.*\uff0c\u003c2.0.15" }, "referenceLink": "http://www.yiiframework.com/news/168/releasing-yii-2-0-15-and-database-extensions-with-security-fixes/", "serverity": "\u9ad8", "submitTime": "2018-03-22", "title": "Yii \u0027findByCondition\u0027\u51fd\u6570SQL\u6ce8\u5165\u6f0f\u6d1e" }
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.