JTL-Shop: Database and file backups in export/backup can be downloaded without authentication
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.
Insertion of Sensitive Information into Externally-Accessible File or Directory CWE-538
The product places sensitive information into files or directories that are accessible to actors who are allowed to have access to the files, but not to the sensitive information.
Weakness data: MITRE Common Weakness Enumeration.
Files or Directories Accessible to External Parties CWE-552
The product makes files or directories accessible to unauthorized actors, even though they should not be.
Web servers, FTP servers, and similar servers may store a set of files underneath a "root" directory that is accessible to the server's users. Applications may store sensitive files underneath this root without also using access control to limit which users may request those files, if any. Alternately, an application might package multiple files or directories into an archive file (e.g., ZIP or tar), but the application might not exclude sensitive files that are underneath those directories.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| JTL-Software GmbH JTL-Shop | Software | from 5.0.0, before 5.5.0; from 5.5.0, before 5.5.6; from 5.6.0, before 5.6.7; from 5.7.0, before 5.7.7; from 5.8.0, before 5.8.5 | 5.5.0; 5.5.6; 5.6.7; 5.7.7 |
The 8.2 severity score (high) from the company that reported it, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Setup needed on the target | Present | The target has to be set up in a particular way. |
| Login needed | None | The attacker does not need an account or password. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Data exposed | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | None | Nothing can be changed. |
| Service disrupted | None | The service keeps running. |
Scorers can disagree. NIST scores every flaw the same way; the reporting company knows its own product best.
NIST lists 1 sources for this flaw, none tagged as a vendor patch.