Security Advisory

CVE-2023-43492: Weintek cMT3000 HMI codesys.cgi Overflow

Last updated:
  • CVE-2023-43492

CVE-2023-43492 is a stack-based buffer overflow in the codesys.cgi script of the web server on Weintek cMT3000-series, cMT-HDM and cMT-FHD human-machine interfaces. An anonymous attacker on the network can hijack control flow and get past the login page. NVD and CISA both score it 9.8. Weintek fixes it with HMI OS images dated February 2021.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

1.2%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2023-43492 · Source: NVD

Affected components

ComponentCPEVersion range
Weintek cMT3071, cMT3072, cMT3090, cMT3103 and cMT3151 HMIcpe:2.3:o:weintek:cmt3071_firmware:*:*:*:*:*:*:*:*OS 20210218 and earlier (Weintek TEC23005E, CISA ICSA-23-285-12); fix: OS image 20210220 or later per Weintek (CISA names 20210219)
Weintek cMT-HDMcpe:2.3:o:weintek:cmt-hdm_firmware:*:*:*:*:*:*:*:*OS 20210204 and earlier; fix: OS image 20210206 or later per Weintek (CISA names 20210205)
Weintek cMT-FHDcpe:2.3:o:weintek:cmt-fhd_firmware:*:*:*:*:*:*:*:*OS 20210208 and earlier per Weintek (CISA: 20210210 and earlier); fix: OS image 20210212 or later per Weintek (CISA names 20210211)

What does this mean for affected devices?

The CVE record from CISA says: "In Weintek's cMT3000 HMI Web CGI device, the cgi-bin codesys.cgi contains a stack-based buffer overflow, which could allow an anonymous attacker to hijack control flow and bypass login authentication." NVD's Primary score and CISA's score are both 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). NVD maps the flaw to CWE-787, out-of-bounds write; CISA uses CWE-121, stack-based buffer overflow. The record was published on 2023-10-19 (NVD, CVE record).

Which Weintek HMIs are affected?

CISA's ICSA-23-285-12, released on 2023-10-12, covers the cMT3071, cMT3072, cMT3090, cMT3103 and cMT3151 panels and the screenless cMT-HDM and cMT-FHD units, deployed worldwide in critical manufacturing. Hank Chen of TXOne Networks reported the flaws. The advisory has two more CVEs in the same web scripts: CVE-2023-38584, a second stack overflow in command_wb.cgi (9.8), and CVE-2023-40145, arbitrary command execution after login (8.8). Weintek's technical notice TEC23005E of the same date says the scripts exist to maintain the HMIs and that, chained together, the issues let a remote attacker reach the system or run commands without authentication.

Which OS image fixes CVE-2023-43492?

Model Affected OS (Weintek) Fixed OS image (Weintek)
cMT3071, cMT3072, cMT3090, cMT3103, cMT3151 20210218 and earlier 20210220 or later
cMT-HDM 20210204 and earlier 20210206 or later
cMT-FHD 20210208 and earlier 20210212 or later

CISA's table names images one day earlier (20210219, 20210205, 20210211) and lists cMT-FHD up to 20210210 as affected; NVD's configuration follows Weintek's numbers. Weintek reads the current OS version from the HMI web page or the on-screen system settings, and installs the image from a FAT32 USB drive through System setting > OS upgrade; the device must not lose power during the update. Weintek's first step for a panel reachable from an open network is to disconnect it, and it advises the update for isolated panels too.

How does this compare with other web-CGI overflows?

The same class of bug in an industrial device's web login is CVE-2020-14511 on Moxa EDR-G902/G903 routers, and an HMI-side overflow is CVE-2012-0254 in Honeywell HMIWeb. See the memory corruption fix guide and, for plants without a dedicated OT team, the OT/ICS security guide for small manufacturers.

CVE-2023-43492 is not in the CISA KEV catalog as of 2026-11-26 (catalog version 2026.11.25, 1,805 entries). FIRST EPSS gives it 0.01185, the 67.69th percentile, in the 2026-11-25 dataset (CISA KEV, FIRST EPSS). CISA reported no known public exploitation specifically targeting these vulnerabilities at publication.

How to fix this class of issueThis advisory's weakness class is Memory corruption. Our practical guide covers how to detect, fix, verify and disclose it: How to fix memory corruption in embedded firmware.

Evidence

  • NVD (read 2026-11-26): status Modified; published 2023-10-19; NVD Primary CVSS v3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, ICS-CERT Secondary 9.8; CWE-787 (NVD), CWE-121 (CISA); CPE cmt3071/3072/3090/3103/3151 firmware before 20210220, cmt-hdm before 20210206, cmt-fhd before 20210212. — NVD
  • CISA ICSA-23-285-12 CSAF (released 2023-10-12, read 2026-11-26): CWE-121, CVSS v3 9.8; affected cMT-FHD <=20210210, cMT-HDM <=20210204, cMT3071/3072/3103/3090/3151 <=20210218; fixes 20210211, 20210205, 20210219; siblings CVE-2023-38584 (9.8), CVE-2023-40145 (8.8); Critical Manufacturing, worldwide; reported by Hank Chen, TXOne Networks; no known public exploitation reported. — CISA ICSA-23-285-12
  • Weintek TEC23005E cMT Web Security Update (2023-10-12, read 2026-11-26): affected cMT3071/3072/3090/3103/3151 20210218 and previous, cMT-HDM 20210204 and previous, cMT-FHD 20210208 and previous; fixed OS images 20210220, 20210206, 20210212 or later; disconnect from open network, upgrade OS via USB (FAT32), do not power cycle during update. — Weintek TEC23005E
  • CVE record (checked 2026-11-26): state PUBLISHED, CNA ICS-CERT, published 2023-10-19, CNA CVSS v3.1 9.8. — CVE.org
  • Not in the CISA KEV catalog, catalog version 2026.11.25, 1,805 entries, checked 2026-11-26. — CISA KEV
  • EPSS 0.01185, percentile 0.67690, dataset 2026-11-25, read 2026-11-26. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CISA ICSA-23-285-12: Weintek cMT3000 HMI Web CGI (CSAF)
  3. CISA ICSA-23-285-12 advisory page
  4. Weintek TEC23005E cMT Web Security Update
  5. CVE.org record CVE-2023-43492
  6. CISA KEV
  7. FIRST EPSS

Frequently asked questions

Which OS version fixes CVE-2023-43492?

Weintek's notice TEC23005E gives OS image 20210220 or later for cMT3071, cMT3072, cMT3090, cMT3103 and cMT3151, 20210206 or later for cMT-HDM and 20210212 or later for cMT-FHD. CISA's table names builds one day earlier.

How do I check which OS my Weintek HMI runs?

The OS version is shown on the HMI's web page and, on panels with a screen, in the on-screen system settings. Compare it with the affected ranges in Weintek's notice.

What should I do before the update?

Weintek's first step is to disconnect any affected HMI that is reachable from an open network. CISA adds the usual practice: keep control system devices off the internet, behind firewalls, and use an up-to-date VPN for remote access.

Is CVE-2023-43492 in the CISA KEV catalog?

No, not as of 2026-11-26 (catalog version 2026.11.25, 1,805 entries). FIRST EPSS rates it 0.01185 (67.69th percentile) in the 2026-11-25 dataset.