CVE-2020-12666
published 2020-05-05CVE-2020-12666: macaron before 1.3.7 has an open redirect in the static handler, as demonstrated by the http://127.0.0.1:4000//example.com/ URL.
PriorityP421medium6.1CVSS 3.1
AVNACLPRNUIRSCCLILAN
EPSS
1.38%
69.3th percentile
macaron before 1.3.7 has an open redirect in the static handler, as demonstrated by the http://127.0.0.1:4000//example.com/ URL.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| fedoraproject | fedora | — | — |
| go-macaron | macaron | < 1.3.7 | 1.3.7 |
| gopkg.in | macaron.v1 | >= 0 < 1.3.7 | 1.3.7 |
CVSS provenance
nvdv3.16.1MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
nvdv2.05.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:N
vendor_redhat6.1MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
macaron: open redirect in the static handler
vendor_redhat·2020-05-06·CVSS 6.1
CVE-2020-12666 [MEDIUM] CWE-601 macaron: open redirect in the static handler
macaron: open redirect in the static handler
macaron before 1.3.7 has an open redirect in the static handler, as demonstrated by the http://127.0.0.1:4000//example.com/ URL.
A flaw was found in macaron. Path URLs aren't cleaned before being redirected creating an open redirect in the static handler.
Statement: This issue has a low impact on both OpenShift Container Platform and OpenShift Service Mesh grafana containers. As neither components make use of the Static handler the impact is Low. A future version of Grafana may use the Macaron Static handler so we may fix this in a future release.
Red Hat Ceph Storage (RHCS) versions 3 and 4 use Grafana where the affected version of the macaron package is delivered. However the Static handler is not used by Ceph hence the impact by this vulne
OSV
gopkg.in/macaron.v1 Open Redirect vulnerability
osv·2021-05-18
CVE-2020-12666 [MEDIUM] gopkg.in/macaron.v1 Open Redirect vulnerability
gopkg.in/macaron.v1 Open Redirect vulnerability
macaron before 1.3.7 has an open redirect in the static handler. Due to improper request santization, a specifically crafted URL can cause the static file handler to redirect to an attacker chosen URL, allowing for open redirect attacks.
GHSA
gopkg.in/macaron.v1 Open Redirect vulnerability
ghsa·2021-05-18
CVE-2020-12666 [MEDIUM] CWE-601 gopkg.in/macaron.v1 Open Redirect vulnerability
gopkg.in/macaron.v1 Open Redirect vulnerability
macaron before 1.3.7 has an open redirect in the static handler. Due to improper request santization, a specifically crafted URL can cause the static file handler to redirect to an attacker chosen URL, allowing for open redirect attacks.
OSV
Open redirect in gopkg.in/macaron.v1
osv·2021-04-14
CVE-2020-12666 Open redirect in gopkg.in/macaron.v1
Open redirect in gopkg.in/macaron.v1
Due to improper request sanitization, a specifically crafted URL can cause the static file handler to redirect to an attacker chosen URL, allowing for open redirect attacks.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2020-12666 golang-gopkg-macaron-1: macaron: open redirect in the static handler [fedora-all]
bugzilla·2020-06-26·CVSS 6.1
CVE-2020-12666 [MEDIUM] CVE-2020-12666 golang-gopkg-macaron-1: macaron: open redirect in the static handler [fedora-all]
CVE-2020-12666 golang-gopkg-macaron-1: macaron: open redirect in the static handler [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple
Bugzilla
CVE-2020-12666 grafana: macaron: open redirect in the static handler [fedora-all]
bugzilla·2020-06-25·CVSS 6.1
CVE-2020-12666 [MEDIUM] CVE-2020-12666 grafana: macaron: open redirect in the static handler [fedora-all]
CVE-2020-12666 grafana: macaron: open redirect in the static handler [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported vers
Bugzilla
CVE-2020-12666 macaron: open redirect in the static handler
bugzilla·2020-06-23·CVSS 6.1
CVE-2020-12666 [MEDIUM] CVE-2020-12666 macaron: open redirect in the static handler
CVE-2020-12666 macaron: open redirect in the static handler
macaron before 1.3.7 has an open redirect in the static handler, as demonstrated by the http://127.0.0.1:4000//example.com/ URL.
https://github.com/go-macaron/macaron/issues/198
https://github.com/go-macaron/macaron/releases/tag/v1.3.7
Discussion:
PR: https://github.com/go-macaron/macaron/pull/199
---
Created grafana tracking bugs for this issue:
Affects: fedora-all [bug 1851131]
---
Created golang-gopkg-macaron-1 tracking bugs for this issue:
Affects: fedora-all [bug 1851288]
---
Statement:
This issue has a low impact on both OpenShift Container Platform and OpenShift Service Mesh grafana containers. As neither components make use of the Static handler the impact is Low. A future version of Grafana may use the Macaro
https://github.com/go-macaron/macaron/issues/198https://github.com/go-macaron/macaron/releases/tag/v1.3.7https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QEUOHRC4EN4WZ66EVFML2UCV7ZQ63XZ/https://github.com/go-macaron/macaron/issues/198https://github.com/go-macaron/macaron/releases/tag/v1.3.7https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QEUOHRC4EN4WZ66EVFML2UCV7ZQ63XZ/
2020-05-05
Published