PT-2012-2893 · Php+3 · Php+3

Published

2012-02-10

·

Updated

2022-08-16

·

CVE-2012-0831

CVSS v2.0

6.8

Medium

VectorAV:N/AC:M/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions PHP versions prior to 5.3.10
Description The issue makes it easier for remote attackers to conduct SQL injection attacks via a crafted request. This is related to the improper handling of the magic quotes gpc directive during the importing of environment variables.
Recommendations For PHP versions prior to 5.3.10, update to version 5.3.10 or later to resolve the issue. As a temporary workaround, consider disabling the use of environment variables in scripts until a patch is available. Restrict access to sensitive database operations to minimize the risk of exploitation. Avoid using user-supplied input in SQL queries until the issue is resolved.

Exploit

Fix

RCE

Weakness Enumeration

Related Identifiers

CESA-2013_0514
CVE-2012-0831
DSA-2408-1
RHSA-2013:0514
RHSA-2013:1307
RHSA-2013_0514
RHSA-2013_1307

Affected Products

Centos
Php
Red Hat
Suse