Logic flaw in the Post creation process allows creating posts with arbitrary types without needing the corresponding nonce
A logic flaw in the WordPress post creation process allowed an author to create posts of arbitrary types without the required nonce. An attacker could use this to create posts of types they were not authorised to use.
Originally disclosed on HackerOne
- Triaged in 25 days
- Fixed in 3 months
- Paid in 4 months
- Disclosed after 5 months
Summary by the program
Simon discovered that authors could create posts of unauthorized post types with specially crafted input fixed.
This was fixed in the 5.0.1 release, and Simon has published more details on his blog.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
An author could create posts of types they were not authorised to use.
What the attacker needed
An author-level account
The fix
It was fixed in the 5.0.1 release.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
WordPress lets users create different kinds of posts, and some kinds are meant to be restricted. A security check (a nonce) was supposed to stop people from creating restricted kinds, but a logic mistake let them bypass it. This meant an author could create posts of a type they should not have been able to.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.