CVE-2019-25087 RamseyK httpserver URI ResourceHost.cpp getResource path traversal

Medium 5.3 Published Updated

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

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

What is CVE-2019-25087?

CVE-2019-25087 is a medium-severity path traversal vulnerability in RamseyK httpserver, published on 27 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability was found in RamseyK httpserver. It has been rated as critical. This issue affects the function ResourceHost::getResource of the file src/ResourceHost.cpp of the component URI Handler. The manipulation of the argument uri leads to path traversal: '../filedir'. The attack may be initiated remotely. The name of the patch is 1a0de56e4dafff9c2f9c8f6b130a764f7a50df52. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-216863.

Weakness: CWE-22, CWE-24

Which versions are affected by CVE-2019-25087?

It affects 1 product.

Products include Httpserver Project Httpserver.

How do I fix CVE-2019-25087?

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

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

Sources

Also known as GHSA-7rf6-522q-9wq4.

Is CVE-2019-25087 in your software?

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

Check your SBOMs for free