Skip to content
Pluralsight Logo
  • Pluralsight
  • Skills
  • Flow
  • Blog
    • Sign in to

      Sign in to Pluralsight Skills
    • Sign in to

      Sign in to Pluralsight Flow
Logo for Pluralsight Skills
Pluralsight Logo
  • Sign in
  • Menu
  • Sign in to Pluralsight Skills

    Sign in to Skills

  • Sign in to Pluralsight Flow

    Sign in to Flow

  • Pluralsight
  • Skills
  • Flow
  • Blog
  • Why Skills?
    • Ways to upskill
    • Icon for Courses Courses
    • Icon for Skills assessments Skill assessments
    • Icon for Labs Labs
    • Icon for Hands-on learning Hands-on learning
    • Icon for Certification prep Certification prep
    • See our entire course library
    • Skills for
    • Icon for Software development Software development
    • Icon for IT ops IT Ops
    • Icon for Info & cyber security Info & cybersecurity
    • Icon for Cloud computing Cloud computing
    • Icon for Machine learning Machine learning
    • Icon for Data professional Data professional
    • For individuals
    • Top trending paths
    • Microsoft Azure Deployment
      Microsoft Azure
    • Cleaning Data with R
      Cleaning data with R
    • Ruby Language Fundamentals
      Ruby Language Fundamentals
    • AWS Operations
      AWS Operations
    • Core Python
      Core Python
  • View plans
  • For individuals
  • Contact Sales
  • Try for free

Contact Sales

1020 Redirect Link
Thank you!
Our team will be in touch shortly.

Loading form...

If this message remains, it may be due to cookies being disabled or to an ad blocker.

Close button
✖
Pluralsight Skills
Pluralsight Skills

50% off

50% off

Annual Standard and Premium plans

Annual Standard and Premium plans

For a limited time

For a limited time

Save now
Save now
Pluralsight Skills
Pluralsight Skills

50% off

50% off

Annual Standard and Premium plans

Annual Standard and Premium plans

For a limited time

For a limited time

Save now
Save now
pluralsight skills logo

50% off

Annual Standard and Premium plans

For a limited time

Save now
✖
Pluralsight Skills
Pluralsight Skills

50% off

50% off

Annual Standard and Premium plans

Annual Standard and Premium plans

For a limited time

For a limited time

Save now
Save now
Pluralsight Skills
Pluralsight Skills

50% off

50% off

Annual Standard and Premium plans

Annual Standard and Premium plans

For a limited time

For a limited time

Save now
Save now
pluralsight skills logo

50% off

Annual Standard and Premium plans

For a limited time

Save now
×
AWS Labs
Labs badge iconLAB

CVE-2022-22965 Spring4Shell: Emulation and Detection

In this lab, you’ll practice attacking and defending against the Spring4Shell (CVE-2022-22965) vulnerability. When you’re finished, you’ll have a thorough understanding of how the exploit works, and how it can be detected.

* Our Labs are Available for Enterprise and Professional plans only.
Terms and conditions apply.
Contact sales
Labs - CVE-2022-22965 Spring4Shell: Emulation and Detection

Lab info

Level
Beginner
Duration
1h 5m
Released
Jan 26, 2023

Lab author

Lab Author: Riley Kidd
Riley Kidd
Riley has technical security consultancy experience – leading and building teams to deliver projects and outcomes for clients. He has created and facilitated technical trainings across secure coding, python for hackers, offensive operations, and Capture The Flag competitions. Riley has created technical educational content across YouTube, TCM Academy, and his personal Capture The Flag platform – 247CTF. Riley holds a number of certifications including OSCP, OSCE, OSED, CRTO, CEH, CISA, CISSP, C... moreREST CRT and CREST CCT. He has also completed a Bachelor of Software Engineering degree with honours from the Australian National University.
  • Table of contents
  • What's a lab?
  • Prerequisites
Challenge

Getting Started in the Lab Environment

Here are the initial instructions and explanation of the lab environment. Read this while your environment is busy creating itself from nothing. Yes, this violates physics; we know. How fun!

Challenge

Emulation

