2026-02-04 21:21CVE-2026-25523GitHub_M
PUBLISHED5.2CWE-200

Magento's X-Original-Url header can expose admin url

Magento-lts is a long-term support alternative to Magento Community Edition (CE). Prior to version 20.16.1, the admin url can be discovered without prior knowledge of it's location by exploiting the X-Original-Url header on some configurations. This issue has been patched in version 20.16.1.

Problem type

Affected products

OpenMage

magento-lts

< 20.16.1 - AFFECTED

References

GitHub Security Advisories

GHSA-jg68-vhv3-9r8f

Magento's X-Original-Url header can expose admin url

https://github.com/advisories/GHSA-jg68-vhv3-9r8f

Impact

The admin url can be discovered without prior knowledge of its 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.

Resources

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

Upon deeper investigation, it was initially not found, but then it was realized that the search excluded the vendor/ directory. This is coming from the Zend_Controller module. Here is another tip from 2016 - it is surprising that this was not 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

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-25523
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-25523",
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "dateUpdated": "2026-02-04T21:40:35.514Z",
    "dateReserved": "2026-02-02T18:21:42.487Z",
    "datePublished": "2026-02-04T21:21:56.414Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M",
        "dateUpdated": "2026-02-04T21:21:56.414Z"
      },
      "title": "Magento's X-Original-Url header can expose admin url",
      "descriptions": [
        {
          "lang": "en",
          "value": "Magento-lts is a long-term support alternative to Magento Community Edition (CE). Prior to version 20.16.1, the admin url can be discovered without prior knowledge of it's location by exploiting the X-Original-Url header on some configurations. This issue has been patched in version 20.16.1."
        }
      ],
      "affected": [
        {
          "vendor": "OpenMage",
          "product": "magento-lts",
          "versions": [
            {
              "version": "< 20.16.1",
              "status": "affected"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "CWE-200: Exposure of Sensitive Information to an Unauthorized Actor",
              "cweId": "CWE-200",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://github.com/OpenMage/magento-lts/security/advisories/GHSA-jg68-vhv3-9r8f",
          "name": "https://github.com/OpenMage/magento-lts/security/advisories/GHSA-jg68-vhv3-9r8f",
          "tags": [
            "x_refsource_CONFIRM"
          ]
        },
        {
          "url": "https://hackerone.com/bugs?subject=openmage&report_id=3416312",
          "name": "https://hackerone.com/bugs?subject=openmage&report_id=3416312",
          "tags": [
            "x_refsource_MISC"
          ]
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
            "attackVector": "NETWORK",
            "attackComplexity": "LOW",
            "privilegesRequired": "NONE",
            "userInteraction": "NONE",
            "scope": "UNCHANGED",
            "confidentialityImpact": "LOW",
            "integrityImpact": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 5.3,
            "baseSeverity": "MEDIUM"
          }
        }
      ]
    },
    "adp": [
      {
        "providerMetadata": {
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP",
          "dateUpdated": "2026-02-04T21:40:35.514Z"
        },
        "title": "CISA ADP Vulnrichment",
        "metrics": [
          {}
        ]
      }
    ]
  }
}