Summary
CVE-2021-48015 is an unauthenticated path traversal vulnerability (CWE-22) in JeeWMS, an open-source warehouse management system. Remote attackers can read arbitrary files from the server through the dbPath parameter. The CVSS v4.0 base score is 8.7 (High).
Technical details
- Root cause: The
/systemController/showOrDownByurl.doendpoint does not properly restrict thedbPathparameter to an intended directory (CWE-22). - Trigger conditions: An attacker sends a request to the endpoint with
../sequences indbPath. No authentication is required. - Attack vector: Network. The attack needs no privileges and no user interaction.
- Impact: Disclosure of arbitrary files readable by the application process, such as configuration files and credentials. The published example reads
win.ini. The CVE record lists no integrity or availability impact. - The issue was reported by The Shadowserver Foundation.
Affected software
- JeeWMS (vendor: erzhongxmu) at commits before
0a610e8178a0a1197e9c6615b58faf67c406d2bc. The CVE record does not list release version numbers.
Severity
- CVSS v4.0: 8.7 (High). Vector:
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - CVSS v3.1: 7.5 (High). Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Mitigation and recommended actions
- Immediate: Update JeeWMS to a build that includes fix commit
0a610e8178a0a1197e9c6615b58faf67c406d2bcor later. - If you cannot patch: Restrict network access to JeeWMS to trusted networks or a VPN. Block or filter external requests to
/systemController/showOrDownByurl.do, including requests with../sequences indbPath. - Review: Check web logs for requests to this endpoint with traversal patterns. Treat any credentials stored in readable files on exposed servers as potentially compromised.

