Tag: printf

Format String Vulnerabilities, PHP, WEB

Prevent Format String Vulnerabilities in PHP

Format string exploits can be used to crash a program (DoS) or to execute harmful code. The use of unfiltered user input in functions such as printf() or sprintf() are the causes of this vulnerability. The attacker could use this kind of vulnerability to land Denial-of-service attacks, use the %x format specifier to print sections …