CVE-2022-28923 Open Redirect in Caddy

Medium 6.1 Published Updated

Attackers can redirect users to phishing sites via crafted URLs in Caddy, requiring an upgrade to mitigate.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-28923?

CVE-2022-28923 is a medium-severity vulnerability in n/a, published on 6 Feb 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Caddy v2.4.6 was discovered to contain an open redirection vulnerability which allows attackers to redirect users to phishing websites via crafted URLs.

Weakness: CWE-601

Which versions are affected by CVE-2022-28923?

3 open source packages ship an affected version, including github.com/caddyserver/caddy/v2. It affects 1 product.

PackageAffectedFixed in
github.com/caddyserver/caddy/v2 GoAll versions2.5.0-beta.1
github.com/caddyserver/caddy/v2 GoAll versions2.5.0-beta.1
github.com/caddyserver/caddy/v2 GoAll versions2.5.0-beta.1

Products include Caddyserver Caddy.

How do I fix CVE-2022-28923?

Upgrade github.com/caddyserver/caddy/v2 to 2.5.0-beta.1 or later.

Is CVE-2022-28923 being exploited?

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

Public exploit code: 1 Nuclei template.

Sources

Also known as DEBIAN-CVE-2022-28923, GHSA-qpm3-vr34-h8w8, GO-2023-1567.

Is CVE-2022-28923 in your software?

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

Check your SBOMs for free