CVE-2025-5157 H3C SecCenter SMP-E1114P02 fileContent path traversal

Medium 5.3 Published Updated

Remote attackers can exploit a path traversal vulnerability in the fileContent function to read arbitrary files from the server.

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-5157?

CVE-2025-5157 is a medium-severity path traversal vulnerability in H3C SecCenter SMP-E1114P02, published on 25 May 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in H3C SecCenter SMP-E1114P02 up to 20250513. It has been classified as critical. This affects the function fileContent of the file /cfgFile/fileContent. The manipulation of the argument filePath leads to path traversal. It is possible to initiate the attack remotely. The vendor was contacted early about this disclosure but did not respond in any way.

Weakness: CWE-22

Which versions are affected by CVE-2025-5157?

It affects 1 product.

Products include H3c Seccenter Smp-1114p02.

How do I fix CVE-2025-5157?

No fix has been published for CVE-2025-5157 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-5157 being exploited?

There is no known exploitation of CVE-2025-5157 in the wild and no public exploit code.

Sources

Also known as GHSA-6fcw-f9h4-4hxg.

Is CVE-2025-5157 in your software?

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

Check your SBOMs for free