Patchfirst
CVE-2022-29464 KEVRansomwarePublic exploit Critical · 9.8 EPSS >99.9%

WSO2 Multiple Products Unrestrictive Upload of File Vulnerability

WSO2 · Multiple Products

Summary

The flaw is an unrestricted file upload in multiple WSO2 products, including API Manager, Identity Server, Identity Server as Key Manager, Enterprise Integrator and Open Banking AM and KM, where directory traversal via a Content-Disposition sequence on the /fileupload endpoint lets uploaded files be written outside the intended location. An attacker with network access and no authentication or user interaction can send a crafted upload that places a file under the web root, such as the repository/deployment/server/webapps directory, leading to remote code execution.

Official description · NVD

Certain WSO2 products allow unrestricted file upload with resultant remote code execution. The attacker must use a /fileupload endpoint with a Content-Disposition directory traversal sequence to reach a directory under the web root, such as a ../../../../repository/deployment/server/webapps directory. This affects WSO2 API Manager 2.2.0 up to 4.0.0, WSO2 Identity Server 5.2.0 up to 5.11.0, WSO2 Identity Server Analytics 5.4.0, 5.4.1, 5.5.0 and 5.6.0, WSO2 Identity Server as Key Manager 5.3.0 up to 5.11.0, WSO2 Enterprise Integrator 6.2.0 up to 6.6.0, WSO2 Open Banking AM 1.4.0 up to 2.0.0 and WSO2 Open Banking KM 1.4.0, up to 2.0.0.

Breakdown
79.9 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
3/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

  3. What can follow

First seen exploited 4 days after disclosure. Public exploit code (Metasploit) was available 17 days before disclosure.

  1. Public exploit codeMetasploit17 days before
  2. Disclosedday 0
  3. First seen exploitedVulnCheck KEV evidence+4 days
  4. Added to CISA KEVknown ransomware use; EU database agrees+7 days

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

3 , grouped by in kill-chain order 3

Initial AccessTA0001

MITRE CTID mapping of the KEV entry · how it is exploited

CVE-2022-29464 is an unrestricted file upload vulnerability where an adversary can upload arbitrary files and, due to a directory traversal issue, write files to locations where they can then send commands. Adversaries have been seen to use this to mine cryptocurrency.

Stealth

MITRE CTID mapping of the KEV entry · primary impact

ImpactTA0040

MITRE CTID mapping of the KEV entry · follow-on activity

Detection

0 rules for this CVE · 203 general rules for its techniques

Rules for this CVE

0 that reference CVE-2022-29464 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

General rules for this CVE’s techniques

These detect the technique in general, not this specific vulnerability.

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

5 links, grouped by NVD tag (4 duplicates merged)
↑ ↓ chooseEnter openEsc close