CVE-2024-26470: FullStackHero.WebAPI.Boilerplate FullStackHero's WebAPI Boilerplate Host Header Vulnerability

MODERATE
Advisory Identifier: GHSA-75x2-6h4m-h6mx
CWE-200
Published
Advisory Summary

CVE-2024-26470 is a MODERATE fullstackhero's webapi boilerplate host header vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting FullStackHero.WebAPI.Boilerplate libraries in the NuGet ecosystem. The issue involves fullstackhero's webapi boilerplate host header injection vulnerability. Remediation is available in the latest vendor maintenance releases.

CVE-2024-26470 at a Glance

CVE Identifier CVE-2024-26470
GHSA Identifier GHSA-75x2-6h4m-h6mx
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product FullStackHero.WebAPI.Boilerplate
Package Ecosystem NuGet
Published Date
Last Updated

How to Fix CVE-2024-26470

To remediate this vulnerability, upgrade all affected FullStackHero.WebAPI.Boilerplate dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

FullStackHero.WebAPI.Boilerplate fixed: Latest secure release
Upgrade FullStackHero.WebAPI.Boilerplate to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for FullStackHero.WebAPI.Boilerplate

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-26470, inspect your project dependencies for FullStackHero.WebAPI.Boilerplate:

inspect dependencies for FullStackHero.WebAPI.Boilerplate

Analyze the terminal output to locate any version of FullStackHero.WebAPI.Boilerplate in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In FullStackHero.WebAPI.Boilerplate, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A host header injection vulnerability in the forgot password function of FullStackHero's WebAPI Boilerplate v1.0.0 and v1.0.1 allows attackers to leak the password reset token via a crafted request.

CVE-2024-26470 Affected FullStackHero.WebAPI.Boilerplate Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
FullStackHero.WebAPI.Boilerplate
NuGet
≥ 1.0.0
≤ 1.0.1

References

Frequently Asked Questions

What is CVE-2024-26470?
CVE-2024-26470 is a security vulnerability in FullStackHero.WebAPI.Boilerplate involving FullStackHero's WebAPI Boilerplate host header injection vulnerability under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which FullStackHero.WebAPI.Boilerplate versions are affected?
Affected versions include releases prior to current release patches across affected packages: FullStackHero.WebAPI.Boilerplate.
What version fixes CVE-2024-26470?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is FullStackHero.WebAPI.Boilerplate affected?
Yes, FullStackHero.WebAPI.Boilerplate is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2024-26470?
CVE-2024-26470 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check NuGet dependencies for CVE-2024-26470?
Run the dependency tree command: 'inspect dependencies for FullStackHero.WebAPI.Boilerplate'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-75x2-6h4m-h6mx",
  "modified" : "2024-03-01T16:56:37Z",
  "published" : "2024-02-29T03:33:18Z",
  "aliases" : [ "CVE-2024-26470" ],
  "summary" : "FullStackHero's WebAPI Boilerplate host header injection vulnerability",
  "details" : "A host header injection vulnerability in the forgot password function of FullStackHero's WebAPI Boilerplate v1.0.0 and v1.0.1 allows attackers to leak the password reset token via a crafted request.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "FullStackHero.WebAPI.Boilerplate"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.0"
      }, {
        "last_affected" : "1.0.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-26470"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/dub-flow/vulnerability-research/tree/main/CVE-2024-26470"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/fullstackhero/dotnet-webapi-boilerplate"
  }, {
    "type" : "WEB",
    "url" : "https://www.nuget.org/packages/FullStackHero.WebAPI.Boilerplate"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-03-01T16:56:37Z",
    "nvd_published_at" : "2024-02-29T01:44:18Z"
  }
}