Spring Core on JDK9 is vulnerable to remote code execution

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • SpringShell

    Spring4Shell - Spring Core RCE - CVE-2022-22965

  • There is a lot of bad information out there about this issue.

    What I have gathered so far, is that this is actually a real problem, but it may not affect most configurations.

    This[0] seems to be the original vulnerability analysis, and this is the example vulnerable app[1].

    The main issue seems to be, that since java 9, WebDataBinder can be abused to access the classloader via the "class.module.classloader", I'm unsure exactly why "class.classloader" doesn't work, but it is probably intentionally being filtered out somehow.

    The proof of concept, then access the "AccessLogValve" class via "class.classLoader.resources.context.parent.pipeline.first", which is only accessible if the application is running using a "WeappClassLoaderBase", it then configures the logger, to output an arbitrary JSP file to the webapp root directory, which can then be used to get a shell.

    It looks like this issue is only exploitable if your app is deployed as a war file.

    [0]: https://github.com/TheGejr/SpringShell/blob/master/Vulnerabi...

  • spring-rce-war

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • apache-tomcat-8.0.26-src

    Tomcat Source Code

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Any Spring Boot Beginner Reference Projects?

    1 project | /r/learnjava | 19 May 2023
  • Spring Cloud Gateway Combined with the Security Practice of OAuth2.0 Protocol

    2 projects | dev.to | 26 Mar 2023
  • Spring Boot JWT

    2 projects | /r/SpringBoot | 13 Apr 2022
  • Reddit alternative?

    2 projects | /r/selfhosted | 23 Aug 2021
  • How to create a custom message/error message in Spring controller and display it in template?

    1 project | /r/learnjava | 1 Aug 2021