HOWTO: Patch url_fopen Vulnerability

25 Sep 2006
Download Document Unknown File Type (0.81 KB) Send by Email
In versions of SyntaxCMS since 1.1.1, there is an exploitable vulnerability in the testing scripts for installations with PHP 4.3.0 and higher, register_globals on, and allow_furl_open set to true. There is an exploit in the wild, so update your systems immediately.

You can update to the latest CVS version or apply the patch files included here. To apply the patch files, download the attached file and run:

tar -xzvf 513_file_fopen_vuln_patch.tgz

cd fopen_vuln_patch

patch path_to_your_public_root/admin/testing/index.php index.php.patch

patch path_to_your_public_root/admin/testing/tests/0004_init_urls.php 0004_init_urls.php.patch

patch path_to_your_public_root/admin/testing/tests/0030_init_syntax.php 0030_init_syntax.php.patch

cp .htaccess path_to_your_public_root/admin/testing/tests/

...where path_to_your_public_root is the path to your Apache-readable directory where SyntaxCMS's public root is installed.