CVE Professor
/
All CVEs
CVE-2026-133940

CVE-2026-133940 — CWE-538 · CWE-552

HIGH CVSS 8.2 ⚡ EPSS 43.0% EUVD

The access rules of JTL-Shop (export/.htaccess and export/backup/.htaccess) release files with the extensions gz and zip for the export directory without withdrawing this release in the subdirectory export/backup, in which the shop stores database dumps and file backups. As a result, backup files in this directory can be downloaded without authentication by anyone who knows or guesses the file name. Up to version 5.5.5 the names of database backups consist only of a timestamp; from version 5.6.0 they contain a random component, which does not replace access control. The backups contain the complete shop database (customer data, orders, password hashes) and, for file backups, files of the shop. The access rules are only evaluated by Apache. On installations where another web server, for example nginx, delivers static files such as gz and zip directly (including nginx in front of Apache), the files remain accessible even with the corrected rules, unless the directory is blocked at server level.

The access rules of JTL-Shop (export/.htaccess and export/backup/.htaccess) release files with the extensions gz and zip for the export directory without withdrawing this release in the subdirectory export/backup, in which the shop stores database dumps and file backups. As a result, backup files in this directory can be downloaded without authentication by anyone who knows or guesses the file name. Up to version 5.5.5 the names of database backups consist only of a timestamp; from version 5.6.0 they contain a random component, which does not replace access control. The backups contain the complete shop database (customer data, orders, password hashes) and, for file backups, files of the shop. The access rules are only evaluated by Apache. On installations where another web server, for example nginx, delivers static files such as gz and zip directly (including nginx in front of Apache), the files remain accessible even with the corrected rules, unless the directory is blocked at server level.

CVSS v4.0 Vector Metrics
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. Present AT:P
Privileges Req. None PR:N
User Interaction None UI:N
Vuln. Conf. High VC:H
Vuln. Integrity None VI:N
Vuln. Avail. None VA:N
Subseq. Conf. None SC:N
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
EPSS — Exploit Prediction Scoring System
43.0%
30-day probability
In the 29. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

Root cause
JTL‑Shop’s export directory (/export/) is protected by an .htaccess file that allows authenticated users to download export files (.gz, .zip).
The sub‑directory /export/backup/ – where the shop stores full database dumps and file backups – is intentionally left unprotected in the same .htaccess file. The rule that blocks access to .gz and .zip in /export/ is not applied to /export/backup/.

Result
Anyone who can guess or discover a backup file name can download it without authentication. The backups contain the entire shop database (customers, orders, password hashes) and, in the case of file backups, the shop’s file system.

