WordPress 3.7.1 & 3.8.1 Privilege escalation: contributors publishing posts

Sign up to our free email alerts service for instant vulnerability notifications!

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 461
Verified No
WPVDB ID 5965

Timeline

Added 2014-08-01 (over 2 years ago)
Last Updated 2015-05-15 (over 1 year ago)

Copyright & License

Copyright All data and resources contained within this page and this web site is Copyright © The WPScan Team.
License Some of this data may be used for non-commercial purposes, however, any potential commercial usage of this data will require a license. If you would like to inquire about a commercial license please contact us.