CNVD-2019-04907

Vulnerability from cnvd - Published: 2019-02-21
VLAI
Title
Gogs目录遍历漏洞
Description
Gogs(又名Go Git Service)是Gogs团队开发的一个基于Go语言的自助Git托管服务,它支持创建、迁移公开/私有仓库,添加、删除仓库协作者等。 Gogs 0.11.82.1218之前版本中的pkg/tool/path.go文件的文件上传功能存在目录遍历漏洞。攻击者可利用该漏洞在服务器上的data/sessions目录下创建文件。
Severity
Patch Name
Gogs目录遍历漏洞的补丁
Patch Description
Gogs(又名Go Git Service)是Gogs团队开发的一个基于Go语言的自助Git托管服务,它支持创建、迁移公开/私有仓库,添加、删除仓库协作者等。 Gogs 0.11.82.1218之前版本中的pkg/tool/path.go文件的文件上传功能存在目录遍历漏洞。攻击者可利用该漏洞在服务器上的data/sessions目录下创建文件。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

厂商已发布漏洞修复程序,请及时关注更新: https://github.com/gogs/gogs/commit/ff93d9dbda5cebe90d86e4b7dfb2c6b8642970ce

Reference
https://nvd.nist.gov/vuln/detail/CVE-2018-20303
Impacted products
Name
Gogs Gogs <0.11.82.1218
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2018-20303"
    }
  },
  "description": "Gogs\uff08\u53c8\u540dGo Git Service\uff09\u662fGogs\u56e2\u961f\u5f00\u53d1\u7684\u4e00\u4e2a\u57fa\u4e8eGo\u8bed\u8a00\u7684\u81ea\u52a9Git\u6258\u7ba1\u670d\u52a1\uff0c\u5b83\u652f\u6301\u521b\u5efa\u3001\u8fc1\u79fb\u516c\u5f00/\u79c1\u6709\u4ed3\u5e93\uff0c\u6dfb\u52a0\u3001\u5220\u9664\u4ed3\u5e93\u534f\u4f5c\u8005\u7b49\u3002\n\nGogs 0.11.82.1218\u4e4b\u524d\u7248\u672c\u4e2d\u7684pkg/tool/path.go\u6587\u4ef6\u7684\u6587\u4ef6\u4e0a\u4f20\u529f\u80fd\u5b58\u5728\u76ee\u5f55\u904d\u5386\u6f0f\u6d1e\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u5728\u670d\u52a1\u5668\u4e0a\u7684data/sessions\u76ee\u5f55\u4e0b\u521b\u5efa\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/gogs/gogs/commit/ff93d9dbda5cebe90d86e4b7dfb2c6b8642970ce",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2019-04907",
  "openTime": "2019-02-21",
  "patchDescription": "Gogs\uff08\u53c8\u540dGo Git Service\uff09\u662fGogs\u56e2\u961f\u5f00\u53d1\u7684\u4e00\u4e2a\u57fa\u4e8eGo\u8bed\u8a00\u7684\u81ea\u52a9Git\u6258\u7ba1\u670d\u52a1\uff0c\u5b83\u652f\u6301\u521b\u5efa\u3001\u8fc1\u79fb\u516c\u5f00/\u79c1\u6709\u4ed3\u5e93\uff0c\u6dfb\u52a0\u3001\u5220\u9664\u4ed3\u5e93\u534f\u4f5c\u8005\u7b49\u3002\r\n\r\nGogs 0.11.82.1218\u4e4b\u524d\u7248\u672c\u4e2d\u7684pkg/tool/path.go\u6587\u4ef6\u7684\u6587\u4ef6\u4e0a\u4f20\u529f\u80fd\u5b58\u5728\u76ee\u5f55\u904d\u5386\u6f0f\u6d1e\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u5728\u670d\u52a1\u5668\u4e0a\u7684data/sessions\u76ee\u5f55\u4e0b\u521b\u5efa\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": "Gogs\u76ee\u5f55\u904d\u5386\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": "Gogs Gogs \u003c0.11.82.1218"
  },
  "referenceLink": "https://nvd.nist.gov/vuln/detail/CVE-2018-20303",
  "serverity": "\u4e2d",
  "submitTime": "2018-12-20",
  "title": "Gogs\u76ee\u5f55\u904d\u5386\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…