Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PRP: Request Spring Cloud Gateway Actuator API SpEL Code Injection (CVE-2022-22947) #231

Closed
hh-hunter opened this issue Mar 3, 2022 · 3 comments

Comments

@hh-hunter
Copy link
Contributor

hh-hunter commented Mar 3, 2022

Hello.

I would like to start implementing a plugin to detect Spring Cloud Gateway Actuator API SpEL Code Injection (CVE-2022-22947)

This vulnerability should be relatively new and has been patched.

https://spring.io/blog/2022/03/01/spring-cloud-gateway-cve-reports-published
https://wya.pl/2022/02/26/cve-2022-22947-spel-casting-and-evil-beans/
https://tanzu.vmware.com/security/cve-2022-22947

This exploit is so new that there is no nvd rating yet, I will update this description once nvd updates the rating

Spring Cloud Gateway provides a library for building an API Gateway on top of Spring WebFlux.
Applications using Spring Cloud Gateway in the version prior to 3.1.0 and 3.0.6, 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.

The vulnerability can be exploited remotely without authentication and user interaction.

Please let me know if this is in scope to start with its development.

@maoning
Copy link
Collaborator

maoning commented Mar 10, 2022

Hi @hh-hunter,

Thanks for your request! This vulnerability is in scope for the reward program. Please submit our participation form and you can start working on the development.

Please keep in mind that the Tsunami Scanner Team will only be able to work at one issue at a time for each participant so please hold on the implementation work for any other requests you might have.

Thanks!

@hh-hunter
Copy link
Contributor Author

@maoning The #189 issue has been merged, but I haven't received the bonus notification email, is there something wrong?

@hh-hunter
Copy link
Contributor Author

hi, @maoning @magl0 I noticed that #232 has been merged, can we open the next PR?
#220
#228
#217

@maoning maoning closed this as completed Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants