VULNERABILITY INTELLIGENCE

CVE-2012-0831

CVSS score6.8 MEDIUM
EPSS probability6.47%
CISA KEVNot currently listed
Published2012-02-10
Last modified2026-06-16
CVSS vectorAV:N/AC:M/Au:N/C:P/I:P/A:P

Description

PHP before 5.3.10 does not properly perform a temporary change to the magic_quotes_gpc directive during the importing of environment variables, which makes it easier for remote attackers to conduct SQL injection attacks via a crafted request, related to main/php_variables.c, sapi/cgi/cgi_main.c, and sapi/fpm/fpm/fpm_main.c.

Weakness classification

  • CWE-20: Improper Input Validation

Primary references