CVE-2018-25060
highpriority · track · 30OT risk · elevatedEPSS 0.005 · 45 %ileEUUSEPSS · scored 2026-10-27
A vulnerability was found in Macaron csrf and classified as problematic. Affected by this issue is some unknown functionality of the file csrf.go. The manipulation of the argument Generate leads to sensitive cookie without secure attribute. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The patch is identified as dadd1711a617000b70e5e408a76531b73187031c. It is recommended to apply a patch to fix this issue. VDB-217058 is the identifier assigned to this vulnerability.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–high · 2.6–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
- Go github.com/go-macaron/csrf< 0.0.0-20180426211050-dadd1711a617osvUSpkg:golang/github.com/go-macaron/csrf
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-hhxg-px5h-jc32Macaron csrf missing encryption and has sensitive cookies in HTTP session without secure attribute2022-12-30ghsa · osvUS
A vulnerability was found in Macaron csrf and classified as problematic. Affected by this issue is some unknown functionality of the file `csrf.go`. The manipulation of the argument Generate leads to sensitive cookie without secure attribute. The attack may be launched remotely. The name of the patch is dadd1711a617000b70e5e408a76531b73187031c. It is recommended to apply a patch to fix this issue. VDB-217058 is the identifier assigned to this vulnerability.
- GO-2022-1213Insecure generation of cookies in github.com/go-macaron/csrf2023-01-03vendor · osvUS
The Options.Secure value is ignored, and cookies created by Generate never have the secure attribute.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2018-25060/cnnvd
- https://github.com/go-macaron/csrf/commit/dadd1711a617000b70e5e408a76531b73187031ccnnvd
- https://github.com/go-macaron/csrf/pull/7cnnvd
- https://vuldb.com/?ctiid.217058cnnvd
- https://vuldb.com/?id.217058cnnvd
- https://github.com/go-macaron/csrf/commit/dadd1711a617000b70e5e408a76531b73187031cenisa_euvd
- https://github.com/go-macaron/csrf/pull/7enisa_euvd
- https://vuldb.com/?ctiid.217058enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan