Internal GET SSRF via CSRF with Press This scan feature
The Press This scan endpoint in WordPress accepted a GET request without a CSRF token and did not block the address [redacted], so an attacker could make a logged-in victim's site send a scrape request to internal services. This allowed requests to private addresses such as localhost on arbitrary ports.
- Triaged in 7 days
- Fixed in 19 days
- Paid in 19 days
- Disclosed after 50 days
Description
The url http://xxx.xxx.xxx.xxx/wp-admin/press-this.php?u=URL_TO_SCRAPE&url-scan-submit=Scan does not validate that user intends to send a scrape request.
The filter does not validate for 0.0.0.0:PORT and allows the attacker to make the victim send GET request to servers priate127.0.0.1:PORT, localhost:PORT or anything which can be accessed via 0.0.0.0
So basicly a wordpress installations can send unwanted scrape/scan requests on behalf of their user invoked by the attacker. Including private connections via 0.0.0.0
Example
Victim is owner of myWordpress.com
- Victim is logged into Wordpress.
- Victim visits bad site with a content of`
- Victim sends a unwanted request to their server requesting a internal server address to be hit.
- Server sends get request to 0.0.0.0:8080
- Servers private 127.0.0.1 answers back.
This example is with a private address, but it could also be a public. address
Fix
The scan/scrape should be a POST request using a csrf token or etc. The address 0.0.0.0 should not be allowd for scanning/scraping.
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 scan action lacked CSRF protection and its address filter did not reject [redacted], which resolves to local interfaces.
Impact
An attacker could make a victim's WordPress site send requests to internal services on localhost or other private addresses, though the text does not show what data was returned.
What the attacker needed
Victim logged into WordPress; victim visits attacker page
The fix
The scan should require a POST request with a CSRF token, and [redacted] should be blocked from scanning.
How it was found
- Victim is logged into WordPress.
- Victim visits an attacker-controlled site.
- The site triggers a scan request to the Press This endpoint with an internal address.
- The server sends a GET request to [redacted] on the chosen port and the local service responds.
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.
A website can be tricked into fetching another address on the victim's behalf. Here the WordPress 'Press This' scan feature took a link from a GET request with no proof the user meant to do it, so a page the victim visited could trigger it. The scan also accepted [redacted], which on many systems reaches the machine itself, letting the attacker probe internal services.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.