# CVE-2023-2186: Other in SCADA Data Gateway

> Unauthenticated attackers can cause denial of service via format string bugs, while authenticated users can leak memory potentially leading to code execution.

- **Severity:** High 8.2 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/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:** 7 Jun 2023
- **Updated:** 6 Jan 2025
- **Also known as:** GHSA-gqvf-fxmv-5gj9

## What is CVE-2023-2186?

CVE-2023-2186 is a high-severity vulnerability in Triangle MicroWorks SCADA Data Gateway, published on 7 Jun 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

On Triangle MicroWorks' SCADA Data Gateway version <= v5.01.03, an unauthenticated attacker can send a specially crafted broadcast message including format string characters to the SCADA Data Gateway to perform unrestricted memory reads.An unauthenticated user can use this format string vulnerability to repeatedly crash the GTWWebMonitor.exe process to DoS the Web Monitor.  Furthermore, an authenticated user can leverage this vulnerability to leak memory from the GTWWebMonitor.exe process. This could be leveraged in an exploit chain to gain code execution.

Weakness: CWE-134 (Use of Externally-Controlled Format String)

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

It affects 1 product.


Products: Trianglemicroworks Scada Data Gateway.

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

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

## Is CVE-2023-2186 being exploited?

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

## Other vulnerabilities in Triangle MicroWorks SCADA Data Gateway

- [CVE-2023-39457](https://insights.sbomify.com/CVE-2023-39457/): Triangle MicroWorks SCADA Data Gateway Missing Authentication Vulnerability (critical 9.8)
- [CVE-2020-10611](https://insights.sbomify.com/CVE-2020-10611/): Memory corruption in Triangle MicroWorks SCADA Data Gateway 3.02.0697 through 4.0.122, 2.41.0213 through 4.0.122 (critical 9.8)
- [CVE-2023-39459](https://insights.sbomify.com/CVE-2023-39459/): Triangle MicroWorks SCADA Data Gateway Directory Traversal Arbitrary File Creation Vulnerability (high 7.8)
- [CVE-2023-39465](https://insights.sbomify.com/CVE-2023-39465/): Triangle MicroWorks SCADA Data Gateway Use of Hard-coded Cryptograhic Key Information Disclosure Vulnerability (high 7.5)
- [CVE-2020-10613](https://insights.sbomify.com/CVE-2020-10613/): Information disclosure in Triangle MicroWorks SCADA Data Gateway 3.02.0697 through 4.0.122, 2.41.0213 through 4.0.122 (high 7.5)

## Fix prompt for AI coding agents

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

What it is: CVE-2023-2186 is a high-severity vulnerability in Triangle MicroWorks SCADA Data Gateway, published on 7 Jun 2023. 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-2023-2186 in the wild and no public exploit code.

Affected product: Triangle MicroWorks SCADA Data Gateway. 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-2186/ (Markdown: https://insights.sbomify.com/CVE-2023-2186/index.md)
```

## Sources

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

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