CVE-2018-25060
Description
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.
Severity
LOW
CVSS v3
3.7
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N · source cna
Exploit chance (EPSS)
0.564%
chance of exploitation in the next 30 days
higher than 47.4% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-614: Sensitive Cookie in HTTPS Session Without 'Secure' Attribute
Timeline
- 2022-12-30Published by the CNA11:47 UTC
- 2022-12-30GitHub advisory published (GHSA-hhxg-px5h-jc32)same day
Exploit and advisory records
GitHub advisory GHSA-hhxg-px5h-jc32, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go github.com/go-macaron/csrf | before 0.0.0-20180426211050-dadd1711a617 | 0.0.0-20180426211050-dadd1711a617 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| go-macaron csrf |
References
- https://github.com/go-macaron/csrf/commit/dadd1711a617000b70e5e408a76531b73187031c
- https://github.com/go-macaron/csrf/pull/7
- https://vuldb.com/?ctiid.217058
- https://vuldb.com/?id.217058
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2018-25060'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2018-25060'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2018-25060'curl 'https://api.contrastcyber.com/cve_products/CVE-2018-25060'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).