cnvd-2016-00416
Vulnerability from cnvd

Title: cgit CRLF注入漏洞

Description:

cgit是一个用C语言编写的用于git存储库的Web前端。

cgit 0.12之前版本的ui-shared.c文件中的‘cgit_print_http_headers’函数存在CRLF注入漏洞。远程攻击者可通过文件名中的换行符利用该漏洞以‘写入资源库权限’注入任意HTTP头,实施HTTP响应拆分攻击或跨站脚本攻击。

Severity:

Patch Name: cgit CRLF注入漏洞的补丁

Patch Description:

cgit是一个用C语言编写的用于git存储库的Web前端。

cgit 0.12之前版本的ui-shared.c文件中的‘cgit_print_http_headers’函数存在CRLF注入漏洞。远程攻击者可通过文件名中的换行符利用该漏洞以‘写入资源库权限’注入任意HTTP头,实施HTTP响应拆分攻击或跨站脚本攻击。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。

Formal description:

目前厂商已经发布了升级补丁以修复这个安全问题,请用户及时下载更新: http://www.openwall.com/lists/oss-security/2016/01/14/3

Reference: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-1900

Impacted products
Name
cgit cgit < 0.12
Show details on source website


{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2016-1900"
    }
  },
  "description": "cgit\u662f\u4e00\u4e2a\u7528C\u8bed\u8a00\u7f16\u5199\u7684\u7528\u4e8egit\u5b58\u50a8\u5e93\u7684Web\u524d\u7aef\u3002\r\n\r\ncgit 0.12\u4e4b\u524d\u7248\u672c\u7684ui-shared.c\u6587\u4ef6\u4e2d\u7684\u2018cgit_print_http_headers\u2019\u51fd\u6570\u5b58\u5728CRLF\u6ce8\u5165\u6f0f\u6d1e\u3002\u8fdc\u7a0b\u653b\u51fb\u8005\u53ef\u901a\u8fc7\u6587\u4ef6\u540d\u4e2d\u7684\u6362\u884c\u7b26\u5229\u7528\u8be5\u6f0f\u6d1e\u4ee5\u2018\u5199\u5165\u8d44\u6e90\u5e93\u6743\u9650\u2019\u6ce8\u5165\u4efb\u610fHTTP\u5934\uff0c\u5b9e\u65bdHTTP\u54cd\u5e94\u62c6\u5206\u653b\u51fb\u6216\u8de8\u7ad9\u811a\u672c\u653b\u51fb\u3002",
  "discovererName": "unknown",
  "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\u7528\u6237\u53ca\u65f6\u4e0b\u8f7d\u66f4\u65b0\uff1a\r\nhttp://www.openwall.com/lists/oss-security/2016/01/14/3",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2016-00416",
  "openTime": "2016-01-22",
  "patchDescription": "cgit\u662f\u4e00\u4e2a\u7528C\u8bed\u8a00\u7f16\u5199\u7684\u7528\u4e8egit\u5b58\u50a8\u5e93\u7684Web\u524d\u7aef\u3002\r\n\r\ncgit 0.12\u4e4b\u524d\u7248\u672c\u7684ui-shared.c\u6587\u4ef6\u4e2d\u7684\u2018cgit_print_http_headers\u2019\u51fd\u6570\u5b58\u5728CRLF\u6ce8\u5165\u6f0f\u6d1e\u3002\u8fdc\u7a0b\u653b\u51fb\u8005\u53ef\u901a\u8fc7\u6587\u4ef6\u540d\u4e2d\u7684\u6362\u884c\u7b26\u5229\u7528\u8be5\u6f0f\u6d1e\u4ee5\u2018\u5199\u5165\u8d44\u6e90\u5e93\u6743\u9650\u2019\u6ce8\u5165\u4efb\u610fHTTP\u5934\uff0c\u5b9e\u65bdHTTP\u54cd\u5e94\u62c6\u5206\u653b\u51fb\u6216\u8de8\u7ad9\u811a\u672c\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": "cgit CRLF\u6ce8\u5165\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": "cgit cgit \u003c 0.12"
  },
  "referenceLink": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-1900",
  "serverity": "\u4e2d",
  "submitTime": "2016-01-21",
  "title": "cgit CRLF\u6ce8\u5165\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…