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

Fake OAuth Apps Breach Microsoft 365

Fake OAuth Apps Breach Microsoft 365

August 4, 2025
Fake OAuth Apps Breach Microsoft 365

Akira Hits SonicWall VPNs in Zero‑Day

August 4, 2025
Fake OAuth Apps Breach Microsoft 365

PlayPraetor Trojan Android Devices

August 4, 2025
PyPI Warns of Email Phishing Attack

NOVABLIGHT Steals Logins and Crypto

August 1, 2025
PyPI Warns of Email Phishing Attack

PyPI Warns of Email Phishing Attack

August 1, 2025
PyPI Warns of Email Phishing Attack

Dahua Camera Flaws Enable Remote Hacking

August 1, 2025

Latest Alerts

Fake OAuth Apps Breach Microsoft 365

Akira Hits SonicWall VPNs in Zero‑Day

PlayPraetor Trojan Android Devices

Dahua Camera Flaws Enable Remote Hacking

NOVABLIGHT Steals Logins and Crypto

PyPI Warns of Email Phishing Attack

Subscribe to our newsletter

    Latest Incidents

    Hackers Leak Alleged Aeroflot Data

    Luxembourg Probes Huawei Tech Outage

    Dermatology Clinics Hit by Data Breach

    Everest Ransomware Hits Mailchimp

    Cyberattack Hits French Natural History Museum

    Russia Faces Second Major 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