Summary
CVE-2021-48014 is a critical path traversal vulnerability in FineReport 9.0 that allows unauthenticated remote attackers to write arbitrary files to the server, including JSP webshells, leading to remote code execution. The CVE record lists a CVSS v4.0 score of 9.3 (Critical). Active exploitation was documented by the Shadowserver Foundation starting October 14, 2023.
Technical details
- Root cause: Path traversal in the
design_save_svgoperation of the/WebReport/ReportServerendpoint. Directory traversal sequences in thefilePathparameter are not neutralized. - Trigger conditions: A POST request with traversal sequences in
filePathand attacker-controlled content in the__CONTENT__parameter. No authentication is required. - Attack vector: Network, over HTTP(S) to the exposed FineReport web service.
- Impact: Arbitrary file write, including JSP webshells, enabling remote code execution on the server.
Affected software
- FineReport 9.0
Severity
- CVSS v4.0 base score: 9.3 (Critical)
- Vector:
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Mitigation and recommended actions
- Immediate: No fixed version was identified in the CVE record. Check with the vendor (FanRuan) for an updated release and upgrade FineReport 9.0 deployments.
- If no patch is available: Restrict network access to
/WebReport/ReportServer(for example, by limiting it to trusted networks or placing it behind a VPN or WAF that blocks traversal sequences infilePath). Review affected servers for unexpected JSP files in the web root, and treat any such files as a possible compromise.

