The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-13982

CVE-2025-13982: Drupal Login Time Restriction CSRF Flaw

CVE-2025-13982 is a Cross-Site Request Forgery vulnerability in the Drupal Login Time Restriction module that enables attackers to perform unauthorized actions. This article covers technical details, affected versions, and mitigation.

Published: January 30, 2026

CVE-2025-13982 Overview

A Cross-Site Request Forgery (CSRF) vulnerability has been identified in the Drupal Login Time Restriction module. This security flaw allows attackers to forge malicious requests that execute actions on behalf of authenticated users without their consent. The vulnerability exists in versions prior to 1.0.3 of the Login Time Restriction module, which is used to control when users can log into Drupal-based websites.

Critical Impact

Attackers can exploit this CSRF vulnerability to manipulate login time restriction settings or perform unauthorized administrative actions on affected Drupal installations, potentially compromising access control mechanisms.

Affected Products

  • Drupal Login Time Restriction module versions 0.0.0 through 1.0.2
  • Drupal websites utilizing the vulnerable Login Time Restriction module
  • Web applications built on Drupal CMS with this contributed module installed

Discovery Timeline

  • 2026-01-28 - CVE-2025-13982 published to NVD
  • 2026-01-29 - Last updated in NVD database

Technical Details for CVE-2025-13982

Vulnerability Analysis

This Cross-Site Request Forgery vulnerability (CWE-352) occurs when the Drupal Login Time Restriction module fails to properly validate that state-changing requests originate from the legitimate user. CSRF attacks exploit the trust that a web application has in an authenticated user's browser, allowing attackers to trick users into performing unintended actions.

The vulnerability requires user interaction, specifically that a victim with appropriate privileges must visit a malicious page or click a crafted link while authenticated to the target Drupal site. Upon successful exploitation, attackers can modify login time restrictions, potentially locking out legitimate users or granting unauthorized access windows to malicious actors.

Root Cause

The root cause of this vulnerability is the absence or improper implementation of anti-CSRF tokens in the Login Time Restriction module's forms and state-changing endpoints. Without proper CSRF protection mechanisms such as synchronizer tokens or SameSite cookie attributes, the module cannot distinguish between legitimate user-initiated requests and forged requests from external origins.

Attack Vector

The attack is network-based and requires an authenticated administrator or privileged user to interact with a malicious resource. An attacker would craft a malicious webpage containing hidden forms or JavaScript code that automatically submits requests to the vulnerable Drupal module endpoints. When a logged-in administrator visits this malicious page, their browser sends the forged request along with their valid session cookies, causing the server to process the request as legitimate.

Typical attack scenarios include:

  1. Embedding malicious HTML in phishing emails that link to attacker-controlled pages
  2. Injecting malicious content into legitimate websites via other vulnerabilities
  3. Using social engineering to convince administrators to visit malicious URLs

The vulnerability can lead to unauthorized modification of login time restriction policies, potentially disrupting normal user access or creating security gaps in the authentication schedule.

Detection Methods for CVE-2025-13982

Indicators of Compromise

  • Unexpected changes to login time restriction configurations without administrator action
  • Audit logs showing configuration modifications originating from unusual referrer URLs
  • Reports from administrators of actions they did not perform on the Login Time Restriction module
  • Anomalous HTTP POST requests to module endpoints from external referrer domains

Detection Strategies

  • Monitor Drupal watchdog logs for unexpected changes to login time restriction settings
  • Implement web application firewalls (WAF) with CSRF detection rules to identify suspicious cross-origin requests
  • Review access logs for requests to Login Time Restriction administrative endpoints with unusual referrer headers
  • Deploy SentinelOne Singularity XDR to correlate web server logs with endpoint behavior for comprehensive threat detection

Monitoring Recommendations

  • Enable verbose logging for the Drupal Login Time Restriction module to capture all configuration changes
  • Configure alerts for any modifications to login restriction policies outside of maintenance windows
  • Implement Content Security Policy (CSP) headers and monitor for policy violations that may indicate CSRF attempts
  • Regularly audit administrator activity logs to identify unauthorized or suspicious actions

How to Mitigate CVE-2025-13982

Immediate Actions Required

  • Update the Drupal Login Time Restriction module to version 1.0.3 or later immediately
  • Review and verify current login time restriction configurations have not been maliciously altered
  • Educate administrators about CSRF attack vectors and the importance of not clicking suspicious links while authenticated
  • Consider temporarily disabling the module if immediate patching is not possible

Patch Information

The Drupal security team has released version 1.0.3 of the Login Time Restriction module which addresses this CSRF vulnerability. Organizations should update to this version or later as soon as possible. For complete patch details and installation instructions, refer to the Drupal Security Advisory.

To update the module via Composer:

bash
composer update drupal/login_time_restriction
drush cr

Workarounds

  • Restrict access to the Login Time Restriction module's administrative pages to trusted IP addresses only
  • Implement additional WAF rules to validate the Origin and Referer headers on state-changing requests
  • Use browser extensions that block cross-site requests for administrative sessions
  • Configure strict Content Security Policy headers to limit the origins that can submit forms to your Drupal site
bash
# Example Apache configuration to add CSRF-related security headers
<IfModule mod_headers.c>
    # Set X-Frame-Options to prevent clickjacking
    Header always set X-Frame-Options "SAMEORIGIN"
    
    # Restrict embedding in frames from other origins
    Header always set Content-Security-Policy "frame-ancestors 'self';"
    
    # Enable browser XSS protection
    Header always set X-XSS-Protection "1; mode=block"
</IfModule>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeCSRF

  • Vendor/TechDrupal

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-352
  • Technical References
  • Drupal Security Advisory
  • Related CVEs
  • CVE-2026-4393: Drupal Automated Logout CSRF Vulnerability

  • CVE-2026-3211: Drupal Theme Negotiation by Rules CSRF

  • CVE-2025-14472: Drupal Acquia Content Hub CSRF Vulnerability

  • CVE-2020-13663: Drupal Core Form API CSRF Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English