PHP

PHP : Register globals

Overview

Registration of all environment variables, GET and POST requests and the server leads to unpredictable behavior and endangers the application.

The value of register_globals=on means that the application registers globally all variables (environment, GET, POST, cookies, server). In this case, these variables are available in any scope of any PHP program. This encourages programmers to write applications that use the values of the parameters of unknown origin. This leads to unpredictable behavior and endangers the application.

Due to security risks, the function register_globals was removed in PHP 5.4.

CRITICAL

DerScanner Severity Score

Check your PHP code for this vulnerability, free

Request a free pilot of DerScanner. We give you access and help with the first scan. It works in the cloud and on-premise.

Try it on your code, free

By submitting this form, I acknowledge that DerScanner may process my personal data I provided above for purposes explained above. More details about the processing.