CVEvulnerability

CVE-2012-0831

6.8 MEDIUM Published 2012-02-10 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2012-02-10
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
Weaknesses
CWE-20

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.

Affected configurations

• php php (<= 5.3.10)

Related

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References