[BuddyPress 2.9.1] Open Redirect via "wp_http_referer" parameter on "bp-profile-edit" endpoint
- Triaged in 12 days
- Fixed in 18 days
- Paid in 24 days
- Disclosed after 18 days
Summary by the researcher
An injection in the wp_http_referer parameter used on the BuddyPress Extended Profile edit screen could be leveraged to conduct authenticated open redirections. Thanks again to @boonebgorges, @iandunn, and the BuddyPress team for the swift communication and fix.
The report
Hi,
In a similar manner to #228569, it is currently possible to execute authenticated open redirections via the wp_http_referer parameter used in the BuddyPress extended user edit screen.
Proof of concept
Upon accessing the below URL, please select the "Update Profile" button, then select the "←Back to Users" link. This will redirect a target to the attacker-specified address (in this case, "google.com").
http://instance/wp-admin/users.php?page=bp-profile-edit&wp_http_referer=https://google.com
Supporting evidence

Thanks,
Yasin
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A low-severity open redirect bug in WordPress. HackerOne made it public on 2 November 2017.
About Open redirect
A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is Open redirect?
A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.