S4E just found a high-severity finding from top 10 tcp port service scan
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
high·Product Based Web Vulnerabilities·Updated Nov 26, 2024

CVE-2024-50340 Scanner

CVE-2024-50340 Scanner - Remote Code Execution (RCE) vulnerability in Symfony

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsurl
CostFree
3.2k
Times Used
continuous scan runs
5.1k
Continuously Checked
assets under CS
1
Vulnerabilities Found
confirmed findings
References
CVECVE-2024-50340
7.3
CVSShigh
Exploitable remotely over the internet · no authentication required.

symfony/runtime is a module for the Symphony PHP framework which enables decoupling PHP applications from global state. When the `register_argv_argc` php directive is set to `on` , and users call any URL with a special crafted query string, they are able to change the environment or debug mode used by the kernel when handling the request. As of versions 5.4.46, 6.4.14, and 7.1.7 the `SymfonyRuntime` now ignores the `argv` values for non-SAPI PHP runtimes. All users are advised to upgrade. There are no known workarounds for this vulnerability.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
symfonyby symfony
< 5.4.46
symfonyby sensiolabs
AFFECTED< 5.4.46SAFE ✓≥ 5.4.46
Updated Aug 22, 2026View on NVD →
Detail

The Symfony Profiler is a powerful tool for developers who work with the Symfony PHP framework. It is designed to provide insights into the internal workings of Symfony applications to enhance the performance and debugging process. Due to its diagnostic capabilities, the profiler can be accessed in development and testing environments. It is primarily used by backend developers to understand application behavior and troubleshoot issues effectively. The tool is a key component in optimizing and securing web applications developed using the Symfony framework.

A Remote Code Execution (RCE) vulnerability allows an attacker to execute arbitrary code on a server. This type of vulnerability exploits the server's inability to properly sanitize inputs, which can lead to unauthorized access and execution of malicious code. The CVE-2024-50340 vulnerability in Symfony allows for potential manipulation of the application's environment settings, thus facilitating an unauthorized code execution scenario. This can have far-reaching consequences for the security and integrity of applications relying on Symfony.

The vulnerability affects endpoints that improperly handle arguments from the URL query string. Especially, configurations with the `register_argv_argc` directive set to `on` are vulnerable, as attackers can manipulate kernel execution settings through crafted requests. This vulnerability demonstrates how seemingly benign configurations can be exploited to gain unauthorized control over application behavior. The technical nuances of this vulnerability require a deep understanding of the PHP runtime environment and Symfony's handling of HTTP requests.

When exploited, this vulnerability could allow attackers to execute arbitrary code on the server, potentially leading to full compromise of the system. It enables unauthorized access to sensitive information, alteration of application behavior, and execution of malicious code. Organizations using affected versions of Symfony could face data breaches, loss of service integrity, and other severe security incidents if this vulnerability is not addressed promptly.

REFERENCES

Solution Advice
  • Upgrade Symfony to the latest versions to ensure protection against known vulnerabilities.
  • Review configuration files and disable the `register_argv_argc` directive if possible.
  • Implement web application firewalls to filter and monitor incoming HTTP requests.
  • Conduct regular security audits and penetration testing to detect potential vulnerabilities.
  • Review and restrict access permissions for sensitive components within your application.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.