# CVE-2023-49691: Command injection in RUGGEDCOM RM1224 LTE(4G) EU

> Malicious local administrators can execute arbitrary system commands with root privileges via improper neutralization in DDNS configuration handling.

- **Severity:** High 7.2 (`CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C`)
- **Exploited in the wild:** Not known
- **Login needed:** An administrator
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 12 Dec 2023
- **Updated:** 13 Aug 2024
- **Also known as:** GHSA-7p78-839g-f66v

## What is CVE-2023-49691?

CVE-2023-49691 is a high-severity command injection vulnerability in Siemens RUGGEDCOM RM1224 LTE(4G) EU, published on 12 Dec 2023. An attacker needs administrator access to exploit it, with no action from the victim.

### Official description

A vulnerability has been identified in RUGGEDCOM RM1224 LTE(4G) EU (6GK6108-4AM00-2BA2) (All versions < V8.0), RUGGEDCOM RM1224 LTE(4G) NAM (6GK6108-4AM00-2DA2) (All versions < V8.0), SCALANCE M804PB (6GK5804-0AP00-2AA2) (All versions < V8.0), SCALANCE M812-1 ADSL-Router (6GK5812-1AA00-2AA2) (All versions < V8.0), SCALANCE M812-1 ADSL-Router (6GK5812-1BA00-2AA2) (All versions < V8.0), SCALANCE M816-1 ADSL-Router (6GK5816-1AA00-2AA2) (All versions < V8.0), SCALANCE M816-1 ADSL-Router (6GK5816-1BA00-2AA2) (All versions < V8.0), SCALANCE M826-2 SHDSL-Router (6GK5826-2AB00-2AB2) (All versions < V8.0), SCALANCE M874-2 (6GK5874-2AA00-2AA2) (All versions < V8.0), SCALANCE M874-3 (6GK5874-3AA00-2AA2) (All versions < V8.0), SCALANCE M876-3 (6GK5876-3AA02-2BA2) (All versions < V8.0), SCALANCE M876-3 (ROK) (6GK5876-3AA02-2EA2) (All versions < V8.0), SCALANCE M876-4 (6GK5876-4AA10-2BA2) (All versions < V8.0), SCALANCE M876-4 (EU) (6GK5876-4AA00-2BA2) (All versions < V8.0), SCALANCE M876-4 (NAM) (6GK5876-4AA00-2DA2) (All versions < V8.0), SCALANCE MUM853-1 (EU) (6GK5853-2EA00-2DA1) (All versions < V8.0), SCALANCE MUM856-1 (EU) (6GK5856-2EA00-3DA1) (All versions < V8.0), SCALANCE MUM856-1 (RoW) (6GK5856-2EA00-3AA1) (All versions < V8.0), SCALANCE S615 EEC LAN-Router (6GK5615-0AA01-2AA2) (All versions < V8.0), SCALANCE S615 LAN-Router (6GK5615-0AA00-2AA2) (All versions < V8.0). An Improper Neutralization of Special Elements used in an OS Command with root privileges vulnerability exists in the handling of the DDNS configuration. This could allow malicious local administrators to issue commands on system level after a successful IP address update.

Weakness: CWE-78 (Improper Neutralization of Special Elements used in an OS Command)

## Which versions are affected by CVE-2023-49691?

It affects 20 products.


Products: Siemens 6gk5615-0aa00-2aa2 Firmware, Siemens 6gk5615-0aa01-2aa2 Firmware, Siemens 6gk5804-0ap00-2aa2 Firmware, Siemens 6gk5812-1aa00-2aa2 Firmware, Siemens 6gk5812-1ba00-2aa2 Firmware, Siemens 6gk5816-1aa00-2aa2 Firmware, Siemens 6gk5816-1ba00-2aa2 Firmware, Siemens 6gk5826-2ab00-2ab2 Firmware, Siemens 6gk5853-2ea00-2da1 Firmware, Siemens 6gk5856-2ea00-3aa1 Firmware, Siemens 6gk5856-2ea00-3da1 Firmware, Siemens 6gk5874-2aa00-2aa2 Firmware, Siemens 6gk5874-3aa00-2aa2 Firmware, Siemens 6gk5876-3aa02-2ba2 Firmware, Siemens 6gk5876-3aa02-2ea2 Firmware, Siemens 6gk5876-4aa00-2ba2 Firmware, Siemens 6gk5876-4aa00-2da2 Firmware, Siemens 6gk5876-4aa10-2ba2 Firmware, Siemens 6gk6108-4am00-2ba2 Firmware, Siemens 6gk6108-4am00-2da2 Firmware.

## How do I fix CVE-2023-49691?

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

## Is CVE-2023-49691 being exploited?

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

## Other vulnerabilities in Siemens RUGGEDCOM RM1224 LTE(4G) EU

- [CVE-2023-49692](https://insights.sbomify.com/CVE-2023-49692/): Command injection in RUGGEDCOM RM1224 LTE(4G) EU (high 7.2)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2023-49691 and fix it if it is affected.

What it is: CVE-2023-49691 is a high-severity command injection vulnerability in Siemens RUGGEDCOM RM1224 LTE(4G) EU, published on 12 Dec 2023. An attacker needs administrator access to exploit it, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2023-49691 in the wild and no public exploit code.

Affected product: Siemens RUGGEDCOM RM1224 LTE(4G) EU. 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-2023-49691/ (Markdown: https://insights.sbomify.com/CVE-2023-49691/index.md)
```

## Sources

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

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