Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2022-28923
NixOS vulnerability analysis and mitigation

Overview

Caddy v2.4.6 contains an open redirection vulnerability (CVE-2022-28923) that allows attackers to redirect users to phishing websites through crafted URLs. The vulnerability was discovered in April 2022 and affects specifically version 2.4.6 of the Caddy web server (Lednerb Advisory).

Technical details

The vulnerability is classified as CWE-601 (URL Redirection to Untrusted Site) with a CVSS v3.1 base score of 6.1 (Medium). The attack vector requires no privileges (PR:N) and network access (AV:N), with user interaction required (UI:R). The vulnerability can be triggered by navigating to the web server with a specifically crafted path containing encoded characters: /%5C%5Cexample.com/%252e%252e%252f, which results in a HTTP Status Code 308 redirect (NVD Database, Lednerb Advisory).

Impact

The vulnerability allows attackers to redirect users to malicious websites, potentially enabling phishing attacks. When successfully exploited, it can lead to users being redirected to untrusted sites, compromising their security and potentially exposing them to further attacks (NVD Database).

Exploitability

The vulnerability requires no special privileges and can be exploited by crafting specific URLs. It was confirmed to affect only version 2.4.6 of Caddy, with all versions v2.x up to v2.5.0-rc.1 being tested. The exploit was discovered and reported by security researcher Mayank Mukhi (@Hunt2behunter) (Lednerb Advisory).

Mitigation and workarounds

The vulnerability was fixed in commit 78b5356f2b1945a90de1ef7f2c7669d82098edbd and is available in version v2.5.0. Server administrators are recommended to upgrade Caddy to the latest version to mitigate this vulnerability (Lednerb Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-91782LOW1.9
  • NixOS logoNixOS
  • binutils
NoYesSep 15, 2026
CVE-2026-91781LOW1.9
  • NixOS logoNixOS
  • binutils
NoYesSep 15, 2026
CVE-2026-91780LOW1.9
  • NixOS logoNixOS
  • binutils
NoNoSep 15, 2026
CVE-2026-91779LOW1.9
  • NixOS logoNixOS
  • binutils
NoNoSep 15, 2026
CVE-2026-90831LOW1.9
  • NixOS logoNixOS
  • seal-binutils
NoYesSep 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management