Skip to content

Magento Version exposure via Setup route with default Nginx Configuration #39227

Open
@SamJUK

Description

@SamJUK

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”.

Metadata

Metadata

Assignees

Labels

Area: FrameworkComponent: SetupIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: PR in progressReported on 2.4.xIndicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions