php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78284 The CLI mode causes the CPU 100% to be stuck in the entire computer.
Submitted: 2019-07-13 03:19 UTC Modified: 2019-07-13 03:21 UTC
From: only_cheng at foxmail dot com Assigned:
Status: Not a bug Package: CGI/CLI related
PHP Version: 7.2.20 OS: Windows10 1903
Private report: No CVE-ID: None
 [2019-07-13 03:19 UTC] only_cheng at foxmail dot com
Description:
------------
test.php:

<?php
echo `php test.php`;
?>

//or below
<?php
echo `php test1.php`;
?>

test1.php:
<?php
echo 'test1';
?>

Expected result:
----------------
should output none or 'test1'

Actual result:
--------------
Enter the following address in the browser address bar:
'127.0.0.1/test.php',
then the entire computer CPU 100% caused the computer to die, I had to force the computer to restart.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-07-13 03:21 UTC] requinix@php.net
-Status: Open +Status: Not a bug
 [2019-07-13 03:21 UTC] requinix@php.net
Don't DoS yourself.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 16:01:31 2024 UTC