该存储库包含一个基于 Rust 的漏洞利用程序,针对在 Spring Cloud Function 3.1.6、3.2.2 及更早的不受支持版本中发现的 CVE-2022-22963 漏洞。该漏洞允许通过将特制 Spring 表达式(SpEL)用作 routing-expression 来实现远程代码执行并访问本地资源。
在 Spring Cloud Function 3.1.6、3.2.2 及更早的不受支持版本中,使用路由功能时,用户可以提供特制的 SpEL 作为 routing-expression,这可能导致远程代码执行并访问本地资源。
该漏洞利用程序允许你:
1. Test if the Spring Cloud Function is vulnerable
2. Send shellcode for a shell
3. Enter custom commands
Spring Cloud Function 3.1.6
Spring Cloud Function 3.2.2
Older, unsupported versions
受影响版本的用户应升级到 3.1.7 或 3.2.3。无需其他步骤。已修复此问题的版本包括:
Spring Cloud Function 3.1.7
Spring Cloud Function 3.2.3
1. Clone this repository.
2. Ensure you have Rust and Cargo installed.
3. Compile the exploit using cargo build --release.
4. Run the compiled binary found in the target/release directory, providing the target IP address when prompted.
5. Select an option from the menu and follow the instructions.
该漏洞最初由 m09u3r 发现并负责任地报告。