CVE-2012-1823(apple / application_stack)

LOWCVSS 9.8 · CRITICALCISA KEV

Immediate actions

  • Track advisory updates for patch or workaround availability

Recommended action window: Monitor and triage in normal cycle

NVD description

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle query strings that lack an = (equals sign) character, which allows remote attackers to execute arbitrary code by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'd' case.

1.0/ 10 priority

Sources & remediation

Listed in the CISA Known Exploited Vulnerabilities catalog. Federal remediation due date: 2022-04-15. Apply updates per vendor instructions.

Weakness type (CWE)
CWE-77

Priority

LOW

Exploitation

ACTIVE

PoC

YES

Patch

AVAILABLE

Momentum

NONE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • application_stack
  • debian_linux
  • enterprise_linux_desktop
  • enterprise_linux_eus

Affected systems

Products
application_stackdebian_linuxenterprise_linux_desktopenterprise_linux_eusenterprise_linux_serverenterprise_linux_server_ausenterprise_linux_workstationfedoragluster_storage_server_for_on-premisehp-ux

15 versions affected across 17 products

Deep dive

Full discourse1 post
  • Ezra Black@Ezra_Black_

    i got fired from the php team in 2012 for touching sapi/cgi/cgi_main.c 12 years later, CVE-2012-1823 anyway, does anyone know if wordpress is hiring?

    00010239
    2.3K followersView on X
CPE platform detail28 entries

28 of 28 entries

PartVendorProductVersionTarget SWTarget HW
OSapplemac_os_x---
OSdebiandebian_linux6.0--
OSfedoraprojectfedora39--
OSfedoraprojectfedora40--
OShphp-uxb.11.23--
OShphp-uxb.11.31--
OSopensuseopensuse11.4--
OSopensuseopensuse12.1--
Appphpphp---
Appredhatapplication_stack2.0--
OSredhatenterprise_linux_desktop6.0--
OSredhatenterprise_linux_eus5.6--
OSredhatenterprise_linux_eus6.1--
OSredhatenterprise_linux_eus6.2--
OSredhatenterprise_linux_server5.0--
OSredhatenterprise_linux_server6.0--
OSredhatenterprise_linux_server_aus5.3--
OSredhatenterprise_linux_server_aus5.6--
OSredhatenterprise_linux_workstation5.0--
OSredhatenterprise_linux_workstation6.0--
Appredhatgluster_storage_server_for_on-premise2.0--
Appredhatstorage2.0--
Appredhatstorage_for_public_cloud2.0--
OSsuselinux_enterprise_server10--
OSsuselinux_enterprise_server11--
OSsuselinux_enterprise_server11vmware-
OSsuselinux_enterprise_software_development_kit10--
OSsuselinux_enterprise_software_development_kit11--

Explore more