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

Illuminate Must Delete Student Data

Lazarus APT Remote Worker Scheme Caught

December 3, 2025
Rust Crate Spreads Malware To Web3 Devs

Google Fixes 107 Android Flaws In Use

December 3, 2025
Rust Crate Spreads Malware To Web3 Devs

Npm Package Evades AI Security Tools

December 3, 2025
Rust Crate Spreads Malware To Web3 Devs

Rust Crate Spreads Malware To Web3 Devs

December 3, 2025
Glassworm Malware Strikes Again In VS Code

Shadypanda Extensions Hit Millions Users

December 2, 2025
Glassworm Malware Strikes Again In VS Code

Smarttube Breach Pushes Malicious Update

December 2, 2025

Latest Alerts

Lazarus APT Remote Worker Scheme Caught

Google Fixes 107 Android Flaws In Use

Npm Package Evades AI Security Tools

Rust Crate Spreads Malware To Web3 Devs

Shadypanda Extensions Hit Millions Users

Smarttube Breach Pushes Malicious Update

Subscribe to our newsletter

    Latest Incidents

    Indian Airports Hit By Cyber Attack

    ChatGPT Down Worldwide Users Affected

    Sorbonne Staff Data Found On Dark Web

    French Soccer Federation Suffers Cyberattack

    120,000 Cameras Hacked In South Korea

    Hackers Claim Mercedes Benz USA Breach

    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