Summary
CVE-2023-54402 is a server-side request forgery (SSRF) vulnerability in iDocView, an online document preview application, affecting the /doc/upload endpoint. The endpoint relies on a hardcoded default authentication token, allowing remote, unauthenticated attackers to bypass access controls and force the server to fetch arbitrary URLs — including file:// URIs — leading to disclosure of local files and access to internal network resources. The flaw carries a CVSS v3.1 base score of 7.5 (CVSS v4.0: 8.7), both rated HIGH, and is listed as a known exploited vulnerability.
Technical details
- Root cause: the
/doc/uploadendpoint accepts atokenparameter that is validated against a hardcoded default value (testtoken), allowing any remote user who knows this value to bypass authentication. - Trigger condition: an attacker sends a request to
/doc/uploadwithtoken=testtokenand aurlparameter pointing to an arbitrary resource, including local files via thefile://scheme. - Attack vector: network-based, unauthenticated, no user interaction required.
- Impact: the server fetches and returns the content of the attacker-supplied URL, enabling arbitrary local file read (e.g., OS and application configuration files) and server-side requests against internal network hosts and services that would otherwise be unreachable from outside the network.
- Exploitation of this issue in the wild was first observed by the Shadowserver Foundation on 2024-03-26, and it is tracked as a known exploited vulnerability.
Affected software
- iDocView — all versions (no version-specific fix has been identified; the vendor has not published version boundaries for the affected release range).
Severity
- CVSS v3.1 Base Score: 7.5 (HIGH) —
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - CVSS v4.0 Base Score: 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
Mitigation and recommended actions
- Immediate: No vendor patch or fixed version has been publicly identified for this issue. Organizations running iDocView should contact the vendor for a fix or confirm whether a current release has removed the hardcoded default token.
- If no patch is available: Restrict or remove public internet exposure of the
/doc/uploadendpoint; place it behind authentication enforced by a reverse proxy or WAF; block or filter requests containingfile://,gopher://, or other non-HTTP URL schemes in theurlparameter; monitor outbound requests from the application server for unexpected internal or local-file access; and isolate the host from sensitive internal network segments until remediated.

