Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-33922B84-5F09-11EE-B63D-0897988A1C07 (CVE-2023-43655): Remote Code Execution via web-accessible composer

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

FreeBSD: VID-33922B84-5F09-11EE-B63D-0897988A1C07 (CVE-2023-43655): Remote Code Execution via web-accessible composer

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
09/29/2023
Created
10/03/2023
Added
09/30/2023
Modified
10/06/2023

Description

Composer is a dependency manager for PHP. Users publishing a composer.phar to a public web-accessible server where the composer.phar can be executed as a php file may be subject to a remote code execution vulnerability if PHP also has `register_argc_argv` enabled in php.ini. Versions 2.6.4, 2.2.22 and 1.10.27 patch this vulnerability. Users are advised to upgrade. Users unable to upgrade should make sure `register_argc_argv` is disabled in php.ini, and avoid publishing composer.phar to the web as this is not best practice.

Solution(s)

  • freebsd-upgrade-package-php80-composer
  • freebsd-upgrade-package-php80-composer2
  • freebsd-upgrade-package-php81-composer
  • freebsd-upgrade-package-php81-composer2
  • freebsd-upgrade-package-php82-composer
  • freebsd-upgrade-package-php82-composer2
  • freebsd-upgrade-package-php83-composer
  • freebsd-upgrade-package-php83-composer2

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;