In this challenge, you will be provided with an environment containing a web application vulnerable to CVE-2022-22965. You will walk through the steps required to identify Spring4Shell and build out a proof of concept to exploit the vulnerability in order to create and interface with a web shell. The learner will conceptually understand the root cause of Spring4Shell, as well as how to exploit the vulnerability and gain remote code execution on a vulnerable remote system via a web shell.

Challenge

Detection

In this challenge, you will access and analyze the log files of the reverse proxy web application serving the Tomcat application vulnerable to CVE-2022-22965 Spring4Shell. Due to the (known) exploitation requirements of the vulnerability, Spring4Shell abuse requires the use of specific strings and inputs, which can be used to identify attempted and successful exploitation - and thereafter analyze the activities the attacker performed. You will understand how to identify Spring4Shell exploitation in log files, and understand how to analyze the actions the attacker performed via the web server.

Challenge

Protection

In this challenge, you will examine and implement mechanisms to protect against CVE-2022-22965. The formal and correct solution of upgrading the vulnerable software will be discussed, and an alternative method of using a web application firewall at the ingress edge will be demonstrated (which has defense in depth merits, for example in a large organization where patching is difficult, assets are unknown, 3rd party applications are in use, or an immediate response to a new vulnerability is required). You will understand how to implement a web application firewall with a custom ruleset to identify and protect against new, or unknown vulnerabilities (in this specific case, CVE-2022-22965).

Challenge

The Last Challenge

Welcome to the final challenge! This is your last chance to experiment in the environment. Clicking Finish Lab will end this little world that flittered into existence just for you.

Labs - code icon

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Labs - list icon

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Labs - analytic icon

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Recommended prerequisites

  • Linux command line tools (such as grep, less, vim, and curl)
  • Understanding of Docker
  • Understanding of reverse proxies

Start learning by doing today

Contact sales

Contact Sales

1020 Redirect Link
Thank you!
Our team will be in touch shortly.

Loading form...

If this message remains, it may be due to cookies being disabled or to an ad blocker.

Close button

Ready to skill up
your entire team?

10
Subscriptions
Need more subscriptions? Contact sales.
Continue to checkout Continue to checkout
Cancel

With your Pluralsight plan, you can:

With your 30-day pilot, you can:

  • Access thousands of videos to develop critical skills
  • Give up to 10 users access to thousands of video courses
  • Practice and apply skills with interactive courses and projects
  • See skills, usage, and trend data for your teams
  • Prepare for certifications with industry-leading practice exams
  • Measure proficiency across skills and roles
  • Align learning to your goals with paths and channels

Ready to skill up
your entire team?

10
Subscriptions
Need more subscriptions? Contact sales.
Continue to checkout
Cancel

With your Pluralsight plan, you can:

With your 30-day pilot, you can:

  • Access thousands of videos to develop critical skills
  • Give up to 10 users access to thousands of video courses
  • Practice and apply skills with interactive courses and projects
  • See skills, usage, and trend data for your teams
  • Prepare for certifications with industry-leading practice exams
  • Measure proficiency across skills and roles
  • Align learning to your goals with paths and channels
  • Support

    • Contact
    • Help Center
    • IP Allowlist
    • Site Map
    • Download Pluralsight
    • Skills Plans
    • Flow Plans
  • Community

    • Guides
    • Teach
    • Partner with Pluralsight
    • Affiliate Partners
    • Pluralsight One
    • Authors
  • Company

    • About Us
    • Careers
    • Newsroom
    • Resources
  • Industries

    • Public Sector
    • Non-Profit

Newsletter

Sign up with your email to join our mailing list.

1041 Redirect Link Form Submitted Successfully!

Loading form...

If this message remains, it may be due to cookies being disabled or to an ad blocker.

  • Facebook Logo Icon
  • Twitter Logo Icon
  • Instagram Logo Icon
  • LinkedIn Logo Icon
  • Youtube Logo Icon
Pluralsight Logo Copyright © 2004 - 2023 Pluralsight LLC. All rights reserved
  • Terms of Use
  • Privacy Notice
  • Modern Slavery Statement