| Package | Affected versions | Patched versions |
|---|---|---|
| openmage/magento-lts | < 20.16.1 | 20.16.1 |
| magento | ≤ 20.16.0 |
The admin url can be discovered without prior knowledge of it's location by exploiting the X-Original-Url header on some configurations.
The bug comes from the Zend library and is patche by unsetting the header in the bootstrap process.
Unset the X-Original-Url header in the web server configuration.
The activation of these headers is coming from the Zend_Controller module. It appears this has been known to some degree since 2016 - https://peterocallaghan.co.uk/2016/12/magento-poisoning-cache/ (dead link now..)
Anees Hyder ( @anees0xdev ) via HackerOne https://hackerone.com/anees0x_dev/hacktivity
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free