CVE-2025-13982
8.1Drupal · Login Time Restriction
A Cross-Site Request Forgery (CSRF) vulnerability in the Drupal Login Time Restriction module allows unauthorized actions to be performed on behalf of authenticated users.
Executive summary
The Drupal Login Time Restriction module contains a CSRF vulnerability that could allow an attacker to perform unauthorized actions by tricking an authenticated user.
Vulnerability
This vulnerability is a Cross-Site Request Forgery (CWE-352) flaw triggered when an unauthenticated attacker tricks a victim into performing unintended actions within the Drupal environment. The flaw exists because the module fails to properly validate requests, allowing state-changing operations to be executed without user consent.
Business impact
The CVSS score of 8.1 indicates a high-severity risk, primarily due to the potential for unauthorized data manipulation or administrative actions. A successful exploit could lead to complete loss of integrity for the affected user account, potentially resulting in unauthorized configuration changes or compromised session management.
Remediation
Immediate Action: Update the Login Time Restriction module to version 1.0.3 or later as specified in the official Drupal security advisory.
Proactive Monitoring: Review web server access logs for suspicious POST requests originating from unexpected referrers or anomalous user activity.
Compensating Controls: Deploy a Web Application Firewall (WAF) configured to enforce strict referrer validation and CSRF protection policies to block malicious requests targeting this module.
Exploitation status
Public Exploit Available: No
Analyst recommendation
Given the high CVSS score and the potential for unauthorized administrative actions, administrators should prioritize updating the Login Time Restriction module immediately. Applying the vendor-provided patch is the only definitive way to mitigate this risk, as CSRF vulnerabilities are difficult to block comprehensively with network-level controls alone.
More Drupal CVEs
Sources
Originally found and disclosed by Pierre Rudloff (prudloff), with Kunal Singh (kunal_singh) (remediation developer), Greg Knaddison (greggles) (coordinator), Juraj Nemec (poker10) (coordinator), Pierre Rudloff (prudloff) (coordinator), Jess (xjm) (coordinator), per the CVE Program record.