Cyber Resilience

CVE-2025-24783

Apache Cocoon

Published
27 January 2025
Modified
15 July 2025
Patch / advisory
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS Score 0.0077 52th percentile
Risk Priority 60 floored blend · peak EPSS

Summary

CVE-2025-24783 is a high-severity PRNG (CWE-335) vulnerability in Apache Cocoon. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Forge Web Credentials (T1606); ranked in the top 48% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SC-12 (Cryptographic Key Establishment and Management) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2025-24783 is an incorrect seed usage vulnerability in the pseudo-random number generator that Apache Cocoon uses to assign identifiers to continuations. The flaw affects every version of the framework; because the PRNG is seeded only with the process startup time, the resulting identifiers are insufficiently unpredictable.

An unauthenticated network attacker can therefore enumerate and guess valid continuation IDs, retrieving continuation state that should be inaccessible and thereby disclosing sensitive information. The CVSS 7.5 score reflects the low attack complexity and absence of required privileges or user interaction.

Apache has marked the issue “unsupported when assigned” because the Cocoon project is retired and will not issue a fix. The published mitigation is to enable the “session-bound-continuations” option so that continuations are not shared across sessions; otherwise administrators are advised to restrict access to trusted users only. The associated EPSS scores remain low (current 0.0102, peak 0.0133) with no material upward trajectory after disclosure.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

** UNSUPPORTED WHEN ASSIGNED ** Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG) vulnerability in Apache Cocoon. This issue affects Apache Cocoon: all versions. When a continuation is created, it gets a random identifier. Because the random number generator…

more

used to generate these identifiers was seeded with the startup time, it may not have been sufficiently unpredictable, and an attacker could use this to guess continuation ids and look up continuations they should not have had access to. As a mitigation, you may enable the "session-bound-continuations" option to make sure continuations are not shared across sessions. As this project is retired, we do not plan to release a version that fixes this issue. Users are recommended to find an alternative or restrict access to the instance to trusted users. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1606 Forge Web Credentials Credential Access
Adversaries may forge credential materials that can be used to gain access to web applications or Internet services.
T1606.001 Web Cookies Credential Access
Adversaries may forge web cookies that can be used to gain access to web applications or Internet services.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-49733Same product: Apache Cocoon
CVE-2025-59390Same vendor: Apache
CVE-2024-29868Same vendor: Apache
CVE-2026-11702Shared CWE-335
CVE-2024-27632Shared CWE-335
CVE-2024-1579Shared CWE-335
CVE-2025-27580Shared CWE-335
CVE-2025-52578Shared CWE-335
CVE-2026-11625Shared CWE-335
CVE-2023-4472Shared CWE-335

Affected Assets

apache
cocoon
all versions

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 2 hardening rules · 2 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V7.2.3
  • V11.5.1

Mitigating Controls (NIST 800-53 r5) AI

SC-12 requires proper establishment and management of cryptographic keys and material, which directly encompasses correct seeding of PRNGs used for cryptographic purposes.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly enforce correct PRNG seeding during development, though the control addresses many other coding issues as well.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can detect weak seeding but does not itself prevent the weakness.

prevents

Cryptography policy and key-management rules directly require proper seeding of PRNGs used for keys and nonces.

prevents

Secure-coding standards mandate correct PRNG seeding to avoid predictable random values.

none

Strong authentication mechanisms rely on unpredictable random values, indirectly requiring proper PRNG seeding.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (authoritative rows only; rows rated `none` are excluded).

Oracle Linux 8 (1 rule)
  • V-248563 The OL 8 SSH server must be configured to use strong entropy. prevents CWE-335
RHEL 8 (1 rule)
  • V-230253 RHEL 8 must ensure the SSH server uses strong entropy. prevents CWE-335

References