CWE mapping

  • CWE‑538 – Information Exposure Through Log Files (the backup files are effectively “logs” that leak sensitive data).

  • CWE‑552 – File and Directory Permissions (the directory is accessible to all).
  • CVSS‑4.0

  • AV:N – Network reachable.

  • AC:L – Low attack complexity.

  • AT:P – Requires prior knowledge of a file name (guessing or enumeration).

  • PR:N – No privileges required.

  • UI:N – No user interaction.

  • VC:H – High confidentiality impact (full database + file backup).

  • VI:N, VA:N, SC:N, SI:N, SA:N – No integrity, availability, or scope impact.

  • ⚡ Attack Chain

    Below is a realistic, step‑by‑step chain that an attacker could follow.
    All commands are syntactically valid; the exact URI or file name is illustrative because the CVE description does not specify them.

    1. Discovery & Reconnaissance

    StepTechniqueWhat the attacker learns
    1.1HTTP header & directory listingDetects that the target is running JTL‑Shop (e.g., Server: Apache/2.4.46 (Unix), X-Powered-By: JTL-Shop 5.5.5).
    1.2Brute‑force /export/backup/Uses a wordlist of common backup names (2026-11-27-12-34-56.sql.gz, shop_backup_2026-11-27.sql.gz, etc.) to find a valid file.
    1.3Check .htaccessConfirms that /export/backup/ is not protected (<FilesMatch "\.(gzzip)$"> Require all granted </FilesMatch>).
    Illustrative request
    > curl -I https://shop.example.com/export/backup/2026-11-27-12-34-56.sql.gz
    >

    If the response is 200 OK, the file exists and is publicly downloadable.

    2. Exploitation

    StepActionPayload / Command
    2.1Download the backup``bash curl -o shop_backup.sql.gz https://shop.example.com/export/backup/2026-11-27-12-34-56.sql.gz `
    2.2Decompress`bash gunzip shop_backup.sql.gz `
    2.3Inspect`bash less shop_backup.sql ` – reveals tables such as customers, orders, users`, and password hashes.
    Note – If the shop uses an Nginx front‑proxy, the same request will still succeed because Nginx serves static files directly and does not evaluate Apache’s .htaccess. The attacker must therefore also check for Nginx configuration that allows /export/backup/ to be served.

    3. Post‑Exploitation

    StepGoalHow it’s achieved
    3.1Data exfiltrationUpload the dump to a cloud bucket or use scp to a staging server.
    3.2Credential harvestingOffline cracking of password hashes (e.g., john --format=sha256crypt shop_backup.sql).
    3.3PersistenceUse the backup to create a new shop instance on a compromised server, or inject malicious code into the file backup (if the shop allows file uploads).
    3.4ReconnaissanceAnalyze the database to find other sensitive data (e.g., API keys, payment gateway credentials).

    Because the vulnerability does not provide remote code execution, the attacker’s impact is limited to data theft and potential downstream attacks (credential stuffing, phishing, etc.).


    🌍 Real World Impact

    ImpactExplanation
    ConfidentialityFull database dump + file backup → customer PII, order history, hashed passwords, configuration files.
    IntegrityNone – the attacker does not modify the shop.
    AvailabilityNone – the shop remains operational.
    ScopeNone – the vulnerability does not affect other systems or users.

    Practical consequences

  • Loss of customer trust and potential regulatory fines (GDPR, PCI‑DSS).

  • Ability to perform credential stuffing attacks on the shop’s login page.

  • Exposure of payment gateway keys could allow fraudulent transactions.

  • If the attacker obtains the file backup, they can reconstruct the entire shop environment and host a malicious clone.

  • 🛡️ Remediation & Mitigation

    1. Patch / Upgrade

    AffectedRecommendation
    JTL‑Shop ≤ 5.5.5Upgrade to the latest release that removes the Allow directive for *.gz/*.zip in /export/backup/.
    JTL‑Shop ≥ 5.6.0The random component in backup names does not mitigate the issue. Upgrade to the vendor‑patched version (any release that explicitly blocks /export/backup/ or removes the Allow rule).
    Vendor note – The official JTL‑Shop changelog lists a security fix that removes the Allow directive for backup files. Verify the release notes for the exact version.

    2. Workarounds (if upgrade is not immediately possible)

    Apache‑only deployments

    # In the main Apache config or a dedicated <Directory> block
    <Directory "/var/www/html/export/backup">
        Require all denied
    </Directory>
    
    # Or block only the vulnerable file types
    <FilesMatch "\.(gz|zip)$">
        Require all denied
    </FilesMatch>

    Nginx front‑proxy

    location /export/backup/ {
        deny all;
        return 403;
    }

    ModSecurity rule (Apache)

    SecRule REQUEST_URI "@rx /export/backup/.*\.(gz|zip)$" \
        "phase:1,deny,status:403,log,msg:'Disallowed backup file access'"

    3. Detection

    Log patternWhat to look for
    GET /export/backup/*.gz or *.zip with status 200Unauthorized download
    GET /export/backup/*.sql.gzLikely database dump
    GET /export/backup/ with 403 after applying mitigationSuccessful block

    Sample Apache log entry

    192.0.2.123 - - [27/Nov/2026:12:34:56 +0000] "GET /export/backup/2026-11-27-12-34-56.sql.gz HTTP/1.1" 200 123456 "-" "Mozilla/5.0"

    Sample Nginx log entry

    192.0.2.123 - - [27/Nov/2026:12:34:56 +0000] "GET /export/backup/2026-11-27-12-34-56.sql.gz HTTP/1.1" 403 612 "-" "curl/7.68.0"

    4. Monitoring

  • Alert on any 200 responses for /export/backup/ paths.
  • Correlate with known backup naming patterns (timestamps, random strings).
  • Flag repeated failed attempts to guess file names (possible brute‑force).

⚠️ Urgency

FactorAssessment
CVSS score8.2 (High)
No authentication requiredYes
Low attack complexityYes
No user interactionYes
CISA KEVNo (but still high risk)
Potential for data breachYes

Priority – Immediate.
Given the high confidentiality impact, the lack of authentication, and the ease of exploitation, all affected installations should be patched or mitigated without delay. Even if the shop is not publicly exposed, the presence of a front‑proxy (e.g., Nginx) can still expose the backups, so the mitigation must be applied at the web‑server level regardless of the application version.


Bottom line: The flaw is a purely configuration‑based information‑exposure vulnerability. It does not require code execution or privileged access; it simply allows anyone who can guess a backup file name to download the entire shop database and file system. The fix is straightforward: block the /export/backup/ directory (or the .gz/.zip files) at the web‑server level and upgrade to a patched JTL‑Shop release. Failure to do so exposes customer data, payment credentials, and the entire shop architecture to any attacker.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="nginx"
CVSS Score
8.2 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-538 CWE-552
References & Advisories (1)
Related CVEs
8.2
CVE-2026-136372
Joomla Extension - joomboost.com - Invoice PDFs stored in publicly accessible folder in JoomInvoice extension
5.3
CVE-2026-143994
Insertion of Sensitive Information into Externally-Accessible File or Directory vulnerability in BerqWP BerqWP
8.2
CVE-2025-15261
Ladybird before commit 3a9a8e38f85 allows a local HTML document opened with a file URL to read arbitrary files
3.7
CVE-2026-143976
HireZoot (formerly WP Job Openings) 1.6 before 4.2.1 contains an information disclosure vulnerability that all
7.5
CVE-2026-142043
In JetBrains Ktor before 3.6.2, 3.5.3 information disclosure was possible via servlet web resources
6.3
CVE-2026-82192
Joomla Extension - rsjoomla.com - Unauthenticated access to uploaded files in RSForm!Pro extension < 3.5.0 - F
9.3
CVE-2026-144337
osTicket before 1.17.9 and 1.18.0 before 1.18.5 contains an unauthenticated stored cross-site scripting vulner