Answer the question
In order to leave comments, you need to log in
PHP injections in the past?
Have they not met for a long time, or do they still exist?
Answer the question
In order to leave comments, you need to log in
In php 5.4, the hole that caused most injections was removed ( www.php.net/manual/en/security.globals.php). So there are gradually fewer of them (as php is updated around the world).
But since the developers did not write better, they will not disappear.
PHP injection becomes possible if input parameters are accepted and used without validation.Source That is, they are, were and will be until there are those who do not protect the input parameters/data/etc.
Yes, they do exist. Of course, the developers were sent to pay more attention to data validation, but not all. In addition, PHP injections through file uploads are still popular.
This does not depend on PHP, because PHP does not filter output by default and PDO has a way to write insecurely. Frameworks solve the problem with SQL injection a little, and in order to avoid XSS, you need to filter the output of data from the database and user data.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question