MPXJ: XXE Vulnerability in MerlinReader
joniles mpxj
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| net.sf.mpxj:mpxj Maven |
|
|
| mpxj RubyGems |
|
|
| MPXJ.Net NuGet |
joniles mpxj
| Product | Affected | Fixed in |
|---|---|---|
| net.sf.mpxj:mpxj Maven |
|
|
| mpxj RubyGems |
|
|
| MPXJ.Net NuGet |
≥ 5.5.5 · < 16.4.1
|
| net.sf.mpxj NuGet |
|
|
| net.sf.mpxj-for-csharp NuGet |
|
|
| net.sf.mpxj-for-vb NuGet |
|
|
| mpxj PyPI |
|
|
MPXJ is an open source library to read and write project plans from a variety of file formats and databases. From 5.5.5 until 16.4.1, MerlinReader creates a DocumentBuilder with default settings while parsing XML from the ZTIMEINTERVALS column of a Merlin project SQLite database, leaving doctype declarations and external entities enabled. A crafted database can cause the parser to read an arbitrary local file, although MPXJ's subsequent handling of the parsed XML makes disclosure of the file contents unlikely. This issue is fixed in version 16.4.1.
From the CVE record · GitHub_M
MerlinReader parses XML from a Merlin project SQLite database with external entities enabled. If an application processes a crafted database, the parser can read an arbitrary local file, although disclosure of its contents is unlikely.
Teams using Maven, RubyGems, NuGet, or PyPI MPXJ packages from version 5.5.5 up to, but not including, 16.4.1 should check their dependencies.