ghsa-3g23-7g3r-898j
Vulnerability from github
Published
2025-05-03 18:30
Modified
2025-05-12 21:31
Details

Mojolicious versions from 0.999922 through 9.39 for Perl uses a hard coded string, or the application's class name, as a HMAC session secret by default.

These predictable default secrets can be exploited to forge session cookies. An attacker who knows or guesses the secret could compute valid HMAC signatures for the session cookie, allowing them to tamper with or hijack another user’s session.

Show details on source website


{
  "affected": [],
  "aliases": [
    "CVE-2024-58134"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-321"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2025-05-03T16:15:19Z",
    "severity": "HIGH"
  },
  "details": "Mojolicious versions from 0.999922 through 9.39 for Perl uses a hard coded string, or the application\u0027s class name, as a HMAC session secret by default.\n\nThese predictable default secrets can be exploited to forge session cookies. An attacker who knows or guesses the secret could compute valid HMAC signatures for the session cookie, allowing them to tamper with or hijack another user\u2019s session.",
  "id": "GHSA-3g23-7g3r-898j",
  "modified": "2025-05-12T21:31:05Z",
  "published": "2025-05-03T18:30:29Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-58134"
    },
    {
      "type": "WEB",
      "url": "https://github.com/hashcat/hashcat/pull/4090"
    },
    {
      "type": "WEB",
      "url": "https://github.com/mojolicious/mojo/pull/1791"
    },
    {
      "type": "WEB",
      "url": "https://github.com/mojolicious/mojo/pull/2200"
    },
    {
      "type": "WEB",
      "url": "https://medium.com/securing/baking-mojolicious-cookies-revisited-a-case-study-of-solving-security-problems-through-security-by-13da7c225802"
    },
    {
      "type": "WEB",
      "url": "https://metacpan.org/release/SRI/Mojolicious-9.39/source/lib/Mojolicious.pm#L51"
    },
    {
      "type": "WEB",
      "url": "https://www.synacktiv.com/publications/baking-mojolicious-cookies"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…