CVE-2020-13700: Airesvsg/acf to rest api Acf-to-rest-api Plugin Insecure Direct Object Vulnerability
HIGHCVE-2020-13700 is a HIGH (CVSS 7.5) acf-to-rest-api plugin insecure direct object vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting Airesvsg/acf to rest api libraries in the Packagist ecosystem. The issue involves acf-to-rest-api plugin insecure direct object reference (idor) via permalink manipulation. Remediation is available in the latest vendor maintenance releases.
CVE-2020-13700 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2020-13700
To remediate this vulnerability, upgrade all affected Airesvsg/acf to rest api dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade airesvsg/acf-to-rest-api to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for airesvsg/acf-to-rest-api
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-13700, inspect your project dependencies for Airesvsg/acf to rest api:
inspect dependencies for airesvsg/acf-to-rest-api
Analyze the terminal output to locate any version of Airesvsg/acf to rest api in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. In Airesvsg/acf to rest api, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2020-13700 Affected Airesvsg/acf to rest api Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
airesvsg/acf-to-rest-api
|
Packagist |
≤ 3.1.0
|
|
References
Frequently Asked Questions
What is CVE-2020-13700?
Which Airesvsg/acf to rest api versions are affected?
What version fixes CVE-2020-13700?
Is airesvsg/acf-to-rest-api affected?
What is the CVSS score of CVE-2020-13700?
What CWE is associated with CVE-2020-13700?
How can I check Packagist dependencies for CVE-2020-13700?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-r345-x8hr-2r9p",
"modified" : "2023-11-15T20:26:56Z",
"published" : "2022-05-24T17:21:35Z",
"aliases" : [ "CVE-2020-13700" ],
"summary" : "acf-to-rest-api plugin insecure direct object reference (IDOR) via permalink manipulation",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "airesvsg/acf-to-rest-api"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "3.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-13700"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/mariuszpoplwski/4fbaab7f271bea99c733e3f2a4bafbb5"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/airesvsg/acf-to-rest-api"
}, {
"type" : "WEB",
"url" : "https://wordpress.org/plugins/acf-to-rest-api/#developers"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200", "CWE-639" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-11-15T20:26:56Z",
"nvd_published_at" : "2020-06-24T15:15:00Z"
}
}