CVE-2022-1704
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 · uneditedDue to an XML external entity reference, the software parses XML in the backup/restore functionality without XML security flags, which may lead to a XXE attack while restoring the backup.
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 · high confidenceA critical XXE vulnerability exists in the backup/restore functionality where XML is parsed without security flags, allowing external entity references. Attackers can exploit this by supplying malicious XML during backup restoration to potentially read local files or perform SSRF attacks.
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>= 7.9.0, < 7.9.21>= 8.1.0, < 8.1.8CVSS 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
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/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 Ignition installation versionCheck the Ignition version by inspecting the installation directory, gateway status page, or running: ./gwcmd --version (or check the 'About' section in the Ignition Gateway web console)Affected if The installed version is 7.9.0 through 7.9.20, or 8.1.0 through 8.1.7 (versions below 7.9.21 and 8.1.8 are affected)
-
Confirm backup/restore module is presentIn the Ignition Gateway, navigate to Config > System > Backup/Restore, or check if the backup-restore module is listed in the installed modules (Config > System > Modules)Affected if The backup/restore functionality is enabled and accessible in the gateway
-
Verify XML parser security configurationInspect the Ignition configuration files (typically in the installation conf directory) for XML parser settings related to external entities and DTD processing. Look for any custom XML parser configurations or Java system properties that control XXE protection.Affected if XML parser is configured without disabling external DTDs, DOCTYPE declarations, and external entity processing (secure processing features are not enabled)
-
Check backup file handling logsReview Ignition logs (in the logs directory or via the Gateway web console Logs page) for backup/restore operations. Look for any entries involving XML parsing or external entity resolution.Affected if Backup restore operations process XML without security restrictions, or logs indicate XML files with DOCTYPE or external entity references were processed
You are affected if your Ignition version is 7.9.0-7.9.20 or 8.1.0-8.1.7 AND the backup/restore module is in use, AND your XML parser lacks secure configuration that disables external entities and DTD processing.
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 · scoped7.9.218.1.8
Enable secure XML parsing by disabling external DTDs and entity processing in the XML parser configuration (e.g., disallow DOCTYPE declarations and set secure processing features).
Ignition 7.9.21 or later (7.9.x line); Ignition 8.1.8 or later (8.1.x line)
- Create a full backup of the Ignition system before proceeding with any upgrade
- Review Ignition upgrade documentation for your current version to ensure compatibility
- Download the fixed version: Ignition 7.9.21 or later for 7.9.x installations, or Ignition 8.1.8 or later for 8.1.x installations
- Stop the Ignition gateway services before upgrading
- Install the new version following the standard Ignition upgrade procedure
- Restart the Ignition gateway services after installation
- Verify the backup/restore functionality works correctly with the updated version
- Confirm the XML security flags are now properly applied by restoring a test backup
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.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 $4,224.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2022-1704 — 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-2022-1704 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