CVE-2022-45802CWE-434

Apache StreamPark (incubating): Upload any file to any directory

Critical · published May 1, 2023

CVSS v3.1
9.8
EPSS
1%
Percentile
70.4
In the wild
Unconfirmed
What it is

🚨 Anyone can upload a JAR file to Streampark without verification, which is like letting random people toss any package into a delivery truck without checking the contents! 🔥 Think of it as a hotel that allows guests to drop off any luggage at the front desk without looking inside. One guest might have a suitcase filled with vacation clothes, while another could be sneaking in something far more dangerous! This oversight could allow attackers to upload malicious files that run arbitrary code on the server. Imagine the chaos if a mischievous guest were to slip in dangerous items that put everyone at risk—data leaks, system compromises, and potentially total takeover of the server could happen!

Put simply

Think of it as a hotel that allows guests to drop off any luggage at the front desk without looking inside. One guest might have a suitcase filled with vacation clothes, while another could be sneaking in something far more dangerous! CVE-2022-45802 is a vulnerability in Streampark where the system lacks proper file type verification for JAR uploads. This enables users to upload harmful files to any directory, opening the door to severe exploitation.

What to do

This oversight could allow attackers to upload malicious files that run arbitrary code on the server. Imagine the chaos if a mischievous guest were to slip in dangerous items that put everyone at risk—data leaks, system compromises, and potentially total takeover of the server could happen! Upgrade to Apache StreamPark version 2.0.0 or later immediately to close this vulnerability. Additionally, implement validation checks on file uploads to ensure that only safe file types are accepted. Regular security audits can help catch similar issues in the future! You've got this! With these steps, you'll strengthen your defenses and keep your applications secure. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01308 · 70.4th percentile
Weakness
CWE-434 · Unrestricted Upload of File with Dangerous Type
Published
2023-05-01T14:04Z
EPSS history
Timeline
  • 01 MAY 14:04Z
    Apache StreamPark (incubating): Upload any file to any directory
    cvelistv5