CVE-2018-18809 — TIBCO JasperReports Library Directory Traversal Vulnerability

CVE-2018-18809

Path traversal in the reporting library's resource loading lets low-privileged web users read arbitrary host files

What is TIBCO JasperReports?

JasperReports is a widely embedded open-source Java reporting library (with a commercial edition and server product from TIBCO), used by countless enterprise applications to generate PDF, Excel, and other formatted reports from underlying data. Because reporting engines often need to load templates, images, and other resource files by path, they are a recurring source of path-traversal vulnerabilities when that path is influenced by user input.

Overview

CVE-2018-18809 is a directory traversal vulnerability in the TIBCO JasperReports Library that may allow a web server user — one with sufficiently low privileges to trigger report generation or resource loading — to access the contents of files on the host system beyond the intended reporting resource directory.

Technical Details

The flaw (CWE-22, Path Traversal) arises from insufficient validation of file path input used when JasperReports resolves resource files (such as report templates, sub-reports, or images) during report generation. By supplying a crafted path containing traversal sequences, a low-privileged authenticated user can cause the library to read files outside its intended resource directory, exposing configuration files, credentials, or other sensitive host content (CVSS 6.5: low privileges required, confidentiality-only impact).

Discovery

The vulnerability was identified and disclosed through TIBCO's security advisory process, documented in the advisory dated March 6, 2019, alongside the fixed JasperReports Library release.

Exploitation Context

CISA's KEV entry confirms this vulnerability has been exploited in the wild. Because JasperReports is frequently embedded as a dependency inside larger business applications rather than run standalone, organizations may be exposed without realizing their application bundles a vulnerable reporting library version.

Remediation

  1. Upgrade to the TIBCO JasperReports Library version identified as fixed in the March 6, 2019 security advisory.
  2. Audit application dependency trees for JasperReports, since it is commonly bundled inside larger commercial and custom-built applications rather than used standalone.
  3. Restrict which authenticated users/roles can trigger report generation or resource loading, following least-privilege principles.
  4. Validate and sanitize any user-supplied input that influences report template or resource file paths at the application layer as defense-in-depth.
  5. Review application logs for report-generation requests referencing unexpected file paths or traversal sequences.

Key Details

PropertyValue
CVE ID CVE-2018-18809
Vendor / Product TIBCO — JasperReports
NVD Published2019-03-07
NVD Last Modified2025-11-07
CVSS 3.1 Score6.5
CVSS 3.1 VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
SeverityMEDIUM
CWE CWE-22 find similar ↗
CISA KEV Added2022-12-29
CISA KEV Deadline2023-01-19
Known Ransomware Use No

CVSS 3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Required Action

CISA BOD 22-01 Deadline: 2023-01-19. Apply updates per vendor instructions.

Timeline

DateEvent
2019-03-06TIBCO publishes security advisory with fixed JasperReports Library versions
2019-03-07CVE published
2022-12-29Added to CISA Known Exploited Vulnerabilities catalog
2023-01-19CISA BOD 22-01 remediation deadline