← All posts
service-cve

Spring Framework — CVE-2022-22947: a hands-on walkthrough

· RuSecure · 2 min read

Launch this lab →

Spring Cloud Gateway SpEL RCE (affected: 3.1.0)

What you'll practice

This lab pins one application to one vulnerable build so you can study a single issue in isolation — Spring Cloud Gateway SpEL RCE (affected: 3.1.0) Reproduce the published technique against port 8080 (spring), confirm you have triggered CVE-2022-22947, and watch exactly what the service does in response. Because nothing else is moving, every log line you see belongs to the exploit.

ATT&CK techniques in play:

  • T1190 Exploit Public-Facing Application
  • T1059 Command & Scripting Interpreter

Tactics: Initial Access

Launch it on BreakPoint Labs

  1. Open the lab from the catalog and hit Launch.
  2. Pick a target — VPS (Docker on a server, recommended). On a VPS the lab binds to the WireGuard VPN address only, so it's never exposed on the public internet.
  3. Connect to the VPN, then reach the service on port 8080 (spring). Any default credentials appear on the deployment's Access tab.
  4. When you're done, Destroy tears everything down and leaves nothing running.

Sizing: this lab asks for about 1 GB RAM; the platform checks your target has room before it deploys.

Detect it

A fixed app + fixed version + fixed CVE is the ideal detection-engineering target. Capture the exploit request and the post-exploitation behaviour (new process, web shell, outbound callback), then write a Sigma rule against the service and system logs and tune it until it fires on the exploit but not on normal traffic. Pair it with the Splunk Attack Range lab to practise the full detect-and-respond loop.

Deploy this lab in minutes on BreakPoint Labs — pick where it runs, get an isolated, VPN-only instance, and tear it down when you're finished.