# CVE-2022-33859: Unrestricted file upload in Eaton Foreseer EPMS


- **Severity:** High 8.1 (`CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Fix available:** No
- **Published:** 28 Oct 2022
- **Updated:** 6 May 2025
- **Also known as:** GHSA-g237-q563-mgqx

## What is CVE-2022-33859?

CVE-2022-33859 is a high-severity vulnerability in Eaton Foreseer EPMS, published on 28 Oct 2022. 

### Official description

A security vulnerability was discovered in the Eaton Foreseer EPMS software. Foreseer EPMS connects an operation’s vast array of devices to assist in the reduction of energy consumption and avoid unplanned downtime caused by the failures of critical systems. A threat actor may upload arbitrary files using the file upload feature. 

This vulnerability is present in versions 4.x, 5.x, 6.x & 7.0 to 7.5. A new version (v7.6) containing the remediation has been made available by Eaton and a mitigation has been provided for the affected versions that are currently supported. 

Customers are advised to update the software to the latest version (v7.6).

Foreseer EPMS versions 4.x, 5.x, 6.x are no longer supported by Eaton. Please refer to the  End-of-Support notification https://www.eaton.com/in/en-us/catalog/services/foreseer/foreseer-legacy.html .

Weakness: CWE-434 (Unrestricted Upload of File with Dangerous Type)

## Which versions are affected by CVE-2022-33859?

It affects 1 product.


Products: Eaton Foreseer Electrical Power Monitoring System.

## How do I fix CVE-2022-33859?

No fix has been published for CVE-2022-33859 yet. Limit exposure of the affected software until one is available.

## Is CVE-2022-33859 being exploited?

There is no known exploitation of CVE-2022-33859 in the wild and no public exploit code.

## Other vulnerabilities in Eaton Foreseer EPMS

- [CVE-2024-31414](https://insights.sbomify.com/CVE-2024-31414/): Cross-site scripting in Foreseer (medium 6.7)
- [CVE-2024-31415](https://insights.sbomify.com/CVE-2024-31415/): Hardcoded credentials in Foreseer (medium 6.3)
- [CVE-2024-31416](https://insights.sbomify.com/CVE-2024-31416/): Integer overflow in Foreseer (medium 5.6)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2022-33859 and fix it if it is affected.

What it is: CVE-2022-33859 is a high-severity vulnerability in Eaton Foreseer EPMS, published on 28 Oct 2022. 
Exploitation: There is no known exploitation of CVE-2022-33859 in the wild and no public exploit code.

Affected product: Eaton Foreseer EPMS. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2022-33859/ (Markdown: https://insights.sbomify.com/CVE-2022-33859/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2022-33859
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2022-33859
- OSV: https://osv.dev/vulnerability/CVE-2022-33859

---
From sbomify Insights: https://insights.sbomify.com/CVE-2022-33859/
Summaries are generated and may contain mistakes; the official description above is the record.
