shopware/platform
Affected
- introduced
6.7.0.0, fixed6.7.3.1(ecosystem)
Fixed versions
6.7.3.1
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: None
Shopware vulnerable to Server-Side Request Forgery (SSRF) – order invoice
Impact
This vulnerability allows malicious actors to force the application server to send HTTP requests to both external and internal servers. In certain cases, this may lead to access to internal resources such as databases, file systems, or other services that are not supposed to be directly accessible from the internet.
The overall impact of this vulnerability is considered limited, as the functionality is highly restricted and only processes IMG tags.
Description
Server-Side Request Forgery (SSRF) is a vulnerability that enables a malicious actor to manipulate an application server into performing HTTP requests to arbitrary domains. SSRF is commonly exploited to make the server initiate requests to its internal systems or other services within the same network, which are typically not exposed to external users. In some cases, SSRF can also be used to target external systems. A successful SSRF attack can result in unauthorized actions or access to data within the
organization, the web application itself, or other backend systems the application communicates with. In worst-case scenario, a SSRF vulnerability can be exploited to execute malicious code on the server.
Applicability
The PDF generator used to create order invoices contains a Server-Side Request Forgery (SSRF)
vulnerability.
Administrative users can generate invoices for completed orders and have the option to add a note to the invoice. This input is currently not adequately filtered for (malicious) HTML characters. When a malicious actor submits an IMG tag as input, the PDF generator attempts to retrieve an external image while processing the IMG tag. As a result, the application server can be used to perform an HTTP request, enabling the malicious actors to reach both external and internal servers.
To exploit this vulnerability, an admin account is required.
Reproduction
To reproduce this vulnerability, the steps below can be followed.
https://<your-site>.shopware.store/admin#/sw/order/detail/0198e0afa2cb70ceb76ad64fc7864ca6/documents?limit=25&page=1&term=&sortBy&sortDirection=ASC&naturalSorting=false
<img src="<malicious image link>" width="250" height="100"/>
Low Basis: The source's own band: LOW
6.7.0.0, fixed 6.7.3.1 (ecosystem)6.7.3.1
The export has no generic command for this ecosystem.
0, fixed 6.6.10.7 (ecosystem)6.6.10.7
The export has no generic command for this ecosystem.
6.7.0.0, fixed 6.7.3.1 (ecosystem)6.7.3.1
The export has no generic command for this ecosystem.
0, fixed 6.6.10.7 (ecosystem)6.6.10.7
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0