Skip to main content

Improper Neutralization of Special Elements used in a Command ('Command Injection')

CVE-2024-51736

Severity High
Score 8.6/10

Summary

Symphony Process is a module for the Symphony PHP framework that executes commands in sub-processes. On Windows, when an executable file named "cmd.exe" is located in the current working sub-processes, it will be called by the "Process" class when preparing command arguments, leading to possible hijacking. This issue affects Symfony versions through 5.4.45, 6.0.0-BETA1 through 6.4.13, 7.0.0-BETA1 through 7.1.6, and v7.2.0-BETA1. Users are advised to upgrade. There are no known workarounds for this vulnerability.

  • LOW
  • LOCAL
  • HIGH
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • HIGH

CWE-77 - Command Injection

A command injection attack involves injecting an operating system command through the data input, which gets executed on the host operating system with the privileges of the victimized application. The impact of a command injection attack may range from loss of data confidentiality and integrity to unauthorized remote access to the hosting system. The attack may cause serious data breaches and system takeover.

Advisory Timeline

  • Published