|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-12-23 19:04 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 14:00:01 2025 UTC |
Description: ------------ The swf_openfile function can be used to create files outside of open_basedir when safe mode is enabled. Reproduce code: --------------- <?php swf_openfile("/../../../../../../../../../../../../../../tmp/testswf.txt", 256, 256, 30, 1, 1, 1); swf_closefile(); ?> Expected result: ---------------- a file called testswf.txt will be created in /tmp Actual result: -------------- a file called testswf.txt will be created in /tmp