WordPress 3.7.1 & 3.8.1 Privilege escalation: contributors publishing posts



Description
From the researcher (edik) who discovered the vulnerability:

Using the bulk edit feature you can publish posts and pages PUBLICLY without the publishing-cap. The problem is that there are no checks for publishing-cap's on serverside. It's only protected in UI.

How to reproduce:

1. Login as contributor
2. Create a draft post
3. Mark the draft in post list and open the bulk edit form
4. Make use of tools like Firebug to change a value in the status dropdown. You have to set the value of an entry to 'publish'
5. Select the changed status entry
6. Push the button and welcome to the next level

Affects WordPresses

fixed in version 3.8.2
fixed in version 3.7.2

References

CVE 2014-0165
URL https://github.com/wpscanteam/wpscan/wiki/CVE-2014-0165

Classification

Type BYPASS

Miscellaneous

Views 4577
Verified No
WPVDB ID 5965

Timeline

Publicly Published 2014-08-01 (almost 5 years ago)
Added 2014-08-01 (almost 5 years ago)
Last Updated 2018-08-29 (11 months ago)