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

CNVD-2022-21486

Vulnerability from cnvd - Published: 2022-03-22
VLAI
Title
Drogon访问控制错误漏洞
Description
Drogon是开源的一个基于 C++14/17 的 HTTP应用程序框架。Drogon 可用于使用 C++ 轻松构建各种类型的 Web 应用程序服务器程序。 Drogon framework中存在访问控制错误漏洞,该漏洞源于产品的HttpFile::save()方法在上传过程中未对文件名进行有效限制。攻击者可通过该漏洞将文件写入指定目标文件夹之外的任意位置。
Severity
Patch Name
Drogon访问控制错误漏洞的补丁
Patch Description
Drogon是开源的一个基于 C++14/17 的 HTTP应用程序框架。Drogon 可用于使用 C++ 轻松构建各种类型的 Web 应用程序服务器程序。 Drogon framework中存在访问控制错误漏洞,该漏洞源于产品的HttpFile::save()方法在上传过程中未对文件名进行有效限制。攻击者可通过该漏洞将文件写入指定目标文件夹之外的任意位置。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

目前厂商已发布升级补丁以修复漏洞,补丁获取链接: https://github.com/drogonframework/drogon/commit/3c785326c63a34aa1799a639ae185bc9453cb447

Reference
https://nvd.nist.gov/vuln/detail/CVE-2022-25297
Impacted products
Name
Drogon Drogon <1.7.5
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2022-25297"
    }
  },
  "description": "Drogon\u662f\u5f00\u6e90\u7684\u4e00\u4e2a\u57fa\u4e8e C++14/17 \u7684 HTTP\u5e94\u7528\u7a0b\u5e8f\u6846\u67b6\u3002Drogon \u53ef\u7528\u4e8e\u4f7f\u7528 C++ \u8f7b\u677e\u6784\u5efa\u5404\u79cd\u7c7b\u578b\u7684 Web \u5e94\u7528\u7a0b\u5e8f\u670d\u52a1\u5668\u7a0b\u5e8f\u3002\n\nDrogon framework\u4e2d\u5b58\u5728\u8bbf\u95ee\u63a7\u5236\u9519\u8bef\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u4ea7\u54c1\u7684HttpFile\uff1a\uff1asave()\u65b9\u6cd5\u5728\u4e0a\u4f20\u8fc7\u7a0b\u4e2d\u672a\u5bf9\u6587\u4ef6\u540d\u8fdb\u884c\u6709\u6548\u9650\u5236\u3002\u653b\u51fb\u8005\u53ef\u901a\u8fc7\u8be5\u6f0f\u6d1e\u5c06\u6587\u4ef6\u5199\u5165\u6307\u5b9a\u76ee\u6807\u6587\u4ef6\u5939\u4e4b\u5916\u7684\u4efb\u610f\u4f4d\u7f6e\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/drogonframework/drogon/commit/3c785326c63a34aa1799a639ae185bc9453cb447",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2022-21486",
  "openTime": "2022-03-22",
  "patchDescription": "Drogon\u662f\u5f00\u6e90\u7684\u4e00\u4e2a\u57fa\u4e8e C++14/17 \u7684 HTTP\u5e94\u7528\u7a0b\u5e8f\u6846\u67b6\u3002Drogon \u53ef\u7528\u4e8e\u4f7f\u7528 C++ \u8f7b\u677e\u6784\u5efa\u5404\u79cd\u7c7b\u578b\u7684 Web \u5e94\u7528\u7a0b\u5e8f\u670d\u52a1\u5668\u7a0b\u5e8f\u3002\r\n\r\nDrogon framework\u4e2d\u5b58\u5728\u8bbf\u95ee\u63a7\u5236\u9519\u8bef\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u4ea7\u54c1\u7684HttpFile\uff1a\uff1asave()\u65b9\u6cd5\u5728\u4e0a\u4f20\u8fc7\u7a0b\u4e2d\u672a\u5bf9\u6587\u4ef6\u540d\u8fdb\u884c\u6709\u6548\u9650\u5236\u3002\u653b\u51fb\u8005\u53ef\u901a\u8fc7\u8be5\u6f0f\u6d1e\u5c06\u6587\u4ef6\u5199\u5165\u6307\u5b9a\u76ee\u6807\u6587\u4ef6\u5939\u4e4b\u5916\u7684\u4efb\u610f\u4f4d\u7f6e\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": "Drogon\u8bbf\u95ee\u63a7\u5236\u9519\u8bef\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": "Drogon Drogon \u003c1.7.5"
  },
  "referenceLink": "https://nvd.nist.gov/vuln/detail/CVE-2022-25297",
  "serverity": "\u4e2d",
  "submitTime": "2022-02-23",
  "title": "Drogon\u8bbf\u95ee\u63a7\u5236\u9519\u8bef\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…