CyberSecBulletin
CVE-2023-6194NVD status: Modified

Eclipse Memory Analyzer (tools.mat): Improper Restriction of XML External Entity Reference

CVE-2023-6194 is a high-severity improper restriction of XML external entity reference vulnerability in Eclipse Memory Analyzer (tools.mat) from Eclipse Foundation, with a CVSS 3.1 base score of 7.1 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. Affected Eclipse Memory Analyzer (tools.mat) versions: 0.7 through 1.14.0. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 0.32% chance of exploitation within 30 days, which is low compared with other CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Check which version of Eclipse Memory Analyzer (tools.mat) you run against the affected versions below, and install the vendor's latest release.
  2. Read the advisory on bugs.eclipse.org for workarounds and exact fixed builds.

Affected products and versions

VendorProductAffected versionsFixed in
Eclipse FoundationEclipse Memory Analyzer (tools.mat)0.7 through 1.14.0Not stated
EclipseMemory Analyzer0.7 through 1.14.0Not stated

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
LocalThe attacker needs local access or must trick a user into running something.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
LowA basic user account is enough.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
NoneNothing can be modified.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.12.8LowCNA (eclipse.org)
CVSS 3.17.1HighNVD

Official description

In Eclipse Memory Analyzer versions 0.7 to 1.14.0, report definition XML files are not filtered to prohibit document type definition (DTD) references to external entities. This means that if a user chooses to use a malicious report definition XML file containing an external entity reference to generate a report then Eclipse Memory Analyzer may access external files or URLs defined via a DTD in the report definition.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Improper Restriction of XML External Entity Reference

The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.

How developers prevent this class of flaw

  • Many XML parsers and validators can be configured to disable external entity expansion.

More Improper Restriction of XML External Entity Reference vulnerabilities (CWE-611)

Timeline

  1. CVE record published.
  2. Record last changed materially (score, affected products, status or references).

References

Recent Improper Restriction of XML External Entity Reference vulnerabilities

Spotted an error? Tell us.