Skip to content

X-Original-Url header can expose admin url

Moderate
colinmollenhour published GHSA-jg68-vhv3-9r8f Feb 2, 2026

Package

composer openmage/magento-lts (Composer)

Affected versions

< 20.16.1

Patched versions

20.16.1, 20.17.0

Description

Impact

The admin url can be discovered without prior knowledge of it's location by exploiting the X-Original-Url header on some configurations.

Patches

The bug comes from the Zend library.

Workarounds

Unset the X-Original-Url header in the web server configuration.

References

https://hackerone.com/bugs?subject=openmage&report_id=3416312

Looking deeper initially I couldn't find it but then realized that my search was excluding the vendor/ directory. So this is coming from the Zend_Controller module. Here is another tip from 2016 - surprised this wasn't somehow patched already!
https://peterocallaghan.co.uk/2016/12/magento-poisoning-cache/ (dead link now..)

Credit

Anees Hyder (anees0x_dev) on HackerOne
https://hackerone.com/anees0x_dev/hacktivity?type=user

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

CVE ID

CVE-2026-25523

Weaknesses

No CWEs