cve-2022-22965(spring core rce 漏洞)造成的影响可能没有想象中大? - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
yazinnnn
V2EX    Java

cve-2022-22965(spring core rce 漏洞)造成的影响可能没有想象中大?

  •  
  •   yazinnnn Apr 1, 2022 3634 views
    This topic created in 1489 days ago, the information mentioned may be changed or developed.

    https://spring.io/blog/2022/03/31/spring-framework-rce-early-announcement

    https://tanzu.vmware.com/security/cve-2022-22965

    Vulnerability The vulnerability impacts Spring MVC and Spring WebFlux applications running on JDK 9+. The specific exploit requires the application to run on Tomcat as a WAR deployment. If the application is deployed as a Spring Boot executable jar, i.e. the default, it is not vulnerable to the exploit. However, the nature of the vulnerability is more general, and there may be other ways to exploit it.

    Am I Impacted? These are the requirements for the specific scenario from the report:

    JDK 9 or higher Apache Tomcat as the Servlet container Packaged as a traditional WAR (in contrast to a Spring Boot executable jar) spring-webmvc or spring-webflux dependency Spring Framework versions 5.3.0 to 5.3.17, 5.2.0 to 5.2.19, and older versions However, the nature of the vulnerability is more general, and there may be other ways to exploit it that have not been reported yet.


    需要打包成 war + jdk9+版本才会触发漏洞

    新项目一般都是 jar 打包,老项目一般不用 jdk9+,是不是这个道理?

    9 replies    2022-04-01 16:01:19 +08:00
    XhstormR02
        1
    XhstormR02  
       Apr 1, 2022 via Android
    right 新架构都是 jar 包跑了 老架构还在用 jdk8 笑死
    XhstormR02
        2
    XhstormR02  
       Apr 1, 2022 via Android
    是不排除有其他利用方式 除了 tomcat
    annt123
        3
    annt123  
       Apr 1, 2022   1
    通杀的 POC 没放出来
    Phoa
        4
    Phoa  
       Apr 1, 2022
    雷声大雨点小
    chendy
        5
    chendy  
       Apr 1, 2022
    总有人想搞个大新闻
    dbpe
        6
    dbpe  
       Apr 1, 2022
    @annt123 spring 通杀?
    lanyi96
        7
    lanyi96  
       Apr 1, 2022
    不是,太片面了。jar 打包的只是无法写入 webshell,不代表没有其他方法 getshell 。
    yedanten
        8
    yedanten  
       Apr 1, 2022 via Android
    jre9+这一个条件就注定了没多大波及面
    v2orz
        9
    v2orz  
       Apr 1, 2022
    tomcat war 只是比较容易 getshell ,别的应该也可以
    About     Help     Advertise     Blog     API     FAQ     Solana     3401 Online   Highest 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 75ms UTC 11:03 PVG 19:03 LAX 04:03 JFK 07:03
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86