cbcvebase.
CVE-2022-22947
published 2022-03-03

CVE-2022-22947: In spring cloud gateway versions prior to 3.1.1+ and 3.0.7+ , applications are vulnerable to a code injection attack when the Gateway Actuator endpoint is…

PriorityP1100critical10CVSS 3.1
AVNACLPRNUINSCCHIHAH
KEVITWEXPLOITInitial access
CISA Known Exploited Vulnerabilitydue 2022-06-06
Exploited in the wild
EPSS
98.25%
99.9th percentile
In spring cloud gateway versions prior to 3.1.1+ and 3.0.7+ , applications are vulnerable to a code injection attack when the Gateway Actuator endpoint is enabled, exposed and unsecured. A remote attacker could make a maliciously crafted request that could allow arbitrary remote execution on the remote host.

Affected

17 ranges
VendorProductVersion rangeFixed in
oraclecommerce_guided_search——
oraclecommunications_cloud_native_core_binding_support_function——
oraclecommunications_cloud_native_core_binding_support_function——
oraclecommunications_cloud_native_core_console——
oraclecommunications_cloud_native_core_network_exposure_function——
oraclecommunications_cloud_native_core_network_function_cloud_native_environment——
oraclecommunications_cloud_native_core_network_repository_function——
oraclecommunications_cloud_native_core_network_repository_function——
oraclecommunications_cloud_native_core_network_repository_function——
oraclecommunications_cloud_native_core_network_repository_function——
oraclecommunications_cloud_native_core_network_slice_selection_function——
oraclecommunications_cloud_native_core_network_slice_selection_function——
oraclecommunications_cloud_native_core_security_edge_protection_proxy——
oraclecommunications_cloud_native_core_service_communication_proxy——
vmwarespring_cloud_gateway< 3.0.73.0.7
vmwarespring_cloud_gateway——
vmwarespring_cloud_gateway——

Detection & IOCsextracted from sources · hover to see the quote

url/actuator/gateway/routes↗
url/gateway/routes↗
url/gateway/routes/new_route_name↗
ip169.254.169.254↗
  • →Probe for CVE-2022-22947 by detecting HTTP GET requests to /actuator/gateway/routes or /gateway/routes returning HTTP 200 with JSON fields 'predicate' or 'route_id' — indicates the endpoint is enabled and unauthenticated. ↗
  • →Detect exploitation attempts as HTTP POST requests to /gateway/routes/<route_name> used to create malicious routes, followed by a refresh call — the core exploit primitive for CVE-2022-22947 RCE. ↗
  • →Alert on HTTP requests to /actuator/gateway/routes or /gateway/routes followed by requests targeting http://169.254.169.254 (AWS IMDS), indicating SSRF abuse via the gateway endpoint. ↗
  • →CVE-2022-22947 is actively exploited by the NadMesh botnet at 6.48% of observed exploit traffic; hunt for the drop paths /dev/shm/.a, /var/tmp/.a, /tmp/.a and cron persistence at /etc/cron.d/.sys_monitor and /etc/cron.d/.s on Spring Cloud Gateway hosts. ↗
  • →NadMesh agent binaries are packed with UPX -9 and obfuscated with Garble with random padding, meaning no two samples share a hash; rely on behavioral/path-based detection rather than hash matching alone. ↗
  • →Monitor for exfiltration of ~/.aws/config, .env, and ~/.docker/config.json from Spring Cloud Gateway hosts, as NadMesh specifically harvests these post-exploitation. ↗
  • →NadMesh auto-blacklists targets that absorb 10 deployment attempts without response, treating them as honeypots — honeypot operators should expect to see exactly 10 attempts before the source stops. ↗
  • ·The SSRF abuse path to AWS IMDS via the gateway endpoint only succeeds if IMDSv1 is enabled on the host; IMDSv2 will return 401 Unauthorized, blocking credential retrieval. ↗
  • ·The NadMesh botnet C2 IP, domain, and SHA1 hash are from a single observed build; due to per-build randomized packing/obfuscation, the hash will not match other NadMesh agent variants. ↗

CVSS provenance

nvdv3.110.0CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
vulncheck10.0CRITICAL
cisa10.0CRITICAL
vendor_oracle10.0CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.