Skip to content
Access control Disclosed report Beginner

[EE] change the author of post using the author_id

Users with permission to edit entries could manipulate the form or POST submission to set an invalid author as the author of that entry. This allowed them to change the author to someone not permitted, potentially misattributing content.

flex0geek Follow

Originally disclosed on HackerOne

  • Triaged in 39 hours
  • Fixed in 4 days
  • Disclosed after 5 days

Summary by the program

@flex0geek discovered that users with permission to edit entries in the control panel could manipulate the form or POST submission and set an invalid author as the author of that entry. @flex0geek gave a detailed report with step-by-step instructions for replicating and screen captures of a their results, enabling a speedy resolution to the issue, which was to add additional validation on submission so that the new author would only be accepted if that author is allowed to be an author of the entry.

The original report as published on HackerOne, by flex0geek. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

Root cause

Likely the application did not validate that the submitted author ID was allowed for the entry, relying only on the form's dropdown options.

Impact

An attacker with edit permissions could set an invalid author as the author of an entry.

What the attacker needed

Permission to edit entries

The fix

The issue was fixed by adding validation on submission so that the new author is only accepted if that author is allowed to be an author of the entry.

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.

When editing a post, the website lets you choose an author. The check for who can be an author was missing, so someone with edit rights could trick the system into assigning the post to any user, even if that user shouldn't be allowed. This is like a form where you can type any name instead of picking from a list.

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.

More by flex0geek

View all

5 more disclosed reports, best first.

More from ExpressionEngine

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.