1. CVE archive
  2. Vulnerability types
  3. CWE-473
CWE-473 · #591 most frequent type in the archive

PHP External Variable Modification

A PHP application does not properly protect against the modification of variables from external sources, such as query parameters or cookies. This can expose the application to numerous weaknesses that would not exist otherwise.

Part of: CWE-471 · Modification of Assumed-Immutable Data (MAID)

3CVEs of this type in the archive
1critical (CVSS ≥ 9)
1high severity (7–8.9)
Jul 19, 2024latest published

What it is

A PHP application does not properly protect against the modification of variables from external sources, such as query parameters or cookies. This can expose the application to numerous weaknesses that would not exist otherwise.

Impact on systems

ScopeImpact
Integrity Modify Application Data

How to prevent it

Requirements · Implementation Carefully identify which variables can be controlled or influenced by an external user, and consider adopting a naming convention to emphasize when externally modifiable variables are being used. An application should be reluctant to trust variables that have been initialized outside of its trust boundary. Ensure adequate checking is performed when relying on input from outside a trust boundary. Do not allow your application to run with register_globals enabled. If you implement a register_globals emulator, be extremely careful of variable extraction, dynamic evaluation, and similar issues, since weaknesses in your emulation could allow external variable modification to take place even without register_globals.

Source: MITRE CWE catalog · Official entry on the MITRE website

CWE-473 CVEs published per year
Show the data as a table
YearCVE
20232
20241

All CWE-473 CVEs

3 results

Dottor Marc

Is this type of vulnerability in your systems?

An archive tells you what exists; a Vulnerability Assessment tells you what is exposed on your side. Dottor Marc tests your web applications and network with automated and manual checks.