PT-2022-26181 · Mpxj · Mpxj

Jlleitschuh

·

Published

2022-11-25

·

Updated

2023-09-07

·

CVE-2022-41954

CVSS v3.1

3.3

Low

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions MPXJ versions prior to 10.14.1
Description MPXJ is an open source library to read and write project plans from a variety of file formats and databases. On Unix-like operating systems, MPXJ's use of File.createTempFile(..) results in temporary files being created with the permissions -rw-r--r--. This means that any other user on the system can read the contents of this file. When MPXJ is reading a schedule file which requires the creation of a temporary file or directory, a knowledgeable local user could locate these transient files while they are in use and would then be able to read the schedule being processed by MPXJ.
Recommendations For versions prior to 10.14.1, update to MPXJ version 10.14.1 or later to resolve the issue. As a temporary workaround for users unable to upgrade, set java.io.tmpdir to a directory to which only the user running the application has access to prevent other users from accessing these temporary files.

Exploit

Fix

Information Disclosure

Exposure of Resource to Wrong Sphere

Weakness Enumeration

Related Identifiers

CVE-2022-41954
GHSA-JF2P-4GQJ-849G
PYSEC-2022-42996

Affected Products

Mpxj