Cloudanix VulnDB

CVE-2017-1000061

High · 7.1

CVSS

7.1

EPSS

1.3%

Published

Jul 17, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

An old flaw in an XML handling component could have let attackers read private files or slow systems down, but current software versions already contain the fix.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Data Exposure
Component
Library
Class
XXE
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The flaw permits XML External Entity Expansion during parsing of crafted documents in xmlsec 1.2.23 and earlier, enabling unauthorized file or resource access and potential denial of service via resource exhaustion.

Why it matters to the business

Successful exploitation could result in leakage of sensitive internal data or temporary service disruption, though the age of the issue combined with low exploit probability and resolution in modern packages minimizes operational exposure across affected ecosystems.

How an attack unfolds

An attacker crafts an XML document containing malicious external entity declarations and supplies it to an application leveraging the vulnerable xmlsec library; the parser resolves the entities, disclosing local files or exhausting system resources.

How to fix it

Upgrade xmlsec to a version newer than 1.2.23. For listed Consul packages ensure deployment of the versions marked fixed in 0 to eliminate exposure.

How to confirm the fix worked

Confirm xmlsec library version exceeds 1.2.23, then test XML parsing behavior against known external-entity payloads to verify entity resolution is disabled or mitigated.

Typical attack path

  1. Locate an application endpoint or feature that accepts and processes XML input using xmlsec
  2. Prepare a malicious XML payload embedding external entity references targeting internal resources
  3. Submit the crafted document to trigger entity expansion
  4. Capture disclosed data or observe denial-of-service effects

How to detect it

Review application and library logs for XML parsing anomalies, unexpected file or network access attempts during document handling, and any error patterns consistent with entity expansion attempts.

What your security team should do

  • Apply available updates to xmlsec and dependent packages without delay
  • Audit XML processing code for external entity handling and apply parser hardening
  • Remove or isolate any remaining legacy instances still using unpatched xmlsec

The record

xmlsec 1.2.23 and before is vulnerable to XML External Entity Expansion when parsing crafted input documents, resulting in possible information disclosure or denial of service

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 xmlsec1 0 1.2.24-1
Debian:12 xmlsec1 0 1.2.24-1
Debian:13 xmlsec1 0 1.2.24-1
Mageia:5 xmlsec1 0 1.2.24-1.mga5
Mageia:6 xmlsec1 0 1.2.24-1.mga6
Mageia:7 xmlsec1 0 1.2.29-1.mga7
Red Hat:enterprise_linux:7::client xmlsec1 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::client xmlsec1-debuginfo 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::client xmlsec1-devel 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::client xmlsec1-gcrypt 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::client xmlsec1-gcrypt-devel 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::client xmlsec1-gnutls 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::client xmlsec1-gnutls-devel 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::client xmlsec1-nss 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::client xmlsec1-nss-devel 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::client xmlsec1-openssl 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::client xmlsec1-openssl-devel 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::computenode xmlsec1 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::computenode xmlsec1-debuginfo 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::computenode xmlsec1-devel 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::computenode xmlsec1-gcrypt 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::computenode xmlsec1-gcrypt-devel 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::computenode xmlsec1-gnutls 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::computenode xmlsec1-gnutls-devel 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::computenode xmlsec1-nss 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::computenode xmlsec1-nss-devel 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::computenode xmlsec1-openssl 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::computenode xmlsec1-openssl-devel 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::server xmlsec1 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::server xmlsec1-debuginfo 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::server xmlsec1-devel 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::server xmlsec1-gcrypt 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::server xmlsec1-gcrypt-devel 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::server xmlsec1-gnutls 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::server xmlsec1-gnutls-devel 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::server xmlsec1-nss 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::server xmlsec1-nss-devel 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::server xmlsec1-openssl 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::server xmlsec1-openssl-devel 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::workstation xmlsec1 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::workstation xmlsec1-debuginfo 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::workstation xmlsec1-devel 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::workstation xmlsec1-gcrypt 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::workstation xmlsec1-gcrypt-devel 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::workstation xmlsec1-gnutls 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::workstation xmlsec1-gnutls-devel 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::workstation xmlsec1-nss 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::workstation xmlsec1-nss-devel 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::workstation xmlsec1-openssl 0 0:1.2.20-7.el7_4
Red Hat:enterprise_linux:7::workstation xmlsec1-openssl-devel 0 0:1.2.20-7.el7_4
Ubuntu:Pro:14.04:LTS xmlsec1 0 1.2.18-2ubuntu1+esm1
Ubuntu:Pro:16.04:LTS xmlsec1 0 1.2.20-2ubuntu4+esm1

Related vulnerabilities