CVE-2021-37028
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 · uneditedThere 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 confidenceCommand 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.
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= v300r016c00spc110= v300r018c10CVSS 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 checksWork through these to decide whether this CVE applies to you.
-
Identify the device modelAccess the device web interface or use SNMP/SSH to query the device and confirm the model is Huawei HG8045QAffected if The device model is Huawei HG8045Q and is within the affected product line
-
Check the installed firmware versionThrough the web interface status page, CLI, or by querying the device management interface, retrieve the firmware version and compare against v300r016c00spc110 and v300r018c10Affected if The installed firmware is exactly v300r016c00spc110 or v300r018c10
-
Determine if CLI interface is enabledAccess 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 enabledAffected if CLI interface is currently enabled on the device (note: it is disabled by default)
-
Look for evidence of unauthorized access or command executionReview 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 administratorsAffected 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.
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 · scopedEnsure the CLI remains disabled (default state), restrict administrator access to trusted personnel only, and apply any available firmware updates from Huawei.
Latest available HG8045Q firmware version from Huawei support.huawei.com
- 1. Log into the HG8045Q device web interface or CLI with administrator credentials.
- 2. Navigate to the firmware management or system settings section.
- 3. Check the current firmware version to confirm it is v300r016c00spc110 or v300r018c10.
- 4. Download the latest firmware version from Huawei's official support site (support.huawei.com) for the HG8045Q model.
- 5. Upload and apply the firmware update following Huawei's standard upgrade procedure.
- 6. After reboot, verify the new firmware version is installed.
- 7. Ensure CLI remains disabled unless explicitly required, as it was disabled by default for security.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing4.0 h
- Review / QA2.0 h
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 locallyCheck 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 sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2021-37028 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
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.
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.
- 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