CVE-2017-18638: graphite.composer.views.send_email vulnerable to SSRF
(updated )
send_email in graphite-web/webapp/graphite/composer/views.py in Graphite through 1.1.5 is vulnerable to SSRF. The vulnerable SSRF endpoint can be used by an attacker to have the Graphite web server request any resource. The response to this SSRF request is encoded into an image file and then sent to an e-mail address that can be supplied by the attacker. Thus, an attacker can exfiltrate any information. Email will be send through SMTP server configured in Graphite, by default it’s ’localhost'
References
- blog.orange.tw/2017/07/how-i-chained-4-vulnerabilities-on.html
- github.com/advisories/GHSA-vfj6-275q-4pvm
- github.com/graphite-project/graphite-web
- github.com/graphite-project/graphite-web/commit/71726a0e41a5263f49b973a7b856505a5b931c1f
- github.com/graphite-project/graphite-web/issues/2008
- github.com/graphite-project/graphite-web/pull/2499
- github.com/graphite-project/graphite-web/security/advisories/GHSA-vfj6-275q-4pvm
- github.com/pypa/advisory-database/tree/main/vulns/graphite-web/PYSEC-2019-151.yaml
- lists.debian.org/debian-lts-announce/2019/10/msg00030.html
- nvd.nist.gov/vuln/detail/CVE-2017-18638
- www.youtube.com/watch?v=ds4Gp4xoaeA
Detect and mitigate CVE-2017-18638 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →