CVE-2023-46315 Path traversal in n/a

High 7.5 Published Updated

Attackers can read arbitrary local files via path traversal if Gradio authentication is enabled without a secret key, exposing sensitive data.

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

CVE-2023-46315 is a high-severity path traversal vulnerability in n/a, published on 22 Oct 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The zanllp sd-webui-infinite-image-browsing (aka Infinite Image Browsing) extension before 977815a for stable-diffusion-webui (aka Stable Diffusion web UI), if Gradio authentication is enabled without secret key configuration, allows remote attackers to read any local file via /file?path= in the URL, as demonstrated by reading /proc/self/environ to discover credentials.

Weakness: CWE-200

Which versions are affected by CVE-2023-46315?

It affects 1 product.

Products include Zanllp Stable Diffusion Webui Infinite Image Browsing.

How do I fix CVE-2023-46315?

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

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

Sources

Also known as GHSA-jq2h-j9qf-53rv.

Is CVE-2023-46315 in your software?

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

Check your SBOMs for free