CNVD-2020-64593

Vulnerability from cnvd - Published: 2020-11-19
VLAI
Title
osm-static-maps代码注入漏洞
Description
osm-static-maps是个人开发者的一个类似于谷歌静态地图的Npm库。 osm-static-maps 所有版本存在注入漏洞,该漏洞提供给程序包的用户输入将直接传递到模板,而未能转义。攻击者可利用该漏洞注入任意HTML/JS代码。它会在页面上以HTML格式输出,这为XSS提供了机会,也可以在服务器(操纵up)上呈现,这也为SSRF和本地文件读取提供了机会。
Severity
Patch Name
osm-static-maps代码注入漏洞的补丁
Patch Description
osm-static-maps是个人开发者的一个类似于谷歌静态地图的Npm库。 osm-static-maps 所有版本存在注入漏洞,该漏洞提供给程序包的用户输入将直接传递到模板,而未能转义。攻击者可利用该漏洞注入任意HTML/JS代码。它会在页面上以HTML格式输出,这为XSS提供了机会,也可以在服务器(操纵up)上呈现,这也为SSRF和本地文件读取提供了机会。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

目前厂商已发布升级补丁以修复漏洞,补丁获取链接: https://github.com/jperelli/osm-static-maps/pull/24

Reference
https://nvd.nist.gov/vuln/detail/CVE-2020-7749
Impacted products
Name
osm-static-maps osm-static-maps
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2020-7749",
      "cveUrl": "https://nvd.nist.gov/vuln/detail/CVE-2020-7749"
    }
  },
  "description": "osm-static-maps\u662f\u4e2a\u4eba\u5f00\u53d1\u8005\u7684\u4e00\u4e2a\u7c7b\u4f3c\u4e8e\u8c37\u6b4c\u9759\u6001\u5730\u56fe\u7684Npm\u5e93\u3002\n\nosm-static-maps \u6240\u6709\u7248\u672c\u5b58\u5728\u6ce8\u5165\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u63d0\u4f9b\u7ed9\u7a0b\u5e8f\u5305\u7684\u7528\u6237\u8f93\u5165\u5c06\u76f4\u63a5\u4f20\u9012\u5230\u6a21\u677f\uff0c\u800c\u672a\u80fd\u8f6c\u4e49\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u6ce8\u5165\u4efb\u610fHTML/JS\u4ee3\u7801\u3002\u5b83\u4f1a\u5728\u9875\u9762\u4e0a\u4ee5HTML\u683c\u5f0f\u8f93\u51fa\uff0c\u8fd9\u4e3aXSS\u63d0\u4f9b\u4e86\u673a\u4f1a\uff0c\u4e5f\u53ef\u4ee5\u5728\u670d\u52a1\u5668\uff08\u64cd\u7eb5up\uff09\u4e0a\u5448\u73b0\uff0c\u8fd9\u4e5f\u4e3aSSRF\u548c\u672c\u5730\u6587\u4ef6\u8bfb\u53d6\u63d0\u4f9b\u4e86\u673a\u4f1a\u3002",
  "formalWay": "\u76ee\u524d\u5382\u5546\u5df2\u53d1\u5e03\u5347\u7ea7\u8865\u4e01\u4ee5\u4fee\u590d\u6f0f\u6d1e\uff0c\u8865\u4e01\u83b7\u53d6\u94fe\u63a5\uff1a\r\nhttps://github.com/jperelli/osm-static-maps/pull/24",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2020-64593",
  "openTime": "2020-11-19",
  "patchDescription": "osm-static-maps\u662f\u4e2a\u4eba\u5f00\u53d1\u8005\u7684\u4e00\u4e2a\u7c7b\u4f3c\u4e8e\u8c37\u6b4c\u9759\u6001\u5730\u56fe\u7684Npm\u5e93\u3002\r\n\r\nosm-static-maps \u6240\u6709\u7248\u672c\u5b58\u5728\u6ce8\u5165\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u63d0\u4f9b\u7ed9\u7a0b\u5e8f\u5305\u7684\u7528\u6237\u8f93\u5165\u5c06\u76f4\u63a5\u4f20\u9012\u5230\u6a21\u677f\uff0c\u800c\u672a\u80fd\u8f6c\u4e49\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u6ce8\u5165\u4efb\u610fHTML/JS\u4ee3\u7801\u3002\u5b83\u4f1a\u5728\u9875\u9762\u4e0a\u4ee5HTML\u683c\u5f0f\u8f93\u51fa\uff0c\u8fd9\u4e3aXSS\u63d0\u4f9b\u4e86\u673a\u4f1a\uff0c\u4e5f\u53ef\u4ee5\u5728\u670d\u52a1\u5668\uff08\u64cd\u7eb5up\uff09\u4e0a\u5448\u73b0\uff0c\u8fd9\u4e5f\u4e3aSSRF\u548c\u672c\u5730\u6587\u4ef6\u8bfb\u53d6\u63d0\u4f9b\u4e86\u673a\u4f1a\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": "osm-static-maps\u4ee3\u7801\u6ce8\u5165\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": "osm-static-maps osm-static-maps"
  },
  "referenceLink": "https://nvd.nist.gov/vuln/detail/CVE-2020-7749",
  "serverity": "\u4e2d",
  "submitTime": "2020-10-22",
  "title": "osm-static-maps\u4ee3\u7801\u6ce8\u5165\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…