CVE-2022-27779: libcurl - Cookie Domain Check Bypass
- Cve: CVE-2022-27779
- Name: libcurl - Cookie Domain Check Bypass
- Description: libcurl wrongly allows cookies to be set for Top Level Domains (TLDs) if thehost name is provided with a trailing dot.curl can be told to receive and send cookies. curl's "cookie engine" can bebuilt with or without [Public Suffix List](https://publicsuffix.org/)awareness. If PSL support not provided, a more rudimentary check exists to atleast prevent cookies from being set on TLDs. This check was broken if thehost name in the URL uses a trailing dot.This can allow arbitrary sites to set cookies that then would get sent to adifferent and unrelated site or domain.
- Impact: Attackers can set cookies for unrelated sites, potentially leading to session hijacking or cross-site request issues.
- Remediation: Update to the latest version of libcurl where this issue is fixed.
- Vulnerability type: misconfiguration
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Epss score: 0.02785
- Epss percentile: 0.86756
- Assignee: [email protected]
- Published at: 2022-06-02T14:15:44Z
- Age in days: 1636
- Modified at: 2026-11-02T19:17:48Z
- Patch available: yes
- Public exploits total: 1
- References total: 4
- Products total: 11
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-27779
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-201 | Insertion of Sensitive Information Into Sent Data |
| NVD-CWE-Other | — |
Hackerone
- Reports: 2
- Rank: 3806
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://hackerone.com/reports/1553301 | nvd | 2022-06-02 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://hackerone.com/reports/1553301 | Exploit, Third Party Advisory |
| https://security.gentoo.org/glsa/202212-01 | Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20220609-0009/ | Third Party Advisory |
| https://cert-portal.siemens.com/productcert/html/ssa-398330.html |
Products
Same in every row:
- Sources: nvd
| Product | Affected | Platform bound | Url |
|---|---|---|---|
| haxx:curl | >= 7.82.0, < 7.83.1 | no | /v1/products/haxx/curl |
| netapp:h700s_firmware | all versions | yes | /v1/products/netapp/h700s_firmware |
| netapp:h300s_firmware | all versions | yes | /v1/products/netapp/h300s_firmware |
| netapp:h410s_firmware | all versions | yes | /v1/products/netapp/h410s_firmware |
| netapp:h500s_firmware | all versions | yes | /v1/products/netapp/h500s_firmware |
| netapp:clustered_data_ontap | all versions | no | /v1/products/netapp/clustered_data_ontap |
| netapp:solidfire_&_hci_management_node | all versions | no | /v1/products/netapp/solidfire_&_hci_management_node |
| splunk:universal_forwarder | = 9.1.0; >= 9.0.0, < 9.0.6; >= 8.2.0, < 8.2.12 | no | /v1/products/splunk/universal_forwarder |
| netapp:hci_compute_node | all versions | no | /v1/products/netapp/hci_compute_node |
| netapp:solidfire,_enterprise_sds_&_hci_storage_node | all versions | no | /v1/products/netapp/solidfire,_enterprise_sds_&_hci_storage_node |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| curl/curl | fix | yes | /v1/repositories/curl/curl |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-06-02
- Remote: yes
- Hackerone reports: 2
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, exposed hosts