Security Advisory

CVE-2012-3039: Moxa OnCell Gateway Weak SSH/SSL Keys

Last updated:
  • CVE-2012-3039

CVE-2012-3039 is a weak-entropy flaw in Moxa OnCell Gateway G3111, G3151, G3211 and G3251 cellular gateways with firmware before 1.4: the devices generate SSH and SSL keys from too little randomness, so a key known from another installation can help a remote attacker gain access. NVD scores it CVSS v2 7.1; firmware 1.4 fixes it.

Vulnerability summary

CVSS base score

7.1

High severity

EPSS score (FIRST)

1.4%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2012-3039 · Source: NVD

CVSS v3.1 severity rating scale: None 0.0, Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9, Critical 9.0 to 10.0
How a CVSS v3.1 base score maps to a severity rating. Source: FIRST CVSS v3.1 specification, section 5.

Affected components

ComponentCPEVersion range
Moxa OnCell Gateway G3111, G3151, G3211 and G3251cpe:2.3:o:moxa:oncell_gateway_firmware:*:*:*:*:*:*:*:*Firmware before 1.4 (NVD CPE: up to and including 1.3, on OnCell Gateway G3111, G3151, G3211 and G3251 hardware); fixed in firmware 1.4 (April 3, 2013)

What does this mean for affected devices?

NVD's description says that Moxa OnCell Gateway G3111, G3151, G3211 and G3251 devices with firmware before 1.4 "do not use a sufficient source of entropy for SSH and SSL keys", which makes it easier for remote attackers to obtain access when they know a key from a product installation elsewhere. NVD's Primary score is CVSS v2 7.1 (AV:N/AC:H/Au:S/C:C/I:C/A:C) with CWE-310, cryptographic issues; NVD has no CVSS v3 score for it. ICS-CERT assigned the record (vendor and product n/a, no CNA score) and NVD published it on 2013-08-09 (NVD, CVE record).

Which OnCell gateways are affected?

CISA's advisory ICSA-13-217-01 (CSAF), titled "MOXA Weak Entropy in DSA Keys Vulnerability", lists the OnCell Gateway G3111, G3151, G3211 and G3251 cellular gateways with firmware before 1.4, and classifies the weakness as CWE-331, insufficient entropy. NVD's CPE configuration pairs the four hardware models with oncell_gateway_firmware up to and including 1.3.

Why does weak key entropy matter on a cellular gateway?

The OnCell gateways generate their SSH and SSL keys on the device. With too little randomness at generation time, separate units can end up with the same or predictable keys, so a key taken from one installation can match a gateway somewhere else. An attacker who holds such a key can impersonate the gateway or decrypt its management sessions. The high access complexity and single-authentication terms in NVD's vector reflect that this is not a one-packet attack, but the impact terms are complete for confidentiality, integrity and availability. These gateways carry serial and Ethernet field traffic over cellular links, so they often sit at the edge of remote sites.

How do I fix CVE-2012-3039?

CISA's remediation says Moxa released firmware version 1.4 for the OnCell G3111, G3151, G3211 and G3251 on April 3, 2013, and that the upgrade increases the entropy in the dynamically generated keys to avoid nonuniqueness and key reuse. Get the firmware through Moxa support. Keys created by older firmware keep their weakness after an upgrade, so check that the gateway generates new SSH and SSL keys and remove the old keys from client trust stores. CISA's standard practices also apply: keep the management interfaces off the internet, put the gateways behind firewalls separated from business networks, and use a VPN for remote access.

Other OnCell pages on this site are CVE-2016-5799 (login brute-force weakness) and CVE-2018-5455 (OnCell G3100-HSPA session cookie); CVE-2023-40464 shows the related case of one TLS private key shared by every unit of a cellular router family. The weak cryptography fix guide covers on-device key generation and entropy sources.

CVE-2012-3039 is not in the CISA KEV catalog as of 2026-11-27 (catalog version 2026.11.25). FIRST EPSS gives it 0.01392, the 72.5th percentile, in the 2026-11-26 dataset (CISA KEV, FIRST EPSS).

Three signals on every advisory: CVSS says how severe the flaw is, EPSS gives the probability of exploitation in the wild in the next 30 days, and a CISA KEV listing means the flaw has been exploited in the wild
CVSS rates severity, EPSS estimates the likelihood of exploitation, and CISA KEV records exploitation seen in the wild. Source: FIRST EPSS; CISA KEV catalog.
How to fix this class of issueNo dedicated SoftWSP guide covers this weakness class; the fix is usually the vendor patch or firmware update referenced above. Our related guide explains how to plan and verify it: NIST SP 800-40 Rev. 4: enterprise patch management planning, explained.
From advisory to verified fix in four steps: read the advisory, find the affected component in the firmware SBOM, apply the fixed version or vendor mitigation, then re-scan the image to confirm the vulnerable version is gone
Read the advisory, find the component in your firmware SBOM, apply the fix, then re-scan to confirm it.

Evidence

  • NVD (read 2026-11-27): published 2013-08-09; OnCell Gateway G3111, G3151, G3211 and G3251 firmware before 1.4 does not use a sufficient source of entropy for SSH and SSL keys; NVD Primary CVSS v2 7.1 AV:N/AC:H/Au:S/C:C/I:C/A:C; CWE-310; CPE oncell_gateway_firmware up to and including 1.3 on the four hardware models; no v3 metric. — NVD
  • CISA ICSA-13-217-01 CSAF (read 2026-11-27): title MOXA Weak Entropy in DSA Keys Vulnerability; OnCell Gateway G3111, G3151, G3211, G3251 firmware before 1.4; CWE-331; CVSS v2 7.1; Moxa released firmware 1.4 on April 3, 2013, which increases the entropy in the dynamically generated keys to avoid nonuniqueness and key reuse. — CISA ICSA-13-217-01
  • CVE record (read 2026-11-27): state PUBLISHED, assigner icscert, reserved 2012-05-30, vendor and product n/a, no CNA CVSS. — CVE.org
  • Not in the CISA KEV catalog, catalog version 2026.11.25, checked 2026-11-27. — CISA KEV
  • EPSS 0.01392, percentile 0.72529, dataset 2026-11-26, read 2026-11-27. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CISA ICSA-13-217-01: MOXA Weak Entropy in DSA Keys Vulnerability
  3. CISA ICSA-13-217-01 CSAF (machine-readable advisory)
  4. CVE.org record CVE-2012-3039 (CVE Services JSON)
  5. CISA KEV
  6. FIRST EPSS

Frequently asked questions

Which firmware fixes CVE-2012-3039?

Firmware 1.4 for the OnCell G3111, G3151, G3211 and G3251, which Moxa released on April 3, 2013; it increases the entropy in the dynamically generated keys (per CISA ICSA-13-217-01).

Is upgrading the firmware enough?

The fix changes how new keys are generated, so keys created by firmware before 1.4 should be replaced after the upgrade and removed from client trust stores. The advisory describes the fix as avoiding nonuniqueness and key reuse in generated keys (per CISA ICSA-13-217-01).

How severe is CVE-2012-3039?

NVD scores it CVSS v2 7.1 with high access complexity and single authentication, but complete confidentiality, integrity and availability impact (per NVD).

Is CVE-2012-3039 in the CISA KEV catalog?

No, as of 2026-11-27 (catalog version 2026.11.25). FIRST EPSS rates it 0.01392, the 72.5th percentile, in the 2026-11-26 dataset (per CISA KEV and FIRST EPSS).