Menu

  • Alerts
  • Incidents
  • News
  • APTs
  • Cyber Decoded
  • Cyber Hygiene
  • Cyber Review
  • Cyber Tips
  • Definitions
  • Malware
  • Threat Actors
  • Tutorials

Useful Tools

  • Password generator
  • Report an incident
  • Report to authorities
No Result
View All Result
CTF Hack Havoc
CyberMaterial
  • Education
    • Cyber Decoded
    • Definitions
  • Information
    • Alerts
    • Incidents
    • News
  • Insights
    • Cyber Hygiene
    • Cyber Review
    • Tips
    • Tutorials
  • Support
    • Contact Us
    • Report an incident
  • About
    • About Us
    • Advertise with us
Get Help
Hall of Hacks
  • Education
    • Cyber Decoded
    • Definitions
  • Information
    • Alerts
    • Incidents
    • News
  • Insights
    • Cyber Hygiene
    • Cyber Review
    • Tips
    • Tutorials
  • Support
    • Contact Us
    • Report an incident
  • About
    • About Us
    • Advertise with us
Get Help
No Result
View All Result
Hall of Hacks
CyberMaterial
No Result
View All Result
Home Alerts

BatBadBut Command Injection Flaw

April 9, 2024
Reading Time: 3 mins read
in Alerts
BatBadBut Command Injection Flaw

A critical vulnerability named ‘BatBadBut’ has been uncovered by security researchers at Flatt Security, affecting multiple programming languages and posing a serious threat to Windows applications. The vulnerability stems from the way the Windows operating system handles the execution of batch files (.bat and .cmd) using the ‘cmd exe’ process.

When executing batch files, the Windows OS relies on the ‘CreateProcess’ function, which spawns the ‘cmd exe’ process. However, many programming languages fail to properly escape command arguments passed to this function, leaving them vulnerable to command injection attacks.

According to Flatt Security researcher RyotaK, the complexity of parsing rules for command arguments in ‘cmd exe’ complicates the issue, as programming language runtimes often fail to adequately escape these arguments. This allows attackers to potentially inject malicious commands into Windows applications by controlling the command arguments section of batch files.

Several conditions must be met for successful exploitation, including the application executing a command on Windows, not specifying the command file extension, and the attacker controlling the command arguments. Additionally, affected programming language runtimes must fail to escape the command arguments properly.

While most applications are not affected by this vulnerability, several programming languages have been impacted. The CERT Coordination Center (CERT/CC) has issued four CVE identifiers for the security defect, including CVE-2024-1874, CVE-2024-22423, CVE-2024-24576, and CVE-2024-3566. However, most programming languages are affected by only one or two of these CVEs.

Affected programming languages include Haskell, Rust, Node.js, PHP, and yt-dlp. Some languages have already released patches to address the vulnerability, while others are in the process of doing so.

Developers and system administrators are advised to apply patches promptly and implement appropriate measures to prevent potential command injection attacks.

Reference:
  • BatBadBut Command Injection Vulnerability Affects Multiple Programming Languages

Tags: April 2024BatBadButCyber AlertCyber Alerts 2024Cyber RiskCyber threatFlatt SecurityVulnerabilitiesWindows
ADVERTISEMENT

Related Posts

Hackers Use Leaked Shellter License Malware

Windows BitLocker Vulnerability Flaw

July 9, 2025
Hackers Use Leaked Shellter License Malware

Hackers Use Leaked Shellter License Malware

July 9, 2025
Hackers Use Leaked Shellter License Malware

Anatsa Android Trojan Targets 90K Users

July 9, 2025
AMOS Mac Stealer Adds Persistent Backdoor

AMOS Mac Stealer Adds Persistent Backdoor

July 8, 2025
AMOS Mac Stealer Adds Persistent Backdoor

NordDragonScan Malware Steals Windows Data

July 8, 2025
AMOS Mac Stealer Adds Persistent Backdoor

New Ransomware BERT Targets ESXi Systems

July 8, 2025

Latest Alerts

Windows BitLocker Vulnerability Flaw

Anatsa Android Trojan Targets 90K Users

Hackers Use Leaked Shellter License Malware

New Ransomware BERT Targets ESXi Systems

NordDragonScan Malware Steals Windows Data

AMOS Mac Stealer Adds Persistent Backdoor

Subscribe to our newsletter

    Latest Incidents

    Credit Reports Breached And Sold On Dark Web

    Recruiting Software Exposed 26M Resumes

    Norwegian Municipalities Hit by Data Breach

    French Chip Firm Semco Hacked During IPO

    Louis Vuitton Korea Hit By Cyberattack

    Virginia School District Hit By Cyberattack

    CyberMaterial Logo
    • About Us
    • Contact Us
    • Jobs
    • Legal and Privacy Policy
    • Site Map

    © 2025 | CyberMaterial | All rights reserved

    Welcome Back!

    Login to your account below

    Forgotten Password?

    Retrieve your password

    Please enter your username or email address to reset your password.

    Log In

    Add New Playlist

    No Result
    View All Result
    • Alerts
    • Incidents
    • News
    • Cyber Decoded
    • Cyber Hygiene
    • Cyber Review
    • Definitions
    • Malware
    • Cyber Tips
    • Tutorials
    • Advanced Persistent Threats
    • Threat Actors
    • Report an incident
    • Password Generator
    • About Us
    • Contact Us
    • Advertise with us

    Copyright © 2025 CyberMaterial