VDB
Sign up
HIGH7.5

GHSA-5vvx-3h34-f3gj

MPXJ: XXE Vulnerability in MerlinReader

Quick fix

GHSA-5vvx-3h34-f3gj — net.sf.mpxj:mpxj: upgrade to the fixed version with the command below.

# pom.xml: bump <version>16.4.1</version> for net.sf.mpxj:mpxj

Details

### Impact MPXJ used the default configuration when creating a DocumentBuilder instance, which leaves doctype declarations enabled, when parsing the XML content of the ZTIMEINTERVALS column from a Merlin project SQLite file. This would allow a carefully crafted XML payload to read an arbitrary file. However, although an arbitrary file can be read, the way the resulting parsed XML is processed by MPXJ means that the data it contains is unlikely to be available for exfiltration.

### Patches The patch is included in MPXJ 16.4.1

### Workarounds Potential workarounds include: * Avoid reading Merlin project files with MPXJ * Only accept Merlin project files from trusted sources * Preprocess Merlin SQLite databases to strip doctype declarations from the ZTIMEINTERVALS column

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/net.sf.mpxj:mpxj
Introduced in: 5.5.5Fixed in: 16.4.1
Fix# pom.xml: bump <version>16.4.1</version> for net.sf.mpxj:mpxj
RubyGems/mpxj
Introduced in: 5.5.5Fixed in: 16.4.1
Fixbundle update mpxj
NuGet/MPXJ.Net
Introduced in: 5.5.5Fixed in: 16.4.1
Fixdotnet add package MPXJ.Net --version 16.4.1
NuGet/net.sf.mpxj
Introduced in: 5.5.5Fixed in: 16.4.1
Fixdotnet add package net.sf.mpxj --version 16.4.1
NuGet/net.sf.mpxj-for-csharp
Introduced in: 5.5.5Fixed in: 16.4.1
Fixdotnet add package net.sf.mpxj-for-csharp --version 16.4.1
NuGet/net.sf.mpxj-for-vb
Introduced in: 5.5.5Fixed in: 16.4.1
Fixdotnet add package net.sf.mpxj-for-vb --version 16.4.1
PyPI/mpxj
Introduced in: 5.5.5Fixed in: 16.4.1
Fixpip install --upgrade 'mpxj>=16.4.1'

References