CVE-2025-40920
8.6Perl · Catalyst::Authentication::Credential::HTTP
Catalyst::Authentication::Credential::HTTP generates insecure nonces using the Data::UUID library, which relies on a cryptographically weak pseudo-random number generator.
Executive summary
A critical vulnerability in the Catalyst::Authentication::Credential::HTTP Perl module allows for the generation of predictable nonces, potentially facilitating authentication bypasses.
Vulnerability
The module utilizes the Perl Data::UUID library to generate nonces, which fails to provide a cryptographically secure source of randomness. Because the nonces are predictable, an unauthenticated attacker could potentially forge authentication tokens to gain unauthorized access to the application.
Business impact
The use of predictable nonces undermines the integrity of the authentication mechanism, potentially allowing unauthorized access to sensitive application data or administrative functions. With a CVSS score of 8.6, this flaw represents a High severity risk that could lead to full account compromise if exploited by a remote, unauthenticated adversary.
Remediation
Immediate Action: Upgrade to Catalyst-Authentication-Credential-HTTP version 1.019 or later to implement secure cryptographic nonce generation.
Proactive Monitoring: Monitor authentication logs for patterns of suspicious or rapid-fire login attempts that may indicate nonce prediction or brute-force testing.
Compensating Controls: If an immediate update is not feasible, restrict access to the affected web application via network-level controls or a Web Application Firewall to mitigate exposure to unauthenticated external traffic.
Exploitation status
Public Exploit Available: Unknown
Analyst recommendation
The reliance on predictable identifiers for authentication is a severe security defect that requires immediate remediation. Administrators should prioritize the update to version 1.019 across all environments to ensure that cryptographic nonces meet modern security standards. Failure to patch this vulnerability leaves the authentication process susceptible to bypass attacks.