mirrornighth

CVE-2023-31419 es 漏洞除了升级版本还有其他解决方式吗?

  •  
  •   mirrornighth · Jun 27, 2024 · 6283 views
    This topic created in 872 days ago, the information mentioned may be changed or developed.
    5 replies  •  2024-06-28 10:24:40 +08:00
    retanoj
    retanoj
    Jun 27, 2024❤️1
    1
    影响是通过 _search API 传入一些特殊构造过的参数导致的 DoS

    如果业务场景是有用到这 API 的话,还是升级吧
    Mithril
    Mithril
    Jun 27, 2024
    2
    不想升级那就只能控制传入的请求了,比如你限定 search 请求只能由你的 app 发起,app 里不会传入由用户构造的内容。或者你是用 high level api client 直接构造的请求,那大概率是不会有问题的。

    当然该升级还是要升的
    mirrornighth
    mirrornighth
    OP
    Jun 27, 2024
    3
    @Mithril search 请求是由 app 发起的,想从代码层面规避这个问题,过滤屏蔽这些特殊查询字符,但不知道这个特殊查询字符具体是指什么:<
    Mithril
    Mithril
    Jun 27, 2024
    4
    @mirrornighth
    https://github.com/sqrtZeroKnowledge/Elasticsearch-Exploit-CVE-2023-31419

    照着 POC 看一下就知道了。如果你限定了只能从 App 发起请求,拒接了其他地方的请求,那大概率没啥问题的。
    mirrornighth
    mirrornighth
    OP
    Jun 28, 2024
    5
    @Mithril 这个我看了,感谢🙏
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1133 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 17:52 · PVG 01:52 · LAX 09:52 · JFK 12:52
    ♥ Do have faith in what you're doing.