cnvd-2016-08449
Vulnerability from cnvd

Title: PHP GD Graphics Library整数溢出漏洞

Description:

PHP(PHP:Hypertext Preprocessor,PHP:超文本预处理器)是PHP Group和开放源代码社区共同维护的一种开源的通用计算机脚本语言。该语言支持多重语法、支持多数据库及操作系统和支持C、C++进行程序扩展等。GD Graphics Library(又名libgd或libgd2)是美国软件开发者Thomas Boutell所研发的一个开源的用于动态创建图像的库,它支持创建图表、图形和缩略图等。

PHP 7.0.11之前版本使用的GD Graphics Library 2.2.3及之前的版本中的gd_webp.c文件中的‘dImageWebpCtx’函数存在整数溢出漏洞。远程攻击者可借助‘imagewebp’和‘imagedestroyllows’函数调用利用该漏洞造成拒绝服务(堆缓冲区溢出)。

Severity:

Patch Name: PHP GD Graphics Library整数溢出漏洞的补丁

Patch Description:

PHP(PHP:Hypertext Preprocessor,PHP:超文本预处理器)是PHP Group和开放源代码社区共同维护的一种开源的通用计算机脚本语言。该语言支持多重语法、支持多数据库及操作系统和支持C、C++进行程序扩展等。GD Graphics Library(又名libgd或libgd2)是美国软件开发者Thomas Boutell所研发的一个开源的用于动态创建图像的库,它支持创建图表、图形和缩略图等。

PHP 7.0.11之前版本使用的GD Graphics Library 2.2.3及之前的版本中的gd_webp.c文件中的‘dImageWebpCtx’函数存在整数溢出漏洞。远程攻击者可借助‘imagewebp’和‘imagedestroyllows’函数调用利用该漏洞造成拒绝服务(堆缓冲区溢出)。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。

Formal description:

目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载: https://github.com/libgd/libgd/issues/308 https://bugs.php.net/bug.php?id=73003

Reference: https://github.com/php/php-src/commit/c18263e0e0769faee96a5d0ee04b750c442783c6 https://github.com/libgd/libgd/commit/40bec0f38f50e8510f5bb71a82f516d46facde03

Impacted products
Name
PHP PHP <7.0.11
Show details on source website


