Summary
CVE-2019-25785 is a path traversal vulnerability in FanRuan FineReport 8.0 that lets unauthenticated remote attackers read arbitrary files from the server. It is rated High severity (CVSS 8.7, CVSS v4.0).
Technical details
- Root cause: path traversal via the
resourcepathparameter of the/WebReport/ReportServerendpoint. - Trigger conditions: an unauthenticated GET request with
op=chartandcmd=get_geo_json. - Attack vector: network, no authentication or user interaction required.
- Impact: disclosure of sensitive files. The CVE record gives
privilege.xmlas an example, from which admin credentials can be extracted.
Affected software
- FanRuan FineReport 8.0
Severity
- CVSS v4.0: 8.7 (High),
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),
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Mitigation and recommended actions
- Immediate: the CVE record does not name a fixed version. Check with FanRuan for a patched FineReport release and upgrade from 8.0.
- Until patched: restrict network access to
/WebReport/ReportServer, for example by placing it behind a VPN or an allow-list, or by blocking requests containingcmd=get_geo_jsonat a WAF or reverse proxy. - Treat credentials stored in
privilege.xmlas potentially exposed on any internet-facing 8.0 instance, and rotate them.

