Lucene search

K
vulnrichmentSnykVULNRICHMENT:CVE-2024-21494
HistoryFeb 17, 2024 - 5:00 a.m.

CVE-2024-21494

2024-02-1705:00:07
snyk
github.com
2
authentication bypass
spoofing
x-forwarded-for
input sanitization
unauthorized access

CVSS3

5.4

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P

AI Score

7

Confidence

High

SSVC

Exploitation

poc

Automatable

no

Technical Impact

partial

All versions of the package github.com/greenpau/caddy-security are vulnerable to Authentication Bypass by Spoofing via the X-Forwarded-For header due to improper input sanitization. An attacker can spoof an IP address used in the user identity module (/whoami API endpoint). This could lead to unauthorized access if the system trusts this spoofed IP address.

ADP Affected

[
  {
    "cpes": [
      "cpe:2.3:a:github.com\\/greenpau\\/caddy-security:github.com\\/greenpau\\/caddy-security:*:*:*:*:*:*:*:*"
    ],
    "vendor": "github.com\\/greenpau\\/caddy-security",
    "product": "github.com\\/greenpau\\/caddy-security",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "versionType": "custom",
        "lessThanOrEqual": "*"
      }
    ],
    "defaultStatus": "unknown"
  }
]

CVSS3

5.4

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P

AI Score

7

Confidence

High

SSVC

Exploitation

poc

Automatable

no

Technical Impact

partial

Related for VULNRICHMENT:CVE-2024-21494