JTL-Shop: Missing CSRF protection in the backend language switch leads to cross-site scripting in the administration backend
The backend language switch action (quick_change_language) of the JTL-Shop administration backend is executed without a CSRF token check, and the supplied language value is neither validated against the installed backend languages nor encoded on output. The value is stored in the session and in the account data of the administrator and rendered without output encoding in JavaScript strings and HTML attributes of backend pages. An unauthenticated remote attacker can thereby cause script code to be executed in the browser of a logged-in administrator who opens a crafted web page; the code can perform actions with the privileges of that administrator.
Improper Neutralization of Input During Web Page Generation CWE-79
An attacker can get their own code to run in a visitor’s browser while it is on a legitimate site, to steal sessions or act as the visitor.
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Weakness data: MITRE Common Weakness Enumeration.
Cross-Site Request Forgery CWE-352
An attacker can trick a logged-in person’s browser into performing an action on a site without their knowledge.
The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.
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.2.3, 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.6 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 | None | No special setup on the target is needed. |
| Login needed | None | The attacker does not need an account or password. |
| Someone has to act | Passive | A person has to do something simple, such as view a page. |
| Data exposed | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | High | The attacker can change or delete anything the program can reach. |
| 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.