Exploit database

Vulnerability

CVE-2014-4725

Vulnerability details

Score
Not available
Severity
Not available

Vector string

Not available

Description

The MailPoet Newsletters (wysija-newsletters) plugin before 2.6.7 for WordPress allows remote attackers to bypass authentication and execute arbitrary PHP code by uploading a crafted theme using wp-admin/admin-post.php and accessing the theme in wp-content/uploads/wysija/themes/mailp/.

CVE Program

Some CVE details could not be loaded. They will be retried.

Exploit source choices

2 sources
Wordpress MailPoet Newsletters (wysija-newsletters) Unauthenticated File Upload
MSF-unix--webapp--wp_wysija_newsletters_uploadMetasploitPHP / remote

The Wordpress plugin "MailPoet Newsletters" (wysija-newsletters) before 2.6.8 is vulnerable to an unauthenticated file upload. The exploit uses the Upload Theme functionality to upload a zip file containing the payload. The plugin uses the admin_init hook, which is also executed for unauthenticated users when accessing a specific URL. The first fix for this vulnerability appeared in version 2.6.7, but the fix can be bypassed. In PHP's default configuration, a POST variable overwrites a GET variable in the $_REQUEST array. The plugin uses $_REQUEST to check for access rights. By setting the POST parameter to something not beginning with 'wysija_', the check is bypassed. Wordpress uses the $_GET array to determine the page, so it is not affected by this. The developers applied the fixes to all previous versions too.

2014-07-01wp_wysija_newsletters_upload.rb