CVE-2025-4078 Wangshen SecGate 3600 g=log_export_file path traversal

Medium 5.3 Published Updated

Remote attackers can exploit a path traversal vulnerability in the log export function to read arbitrary files from the Wangshen SecGate 3600 firewall.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-4078?

CVE-2025-4078 is a medium-severity path traversal vulnerability in Wangshen SecGate 3600, published on 29 Apr 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability, which was classified as problematic, has been found in Wangshen SecGate 3600 2400. This issue affects some unknown processing of the file ?g=log_export_file. The manipulation of the argument file_name leads to path traversal. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-22

Which versions are affected by CVE-2025-4078?

How do I fix CVE-2025-4078?

No fix has been published for CVE-2025-4078 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-4078 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-4078 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-p8jc-2h55-7w89.

Is CVE-2025-4078 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free