CVE-2023-31046 Path traversal in n/a

Medium 6.5 Published Updated

An authenticated attacker can exploit a path traversal flaw in PaperCut to read arbitrary files from the server filesystem.

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-2023-31046?

CVE-2023-31046 is a medium-severity path traversal vulnerability in n/a, published on 19 Oct 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A Path Traversal vulnerability exists in PaperCut NG before 22.1.1 and PaperCut MF before 22.1.1. Under specific conditions, this could potentially allow an authenticated attacker to achieve read-only access to the server's filesystem, because requests beginning with "GET /ui/static/..//.." reach getStaticContent in UIContentResource.class in the static-content-files servlet.

Weakness: CWE-22

Which versions are affected by CVE-2023-31046?

It affects 2 products.

Products include Papercut Papercut Mf, Papercut Papercut Ng.

How do I fix CVE-2023-31046?

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

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

Sources

Also known as GHSA-272r-9398-x32j.

Is CVE-2023-31046 in your software?

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

Check your SBOMs for free