GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CNVD-2016-01989

Vulnerability from cnvd - Published: 2016-04-05
VLAI
Title
PHP PHAR扩展‘phar_parse_zipfile’函数缓冲区溢出漏洞
Description
PHP是PHP Group和开放源代码社区共同维护的一种开源的通用计算机脚本语言。PHAR是其中的一个归档扩展模。 PHP的PHAR扩展中的zip.c文件中的‘phar_parse_zipfile’函数存在安全漏洞,远程攻击者可通过将PK\x05\x06签名放到无效的位置,获取进程内存中的敏感信息,或进行拒绝服务攻击。
Severity
Patch Name
PHP PHAR扩展‘phar_parse_zipfile’函数缓冲区溢出漏洞的补丁
Patch Description
PHP是PHP Group和开放源代码社区共同维护的一种开源的通用计算机脚本语言。PHAR是其中的一个归档扩展模。 PHP的PHAR扩展中的zip.c文件中的‘phar_parse_zipfile’函数存在安全漏洞,远程攻击者可通过将PK\x05\x06签名放到无效的位置,获取进程内存中的敏感信息,或进行拒绝服务攻击。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

用户可参考如下厂商提供的安全补丁以修复该漏洞: https://git.php.net/?p=php-src.git;a=commit;h=a6fdc5bb27b20d889de0cd29318b3968aabb57bd

Reference
https://php.net/ChangeLog-5.php
Impacted products
Name
['PHP PHP <5.5.33', 'PHP PHP 5.6.x<5.6.19']
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2016-3142"
    }
  },
  "description": "PHP\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\u3002PHAR\u662f\u5176\u4e2d\u7684\u4e00\u4e2a\u5f52\u6863\u6269\u5c55\u6a21\u3002\r\n\r\nPHP\u7684PHAR\u6269\u5c55\u4e2d\u7684zip.c\u6587\u4ef6\u4e2d\u7684\u2018phar_parse_zipfile\u2019\u51fd\u6570\u5b58\u5728\u5b89\u5168\u6f0f\u6d1e\uff0c\u8fdc\u7a0b\u653b\u51fb\u8005\u53ef\u901a\u8fc7\u5c06PK\\x05\\x06\u7b7e\u540d\u653e\u5230\u65e0\u6548\u7684\u4f4d\u7f6e\uff0c\u83b7\u53d6\u8fdb\u7a0b\u5185\u5b58\u4e2d\u7684\u654f\u611f\u4fe1\u606f\uff0c\u6216\u8fdb\u884c\u62d2\u7edd\u670d\u52a1\u653b\u51fb\u3002",
  "discovererName": "PHP",
  "formalWay": "\u7528\u6237\u53ef\u53c2\u8003\u5982\u4e0b\u5382\u5546\u63d0\u4f9b\u7684\u5b89\u5168\u8865\u4e01\u4ee5\u4fee\u590d\u8be5\u6f0f\u6d1e\uff1a\r\nhttps://git.php.net/?p=php-src.git;a=commit;h=a6fdc5bb27b20d889de0cd29318b3968aabb57bd",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2016-01989",
  "openTime": "2016-04-05",
  "patchDescription": "PHP\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\u3002PHAR\u662f\u5176\u4e2d\u7684\u4e00\u4e2a\u5f52\u6863\u6269\u5c55\u6a21\u3002\r\n\r\nPHP\u7684PHAR\u6269\u5c55\u4e2d\u7684zip.c\u6587\u4ef6\u4e2d\u7684\u2018phar_parse_zipfile\u2019\u51fd\u6570\u5b58\u5728\u5b89\u5168\u6f0f\u6d1e\uff0c\u8fdc\u7a0b\u653b\u51fb\u8005\u53ef\u901a\u8fc7\u5c06PK\\x05\\x06\u7b7e\u540d\u653e\u5230\u65e0\u6548\u7684\u4f4d\u7f6e\uff0c\u83b7\u53d6\u8fdb\u7a0b\u5185\u5b58\u4e2d\u7684\u654f\u611f\u4fe1\u606f\uff0c\u6216\u8fdb\u884c\u62d2\u7edd\u670d\u52a1\u653b\u51fb\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 PHAR\u6269\u5c55\u2018phar_parse_zipfile\u2019\u51fd\u6570\u7f13\u51b2\u533a\u6ea2\u51fa\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": [
      "PHP PHP \u003c5.5.33",
      "PHP PHP 5.6.x\u003c5.6.19"
    ]
  },
  "referenceLink": "https://php.net/ChangeLog-5.php",
  "serverity": "\u4e2d",
  "submitTime": "2016-04-03",
  "title": "PHP PHAR\u6269\u5c55\u2018phar_parse_zipfile\u2019\u51fd\u6570\u7f13\u51b2\u533a\u6ea2\u51fa\u6f0f\u6d1e"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…