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-2024-12641

CVE-2024-12641: Cht Tenderdoctransfer RCE Vulnerability

CVE-2024-12641 is a remote code execution flaw in Chunghwa Telecom's TenderDocTransfer that allows attackers to execute OS commands via CSRF and XSS. This article covers technical details, affected versions, and mitigation.

Published: March 31, 2026

CVE-2024-12641 Overview

CVE-2024-12641 is a Reflected Cross-Site Scripting (XSS) vulnerability affecting TenderDocTransfer, a document transfer application developed by Chunghwa Telecom (CHT). The application establishes a local web server and exposes APIs for communication with target websites. Due to the absence of Cross-Site Request Forgery (CSRF) protection on these APIs, unauthenticated remote attackers can leverage phishing techniques to execute arbitrary JavaScript code within a victim's browser. The severity is compounded by the fact that the local web server supports Node.js features, enabling attackers to escalate from XSS to full operating system command execution.

Critical Impact

This vulnerability chains Reflected XSS with missing CSRF protections and Node.js capabilities to enable remote attackers to execute arbitrary OS commands on victim systems through phishing attacks.

Affected Products

  • CHT TenderDocTransfer (all versions)

Discovery Timeline

  • 2024-12-16 - CVE-2024-12641 published to NVD
  • 2025-12-23 - Last updated in NVD database

Technical Details for CVE-2024-12641

Vulnerability Analysis

The TenderDocTransfer application implements a lightweight local web server architecture designed to facilitate document transfer operations between the client system and remote websites. This architectural choice introduces significant security risks when the exposed API endpoints lack proper security controls.

The vulnerability stems from two compounding security weaknesses. First, the API endpoints exposed by the local web server do not implement CSRF token validation, allowing malicious websites to make unauthorized requests on behalf of authenticated users. Second, these APIs are susceptible to Reflected XSS, meaning user-supplied input is echoed back in responses without proper sanitization or encoding.

The Node.js runtime environment powering the local web server provides access to system-level functionality through modules like child_process. When an attacker successfully executes JavaScript in this context, they can leverage these Node.js capabilities to spawn shell processes and execute arbitrary operating system commands with the privileges of the user running the application.

Root Cause

The root cause is a combination of missing input validation on API parameters and absent CSRF protection mechanisms. The application fails to sanitize user-controllable input before reflecting it in HTTP responses, and does not validate the origin of incoming API requests. This allows cross-origin requests from malicious sites to interact with the local server's APIs without restriction.

Attack Vector

The attack requires user interaction, typically through a phishing vector. An attacker crafts a malicious webpage containing specially constructed requests to the victim's locally-running TenderDocTransfer web server. When the victim visits the attacker-controlled page (often via a phishing link), the malicious JavaScript executes API calls to localhost where TenderDocTransfer is running. Due to missing CSRF protections, these requests are accepted. The reflected XSS payload then executes within the Node.js context, allowing the attacker to invoke system commands through Node.js APIs.

The attack chain proceeds as follows: the victim clicks a phishing link leading to an attacker-controlled webpage. The malicious page sends crafted requests to the local TenderDocTransfer API endpoints. The lack of CSRF validation allows these cross-origin requests to succeed. The XSS payload reflects back and executes in the Node.js context. The attacker leverages Node.js system access to execute arbitrary OS commands.

Detection Methods for CVE-2024-12641

Indicators of Compromise

  • Unexpected outbound connections from the TenderDocTransfer process to external hosts
  • Unusual child process spawning from the TenderDocTransfer application or its Node.js runtime
  • JavaScript errors or suspicious code execution in browser developer console when visiting untrusted sites
  • Log entries showing API requests with encoded JavaScript payloads or unusual characters

Detection Strategies

  • Monitor for anomalous network traffic patterns from localhost-bound services attempting external communications
  • Implement endpoint detection rules for Node.js processes spawning shell commands or system utilities
  • Deploy browser-based security controls that detect and block cross-origin requests to localhost services
  • Review web server access logs for API requests containing suspicious JavaScript-like content or encoded payloads

Monitoring Recommendations

  • Enable verbose logging on TenderDocTransfer if available to capture all API request details
  • Deploy endpoint detection and response (EDR) solutions to monitor for command execution chains
  • Implement network segmentation to limit the exposure of locally-running services
  • Use SentinelOne's behavioral AI to detect anomalous process trees originating from document transfer applications

How to Mitigate CVE-2024-12641

Immediate Actions Required

  • Discontinue use of TenderDocTransfer until a patched version is available from Chunghwa Telecom
  • Implement network-level restrictions to block unauthorized access to the local web server ports
  • Educate users about phishing risks and the dangers of clicking untrusted links while TenderDocTransfer is running
  • Consider using application whitelisting to prevent unauthorized process execution

Patch Information

Users should consult the Taiwan CERT Security Advisory for the latest information on patches and remediation guidance from Chunghwa Telecom. Monitor vendor communications for security updates addressing this vulnerability.

Workarounds

  • Disable or uninstall TenderDocTransfer when not actively in use for document transfer operations
  • Use browser extensions that block cross-origin requests to localhost addresses
  • Implement host-based firewall rules to restrict which processes can bind to local ports
  • Consider running TenderDocTransfer in an isolated virtual environment to contain potential exploitation

If firewall restrictions are implemented, ensure rules block inbound connections from external sources to the local web server port used by TenderDocTransfer. Additionally, consider implementing egress filtering to prevent any unauthorized outbound communications from the application process.

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechCht Tenderdoctransfer

  • SeverityCRITICAL

  • CVSS Score9.6

  • EPSS Probability31.44%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-79
  • Technical References
  • Taiwan CERT Security Advisory

  • Taiwan CERT Incident Report
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal Vulnerability
Default Legacy - Prefooter | 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