|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2019-11-23 12:07 UTC] cmb@php.net
-Status: Open
+Status: Verified
-Package: *General Issues
+Package: Filesystem function related
-Assigned To:
+Assigned To: stas
[2019-11-23 12:07 UTC] cmb@php.net
[2019-11-30 22:01 UTC] stas@php.net
-CVE-ID:
+CVE-ID: 2019-11044
[2019-12-16 19:02 UTC] stas@php.net
[2019-12-16 19:02 UTC] stas@php.net
-Status: Verified
+Status: Closed
[2019-12-16 19:02 UTC] stas@php.net
[2019-12-17 12:14 UTC] remi@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 14:00:01 2025 UTC |
Description: ------------ ext/standard/link_win32.c: ``` PHP_FUNCTION(link) { ... if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &frompath, &frompath_len, &topath, &topath_len) == FAILURE) { return; } ``` PoC for Windows: ``` <?php link("ryat\x00php", "php\x00ryat"); ?> ``` Fix: ``` if (zend_parse_parameters(ZEND_NUM_ARGS(), "pp", &frompath, &frompath_len, &topath, &topath_len) == FAILURE) ```