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

Ransomware Hits Ohio Union County

MacOS XCSSET Variant Hits Firefox

September 29, 2025
Ransomware Hits Ohio Union County

Akira Ransomware Beats SonicWall VPN MFA

September 29, 2025
Ransomware Hits Ohio Union County

UK NCSC Warns Of Cisco Firewall Exploits

September 29, 2025
Fake PyPI Login Site Steals Credentials

Fake PyPI Login Site Steals Credentials

September 26, 2025
Fake PyPI Login Site Steals Credentials

Google Warns of BRICKSTORM Malware

September 26, 2025
Fake PyPI Login Site Steals Credentials

Hidden WordPress Backdoors Create Admins

September 26, 2025

Latest Alerts

MacOS XCSSET Variant Hits Firefox

Akira Ransomware Beats SonicWall VPN MFA

UK NCSC Warns Of Cisco Firewall Exploits

Fake PyPI Login Site Steals Credentials

Google Warns of BRICKSTORM Malware

Hidden WordPress Backdoors Create Admins

Subscribe to our newsletter

    Latest Incidents

    Medusa Ransomware Hits Comcast Data

    Ransomware Hits Ohio Union County

    DataCenter Fire Shuts South Korea Sites

    Indian Bank Transfer Records Exposed

    Chinese Cyberspies Hit US Defense Firms

    Neon App Shuts Down After Data Leak

    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