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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: only_cheng at foxmail dot com
New email:
PHP Version: OS:

 

 [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 05:01:30 2024 UTC