CVE-2012-0831: Input Validation

Published Feb 10, 2012
·
Updated

PHP before 5.3.10 does not properly perform a temporary change to the magicquotesgpc 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/phpvariables.c, sapi/cgi/cgimain.c, and sapi/fpm/fpm/fpmmain.c.

Affected Software

1 affected component
PHP PHP<=5.3.10

Event History

Feb 10, 2012
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2012-0831?

CVE-2012-0831 is classified as a moderate severity vulnerability due to its potential for SQL injection attacks.

2

How do I fix CVE-2012-0831?

To mitigate CVE-2012-0831, upgrade your PHP version to 5.3.10 or later.

3

What types of attacks can occur due to CVE-2012-0831?

CVE-2012-0831 can facilitate remote attackers in conducting SQL injection attacks.

4

Which PHP versions are vulnerable to CVE-2012-0831?

Any PHP version prior to 5.3.10 is vulnerable to CVE-2012-0831.

5

What is the impact of CVE-2012-0831 on web applications?

The impact of CVE-2012-0831 on web applications includes potential unauthorized access to databases and manipulation of data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203