Files
CVEs-PoC/2018/CVE-2018-1098.md
T
2024-06-18 02:51:15 +02:00

20 lines
940 B
Markdown

### [CVE-2018-1098](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1098)
![](https://img.shields.io/static/v1?label=Product&message=etcd&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%203.3.1%20and%20earlier%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-352&color=brighgreen)
### Description
A cross-site request forgery flaw was found in etcd 3.3.1 and earlier. An attacker can set up a website that tries to send a POST request to the etcd server and modify a key. Adding a key is done with PUT so it is theoretically safe (can't PUT from an HTML form or such) but POST allows creating in-order keys that an attacker can send.
### POC
#### Reference
- https://github.com/coreos/etcd/issues/9353
#### Github
- https://github.com/andir/nixos-issue-db-example
- https://github.com/asa1997/topgear_test
- https://github.com/sonatype-nexus-community/nancy