National Vulnerability Database

National Vulnerability Database

National Vulnerability

CVE-2007-3205 Detail


The parse_str function in (1) PHP, (2) Hardened-PHP, and (3) Suhosin, when called without a second parameter, might allow remote attackers to overwrite arbitrary variables by specifying variable names and values in the string to be parsed. NOTE: it is not clear whether this is a design limitation of the function or a bug in PHP, although it is likely to be regarded as a bug in Hardened-PHP and Suhosin.

Source:  MITRE      Last Modified:  08/16/2017

Quick Info

CVE Dictionary Entry:
Original release date:
Last revised:


CVSS Severity (version 2.0):
CVSS v2 Base Score:
(AV:N/AC:L/Au:N/C:N/I:P/A:N) (legend)
Impact Subscore:
Exploitability Subscore:
CVSS Version 2 Metrics:
Access Vector:
Network exploitable
Access Complexity:
Not required to exploit
Impact Type:
Allows unauthorized modification

Vendor Statements (disclaimer)

Official Statement from Red Hat (06/26/2007)

This is not a security vulnerability: it is the expected behaviour of parse_str when used without a second parameter.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to

Hyperlink Resource Type Source Name External Source SREASON 2800 External Source MISC External Source BUGTRAQ 20070612 PHP parse_str() arbitrary variable overwrite External Source BUGTRAQ 20070612 Re: PHP parse_str() arbitrary variable overwrite External Source BUGTRAQ 20070613 Re: PHP parse_str() arbitrary variable overwrite External Source XF php-parsestr-code-execution(34836)

Technical Details

Vulnerability Type (View All)

Change History 3 change records found - show changes