

Businesses and Governments at Risk of Cyber Attacks During Hajj Season
June 10, 2024
An Emerging Ducktail Infostealer – Active IOCs
June 11, 2024
Businesses and Governments at Risk of Cyber Attacks During Hajj Season
June 10, 2024
An Emerging Ducktail Infostealer – Active IOCs
June 11, 2024Severity
High
Analysis Summary
A new critical security flaw in PHP identified as CVE-2024-4577 has been discovered, posing a significant risk of remote code execution on PHP installations running on the Windows operating system. This vulnerability, described as a CGI argument injection flaw, affects all PHP versions on Windows and allows attackers to bypass protections established for an earlier flaw, CVE-2012-1823.
According to the researchers, the oversight in handling the Best-Fit feature of encoding conversion in Windows enables unauthenticated attackers to exploit this flaw using specific character sequences leading to the execution of arbitrary code on remote PHP servers through argument injection attacks. Following responsible disclosure on May 7, 2024, fixes for this vulnerability have been released in PHP versions 8.3.8, 8.2.20, and 8.1.29.
Security researchers have emphasized that all XAMPP installations on Windows are particularly vulnerable when configured with locales for Traditional Chinese, Simplified Chinese, or Japanese. As a precaution, it is recommended that administrators transition from the outdated PHP CGI to more secure alternatives such as Mod-PHP, FastCGI, or PHP-FPM to mitigate this risk.
This issue underscores the potential for longstanding patches to be circumvented by minor overlooked features. The researchers reported detecting exploitation attempts against its honeypot servers within 24 hours of the flaw’s public disclosure indicating the urgency of the threat. Additionally, some experts have successfully developed an exploit for CVE-2024-4577, achieving remote code execution.
Security researchers stressed the critical need for users running affected configurations and locales to promptly apply the latest patches given the high likelihood of widespread exploitation due to the vulnerability’s low complexity. The swift action is essential to prevent potential mass exploitation of this flaw.
Impact
- Remote Code Execution
- Unauthorized Access
Indicators of Compromise
CVE
- CVE-2024-4577
Affected Vendors
Affected Products
- PHP 8.3.0
- PHP 8.2.0
- PHP 8.1.0
Remediation
- Upgrade to the latest version of PHP, available from the PHP Website.
- Organizations must test their assets for the vulnerability mentioned above and apply the available security patch or mitigation steps as soon as possible.
- Implement multi-factor authentication to add an extra layer of security to login processes.
- Regularly monitor network activity for any unusual behavior, as this may indicate that a cyberattack is underway.
- Organizations must stay vigilant and follow best practices for cybersecurity to protect their systems and data from potential threats. This includes regularly updating software and implementing strong access controls and monitoring tools.
- Develop a comprehensive incident response plan to respond effectively in case of a security breach or data leakage.
- Maintain regular backups of critical data and systems to ensure data recovery in case of a security incident.
- Adhere to security best practices, including the principle of least privilege, and ensure that users and applications have only the necessary permissions.
- Establish a robust patch management process to ensure that security patches are evaluated, tested, and applied promptly.
- Conduct security audits and assessments to evaluate the overall security posture of your systems and networks.
- Implement network segmentation to contain and isolate potential threats to limit their impact on critical systems.