|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-07-26 06:43 UTC] requinix@php.net
-Status: Open
+Status: Not a bug
[2018-07-26 06:43 UTC] requinix@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 20 09:00:01 2025 UTC |
Description: ------------ create_function can execute PHP code directly, which may cause some security problems. Test script: --------------- <?php echo "result: "; $payload1 = <<<EOF echo 'normal'; EOF; create_function('', $payload1); $payload2 = <<<EOF } echo '[VULN]';// EOF; create_function('', $payload2); Expected result: ---------------- result: Actual result: -------------- result: [VULN]