# CVE-2017-6041: File upload in Marel Food Processing Systems

> Attackers can upload malicious firmware to Marel food processing terminals, altering operations without detection.

- **Severity:** Critical 9.8 (`CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 30 Jun 2017
- **Updated:** 5 Aug 2024
- **Also known as:** GHSA-f7cp-hjx9-fw4w

## What is CVE-2017-6041?

CVE-2017-6041 is a critical vulnerability in Marel Food Processing Systems, published on 30 Jun 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

An Unrestricted Upload issue was discovered in Marel Food Processing Systems M3000 terminal associated with the following systems: A320, A325, A371, A520 Master, A520 Slave, A530, A542, A571, Check Bin Grader, FlowlineQC T376, IPM3 Dual Cam v132, IPM3 Dual Cam v139, IPM3 Single Cam v132, P520, P574, SensorX13 QC flow line, SensorX23 QC Master, SensorX23 QC Slave, Speed Batcher, T374, T377, V36, V36B, and V36C; M3210 terminal associated with the same systems as the M3000 terminal identified above; M3000 desktop software associated with the same systems as the M3000 terminal identified above; MAC4 controller associated with the same systems as the M3000 terminal identified above; SensorX23 X-ray machine; SensorX25 X-ray machine; and MWS2 weighing system. This vulnerability allows an attacker to modify the operation and upload firmware changes without detection.

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

## Which versions are affected by CVE-2017-6041?

It affects 22 products.


Products: Marel A320 Firmware, Marel A325 Firmware, Marel A371 Firmware, Marel A520 Master Firmware, Marel A520 Slave Firmware, Marel A530 Firmware, Marel A542 Firmware, Marel A571 Firmware, Marel Check Bin Grader Firmware, Marel Flowlineqc T376 Firmware, Marel Ipm3 Dual Cam Firmware, Marel P520 Firmware, Marel P574 Firmware, Marel Sensorx13 Qc Flow Line Firmware, Marel Sensorx23 Qc Master Firmware, Marel Sensorx23 Qc Slave Firmware, Marel Speed Batcher Firmware, Marel T374 Firmware, Marel T377 Firmware, Marel V36 Firmware and 2 more.

## How do I fix CVE-2017-6041?

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

## Is CVE-2017-6041 being exploited?

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

## Other vulnerabilities in Marel Food Processing Systems

- [CVE-2016-9358](https://insights.sbomify.com/CVE-2016-9358/): Hardcoded credentials in Marel Food Processing Systems (critical 9.8)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2017-6041 and fix it if it is affected.

What it is: CVE-2017-6041 is a critical vulnerability in Marel Food Processing Systems, published on 30 Jun 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2017-6041 in the wild and no public exploit code.

Affected product: Marel Food Processing Systems. 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-2017-6041/ (Markdown: https://insights.sbomify.com/CVE-2017-6041/index.md)
```

## Sources

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

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