Hg8045q FirmwareOperating system · Huawei

CVE-2021-37028

MEDIUM · 6.7 CVSS v3.1 Published 2021-08-13
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
69/100
Remediation priority · Elevated
Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
There is a command injection vulnerability in the HG8045Q product. When the command-line interface is enabled, which is disabled by default, attackers with administrator privilege could execute part of commands.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · moderate confidence

Command injection vulnerability in Huawei HG8045Q optical network terminal. When the CLI interface is enabled (disabled by default), an authenticated attacker with administrator privileges can execute arbitrary commands on the underlying operating system.

MitigationEnsure the CLI remains disabled (default state), restrict administrator access to trusted personnel only, and apply any available firmware updates from Huawei.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Hg8045q FirmwareOperating system
Affected:= v300r016c00spc110= v300r018c10

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Local
Complexity
Low
Privileges
High
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify the device model
    Access the device web interface or use SNMP/SSH to query the device and confirm the model is Huawei HG8045Q
    Affected if The device model is Huawei HG8045Q and is within the affected product line
  2. Check the installed firmware version
    Through the web interface status page, CLI, or by querying the device management interface, retrieve the firmware version and compare against v300r016c00spc110 and v300r018c10
    Affected if The installed firmware is exactly v300r016c00spc110 or v300r018c10
  3. Determine if CLI interface is enabled
    Access the device configuration settings through the web interface or CLI and check whether the CLI service (often found under security or management settings) is set to enabled
    Affected if CLI interface is currently enabled on the device (note: it is disabled by default)
  4. Look for evidence of unauthorized access or command execution
    Review system logs, authentication logs, and any available audit trails for suspicious commands, unexpected administrative sessions, or commands originating from internal IP addresses that were not initiated by legitimate administrators
    Affected if Logs show unexpected administrative commands, suspicious shell executions, or unauthorized administrator sessions

The device is affected if it is a Huawei HG8045Q running firmware version v300r016c00spc110 or v300r018c10, AND the CLI interface is enabled (or shows signs of having been enabled), OR if forensic evidence indicates the vulnerability was exploited

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Ensure the CLI remains disabled (default state), restrict administrator access to trusted personnel only, and apply any available firmware updates from Huawei.

Recommended fix Moderate confidence

Latest available HG8045Q firmware version from Huawei support.huawei.com

  1. 1. Log into the HG8045Q device web interface or CLI with administrator credentials.
  2. 2. Navigate to the firmware management or system settings section.
  3. 3. Check the current firmware version to confirm it is v300r016c00spc110 or v300r018c10.
  4. 4. Download the latest firmware version from Huawei's official support site (support.huawei.com) for the HG8045Q model.
  5. 5. Upload and apply the firmware update following Huawei's standard upgrade procedure.
  6. 6. After reboot, verify the new firmware version is installed.
  7. 7. Ensure CLI remains disabled unless explicitly required, as it was disabled by default for security.
Caveat Standard firmware upgrade risk - ensure backup of configuration and stable power during upgrade

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Hg8045q Firmware Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing4.0 h
  • Review / QA2.0 h
18.0 hours of engineering $3,200
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,120.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2021-37028 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2021-37028 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data