Open
Description
Preconditions and environment
Any Version of Magento using the Nginx sample config
Steps to reproduce
Navigate to https://site.com/setup/
Expected result
Return a 401/403 error, or at very minimum do not expose the exact version of Magento the site is running.
Actual result
We see a lovely page telling us exactly the Magento version is
Additional information
I believe in 2.4, the web based setup was removed. Although the page is still accessible displaying the Magento Version.
Typically those using the default Nginx configuration are less technical / security focused. And they trust the default provided Nginx configure is secure by default. I would argue exposing the exact Magento package version provides no benefit whilst telling potential bad actors exactly what exploits to attempt or search for.
Release note
No response
Triage and priority
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.