Zend
200-530 · Question #202
Identify the security vulnerability in the following example: 1 <?php 2 mail('[email protected]', 3 'Feddback', 4 'Here is my feedback.', 5 "From: {$_COOKIE['email']}"); 6 ?>
The correct answer is C. Email Injection. See the full explanation below for the reasoning.
Question
Identify the security vulnerability in the following example: 1 <?php 2 mail('[email protected]', 3 'Feddback', 4 'Here is my feedback.', 5 "From: {$_COOKIE['email']}"); 6 ?>
Options
- ARemote Code Injection
- BCross-Site Request Forgeries
- CEmail Injection
- DNone of the above
How the community answered
(29 responses)- A3% (1)
- B7% (2)
- C79% (23)
- D10% (3)
Community Discussion
No community discussion yet for this question.