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

CNVD-2017-16019

Vulnerability from cnvd - Published: 2017-07-24
VLAI
Title
swagger-ui跨站脚本漏洞(CNVD-2017-16019)
Description
swagger-ui是一套API在线文档生成和测试工具。 swagger-ui 2.2.1之前的版本中存在跨站脚本漏洞。远程攻击者可利用该漏洞注入任意的Web脚本或HTML。
Severity
Patch Name
swagger-ui跨站脚本漏洞(CNVD-2017-16019)的补丁
Patch Description
swagger-ui是一套API在线文档生成和测试工具。 swagger-ui 2.2.1之前的版本中存在跨站脚本漏洞。远程攻击者可利用该漏洞注入任意的Web脚本或HTML。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

用户可参考如下厂商提供的安全补丁以修复该漏洞: https://github.com/swagger-api/swagger-ui

Reference
https://community.rapid7.com/community/infosec/blog/2016/09/02/r7-2016-19-persistent-xss-via-unescaped-parameters-in-swagger-ui https://nvd.nist.gov/vuln/detail/CVE-2016-5682
Impacted products
Name
Swagge Swagger-UI <2.2.1
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2016-5682",
      "cveUrl": "http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-5682"
    }
  },
  "description": "swagger-ui\u662f\u4e00\u5957API\u5728\u7ebf\u6587\u6863\u751f\u6210\u548c\u6d4b\u8bd5\u5de5\u5177\u3002\r\n\r\nswagger-ui 2.2.1\u4e4b\u524d\u7684\u7248\u672c\u4e2d\u5b58\u5728\u8de8\u7ad9\u811a\u672c\u6f0f\u6d1e\u3002\u8fdc\u7a0b\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u6ce8\u5165\u4efb\u610f\u7684Web\u811a\u672c\u6216HTML\u3002",
  "discovererName": "Scott Lee Davis, scott_davis@rapid7.com, Application Security Researcher, Rapid7",
  "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://github.com/swagger-api/swagger-ui",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2017-16019",
  "openTime": "2017-07-24",
  "patchDescription": "swagger-ui\u662f\u4e00\u5957API\u5728\u7ebf\u6587\u6863\u751f\u6210\u548c\u6d4b\u8bd5\u5de5\u5177\u3002\r\n\r\nswagger-ui 2.2.1\u4e4b\u524d\u7684\u7248\u672c\u4e2d\u5b58\u5728\u8de8\u7ad9\u811a\u672c\u6f0f\u6d1e\u3002\u8fdc\u7a0b\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u6ce8\u5165\u4efb\u610f\u7684Web\u811a\u672c\u6216HTML\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": "swagger-ui\u8de8\u7ad9\u811a\u672c\u6f0f\u6d1e\uff08CNVD-2017-16019\uff09\u7684\u8865\u4e01",
  "products": {
    "product": "Swagge Swagger-UI  \u003c2.2.1"
  },
  "referenceLink": "https://community.rapid7.com/community/infosec/blog/2016/09/02/r7-2016-19-persistent-xss-via-unescaped-parameters-in-swagger-ui\r\nhttps://nvd.nist.gov/vuln/detail/CVE-2016-5682",
  "serverity": "\u4e2d",
  "submitTime": "2017-06-29",
  "title": "swagger-ui\u8de8\u7ad9\u811a\u672c\u6f0f\u6d1e\uff08CNVD-2017-16019\uff09"
}



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…