VYPR
Unrated severityNVD Advisory· Published Apr 8, 2024· Updated Mar 26, 2025

CVE-2024-27632

CVE-2024-27632

Description

An issue in GNU Savane v.3.12 and before allows a remote attacker to escalate privileges via the form_id in the form_header() function.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

2
  • GNU/Savanedescription
  • GNU/Savanellm-fuzzy
    Range: <=3.12

Patches

Vulnerability mechanics

Root cause

"The Unix timestamp is used as a seed for the Pseudo-Random Number Generator (PRNG) that generates CSRF protection tokens."

Attack vector

An attacker can exploit this vulnerability by observing the Unix timestamp when a victim user visits a Savane webpage that generates a form_id. By knowing this timestamp, the attacker can independently generate the same valid CSRF token that was assigned to the victim. This allows the attacker to bypass CSRF checks and execute actions on behalf of the victim, potentially leading to privilege escalation or account takeover [ref_id=1].

Affected code

The vulnerability lies in the `form_header()` function, specifically where the `form_id` is generated. The code first calls `utils_srand()` and then creates the `form_id` as an MD5 hash of a value generated by PHP's PRNG [ref_id=1]. The `utils_srand()` function seeds the PRNG using the microtime, which returns the Unix timestamp, multiplied by 1,000,000 [ref_id=1].

What the fix does

The advisory does not specify a patch or provide details on how the vulnerability is fixed. Remediation guidance suggests updating to a version that addresses this issue, but specific changes are not detailed.

Preconditions

  • configAffected product is GNU Savane v3.12 or prior.
  • authThe attacker needs to be able to observe or infer the timestamp when a victim user generates a form_id.

Reproduction

Visit a Savane webpage that generates a form_id. Note the Unix timestamp that you visited that page. Replace $RECORDED_UNIX_TIME with the time that was recorded and un the following PHP script. Observe that the value generated

Generated on Jun 10, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

1

News mentions

0

No linked articles in our index yet.