{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2016-7568"
    }
  },
  "description": "PHP\uff08PHP\uff1aHypertext Preprocessor\uff0cPHP\uff1a\u8d85\u6587\u672c\u9884\u5904\u7406\u5668\uff09\u662fPHP Group\u548c\u5f00\u653e\u6e90\u4ee3\u7801\u793e\u533a\u5171\u540c\u7ef4\u62a4\u7684\u4e00\u79cd\u5f00\u6e90\u7684\u901a\u7528\u8ba1\u7b97\u673a\u811a\u672c\u8bed\u8a00\u3002\u8be5\u8bed\u8a00\u652f\u6301\u591a\u91cd\u8bed\u6cd5\u3001\u652f\u6301\u591a\u6570\u636e\u5e93\u53ca\u64cd\u4f5c\u7cfb\u7edf\u548c\u652f\u6301C\u3001C++\u8fdb\u884c\u7a0b\u5e8f\u6269\u5c55\u7b49\u3002GD Graphics Library\uff08\u53c8\u540dlibgd\u6216libgd2\uff09\u662f\u7f8e\u56fd\u8f6f\u4ef6\u5f00\u53d1\u8005Thomas Boutell\u6240\u7814\u53d1\u7684\u4e00\u4e2a\u5f00\u6e90\u7684\u7528\u4e8e\u52a8\u6001\u521b\u5efa\u56fe\u50cf\u7684\u5e93\uff0c\u5b83\u652f\u6301\u521b\u5efa\u56fe\u8868\u3001\u56fe\u5f62\u548c\u7f29\u7565\u56fe\u7b49\u3002\r\n\r\nPHP 7.0.11\u4e4b\u524d\u7248\u672c\u4f7f\u7528\u7684GD Graphics Library 2.2.3\u53ca\u4e4b\u524d\u7684\u7248\u672c\u4e2d\u7684gd_webp.c\u6587\u4ef6\u4e2d\u7684\u2018dImageWebpCtx\u2019\u51fd\u6570\u5b58\u5728\u6574\u6570\u6ea2\u51fa\u6f0f\u6d1e\u3002\u8fdc\u7a0b\u653b\u51fb\u8005\u53ef\u501f\u52a9\u2018imagewebp\u2019\u548c\u2018imagedestroyllows\u2019\u51fd\u6570\u8c03\u7528\u5229\u7528\u8be5\u6f0f\u6d1e\u9020\u6210\u62d2\u7edd\u670d\u52a1\uff08\u5806\u7f13\u51b2\u533a\u6ea2\u51fa\uff09\u3002",
  "discovererName": "Ke Liu of Tencent\u0027s Xuanwu LAB.",
  "formalWay": "\u76ee\u524d\u5382\u5546\u5df2\u7ecf\u53d1\u5e03\u4e86\u5347\u7ea7\u8865\u4e01\u4ee5\u4fee\u590d\u8fd9\u4e2a\u5b89\u5168\u95ee\u9898\uff0c\u8bf7\u5230\u5382\u5546\u7684\u4e3b\u9875\u4e0b\u8f7d\uff1a\r\nhttps://github.com/libgd/libgd/issues/308\r\nhttps://bugs.php.net/bug.php?id=73003",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2016-08449",
  "openTime": "2016-10-09",
  "patchDescription": "PHP\uff08PHP\uff1aHypertext Preprocessor\uff0cPHP\uff1a\u8d85\u6587\u672c\u9884\u5904\u7406\u5668\uff09\u662fPHP Group\u548c\u5f00\u653e\u6e90\u4ee3\u7801\u793e\u533a\u5171\u540c\u7ef4\u62a4\u7684\u4e00\u79cd\u5f00\u6e90\u7684\u901a\u7528\u8ba1\u7b97\u673a\u811a\u672c\u8bed\u8a00\u3002\u8be5\u8bed\u8a00\u652f\u6301\u591a\u91cd\u8bed\u6cd5\u3001\u652f\u6301\u591a\u6570\u636e\u5e93\u53ca\u64cd\u4f5c\u7cfb\u7edf\u548c\u652f\u6301C\u3001C++\u8fdb\u884c\u7a0b\u5e8f\u6269\u5c55\u7b49\u3002GD Graphics Library\uff08\u53c8\u540dlibgd\u6216libgd2\uff09\u662f\u7f8e\u56fd\u8f6f\u4ef6\u5f00\u53d1\u8005Thomas Boutell\u6240\u7814\u53d1\u7684\u4e00\u4e2a\u5f00\u6e90\u7684\u7528\u4e8e\u52a8\u6001\u521b\u5efa\u56fe\u50cf\u7684\u5e93\uff0c\u5b83\u652f\u6301\u521b\u5efa\u56fe\u8868\u3001\u56fe\u5f62\u548c\u7f29\u7565\u56fe\u7b49\u3002\r\n\r\nPHP 7.0.11\u4e4b\u524d\u7248\u672c\u4f7f\u7528\u7684GD Graphics Library 2.2.3\u53ca\u4e4b\u524d\u7684\u7248\u672c\u4e2d\u7684gd_webp.c\u6587\u4ef6\u4e2d\u7684\u2018dImageWebpCtx\u2019\u51fd\u6570\u5b58\u5728\u6574\u6570\u6ea2\u51fa\u6f0f\u6d1e\u3002\u8fdc\u7a0b\u653b\u51fb\u8005\u53ef\u501f\u52a9\u2018imagewebp\u2019\u548c\u2018imagedestroyllows\u2019\u51fd\u6570\u8c03\u7528\u5229\u7528\u8be5\u6f0f\u6d1e\u9020\u6210\u62d2\u7edd\u670d\u52a1\uff08\u5806\u7f13\u51b2\u533a\u6ea2\u51fa\uff09\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": "PHP GD Graphics Library\u6574\u6570\u6ea2\u51fa\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": "PHP PHP \u003c7.0.11"
  },
  "referenceLink": "https://github.com/php/php-src/commit/c18263e0e0769faee96a5d0ee04b750c442783c6\r\nhttps://github.com/libgd/libgd/commit/40bec0f38f50e8510f5bb71a82f516d46facde03",
  "serverity": "\u9ad8",
  "submitTime": "2016-09-29",
  "title": "PHP GD Graphics Library\u6574\u6570\u6ea2\u51fa\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…