Description
When curl is instructed to download content using the metalink feature, thecontents is verified against a hash provided in the metalink XML file.The metalink XML file points out to the client how to get the same contentfrom a set of different URLs, potentially hosted by different servers and theclient can then download the file from one or several of them. In a serial orparallel manner.If one of the servers hosting the contents has been breached and the contentsof the specific file on that server is replaced with a modified payload, curlshould detect this when the hash of the file mismatches after a completeddownload. It should remove the contents and instead try getting the contentsfrom another URL. This is not done, and instead such a hash mismatch is onlymentioned in text and the potentially malicious content is kept in the file ondisk.
CVSS breakdown
Affected products
- fedoraproject / fedora33 – 33
- haxx / curl7.27.0 – 7.78.0
- NetApp / cloud_backup
- NetApp / Clustered Data ONTAP
- NetApp / h300e_firmware
- NetApp / h300s_firmware
- NetApp / h410s_firmware
- NetApp / h500e_firmware
- NetApp / h500s_firmware
- NetApp / h700e_firmware
- NetApp / h700s_firmware
- NetApp / hci_management_node
- NetApp / solidfire
- oracle / mysql_server5.7.0 – 5.7.35
- Siemens / sinec_infrastructure_network_services1.0.1.1
- Splunk / Universal Forwarder8.2.0 – 8.2.12
- Splunk / Universal Forwarder9.1.0 – 9.1.0
References
- MISChttps://hackerone.com/reports/1213175
- MAILING_LISThttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FRUCW2UVNYUDZF72DQLFQR4PJEC6CF7V/
- MAILING_LISThttps://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc%40%3Cdev.kafka.apache.org%3E
- MAILING_LISThttps://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc%40%3Cusers.kafka.apache.org%3E
- MAILING_LISThttps://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7%40%3Cusers.kafka.apache.org%3E
- MAILING_LISThttps://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7%40%3Cdev.kafka.apache.org%3E
- VENDOR_ADVISORYhttps://www.oracle.com/security-alerts/cpuoct2021.html
- MISChttps://security.netapp.com/advisory/ntap-20210902-0003/
- MISChttps://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- MISChttps://security.gentoo.org/glsa/202212-01