Remote code execution in Spring Data MongoDB



| Updated: 2022-07-14
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-22980
CWE-ID CWE-917
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Spring Data MongoDB
Other software / Other software solutions

Vendor Spring

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Expression Language Injection

EUVDB-ID: #VU64524

Risk: High

CVSSv4.0: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber]

CVE-ID: CVE-2022-22980

CWE-ID: CWE-917 - Improper Neutralization of Special Elements used in an Expression Language Statement

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to SpEL injection issue through annotated repository query methods. A remote attacker can execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Spring Data MongoDB: 3.3.0 - 3.4.0

CPE2.3 External links

https://tanzu.vmware.com/security/cve-2022-22980


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###