id: wordpress-xmlrpc-listmethods

info:
  name: Wordpress XML-RPC List System Methods
  author: 0ut0fb4nd
  severity: info
  metadata:
    max-request: 1
  tags: wordpress

http:
  - method: POST
    path:
      - "{{BaseURL}}/xmlrpc.php"

    body: "<?xml version=\"1.0\" encoding=\"utf-8\"?><methodCall><methodName>system.listMethods</methodName><params></params></methodCall>"

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: word
        words:
          - "system.multicall"
          - "system.listMethods"
          - "demo.sayHello"
        condition: and
        part: body

# digest: 4b0a00483046022100f89ca8d4ba199fec678d3455682799a0e86ecb2c3f23f3ead163caf8ad1e6244022100ca471fcbfe8bf77db5ceb8812854aecdb10cf21e1bbc3fab1b155dd6a99ca92d:922c64590222798bb761d5b6d8e72950
