
CVE-2022-22963 취약점을 위한 Rust 기반 익스플로잇
이 저장소는 Spring Cloud Function 버전 3.1.6, 3.2.2 및 지원되지 않는 구버전에서 발견된 CVE-2022-22963 취약점을 위한 Rust 기반 익스플로잇을 포함합니다. 이 취약점은 라우팅 표현식(routing-expression)으로 사용되는 특수하게 조작된 Spring Expression(SpEL)을 통해 원격 코드 실행 및 로컬 리소스 접근을 허용합니다.
Spring Cloud Function 버전 3.1.6, 3.2.2 및 지원되지 않는 구버전에서 라우팅 기능을 사용할 때, 사용자가 라우팅 표현식으로 특수하게 조작된 SpEL을 제공하여 원격 코드 실행 및 로컬 리소스 접근이 가능할 수 있습니다.
이 익스플로잇을 사용하면 다음을 수행할 수 있습니다:
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에 의해 발견되어 책임감 있게 보고되었습니다.