|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-03-02 06:54 UTC] stas@php.net
-Status: Open
+Status: Feedback
[2018-03-02 06:54 UTC] stas@php.net
[2018-03-02 07:22 UTC] zhihua dot yao at dbappsecurity dot com dot cn
-Status: Feedback
+Status: Open
[2018-03-02 07:22 UTC] zhihua dot yao at dbappsecurity dot com dot cn
[2018-03-02 08:17 UTC] stas@php.net
[2018-03-02 08:17 UTC] stas@php.net
-Status: Open
+Status: Not a bug
[2018-03-02 08:17 UTC] stas@php.net
[2018-03-02 08:26 UTC] zhihua dot yao at dbappsecurity dot com dot cn
[2018-03-02 22:00 UTC] stas@php.net
-Type: Security
+Type: Bug
[2018-03-02 22:00 UTC] stas@php.net
[2018-03-02 23:02 UTC] spam2 at rhsoft dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 19:00:02 2025 UTC |
Description: ------------ This function gives some warnings.But it shoudn't leak any information. Test script: --------------- <?php $xml = new XMLReader(); $xml->open("file:///etc/passwd"); $xml->read(); $xml->close(); Expected result: ---------------- Warning: XMLReader::read(): /etc/passwd:1: parser error : Document is empty in /home/hackyzh/Desktop/poc.php on line 5 Warning: XMLReader::read(): ^ in /home/hackyzh/Desktop/poc.php on line 5 Actual result: -------------- Warning: XMLReader::read(): /etc/passwd:1: parser error : Document is empty in /home/hackyzh/Desktop/poc.php on line 5 Warning: XMLReader::read(): root:x:0:0:root:/root:/bin/bash in /home/hackyzh/Desktop/poc.php on line 5 Warning: XMLReader::read(): ^ in /home/hackyzh/Desktop/poc.php on line 5