CVE-2017-18638 graphite.composer.views.send_email vulnerable to SSRF
An attacker can exploit a Server-Side Request Forgery vulnerability in Graphite to exfiltrate sensitive data via email.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-18638?
CVE-2017-18638 is a high-severity server-side request forgery vulnerability in n/a, published on 11 Oct 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-918
Which versions are affected by CVE-2017-18638?
3 open source packages ship an affected version, including graphite-web. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
graphite-web PyPI | All versions | 1.1.6 |
graphite-web PyPI | All versions | 1.1.6 |
graphite-web PyPI | All versions | 1.1.6 |
Linux distribution packages (1)
graphite-web SUSE:Enterprise Storage 4 | All versions | 0.9.12-5.3.1 |
Products include Graphite Project Graphite.
How do I fix CVE-2017-18638?
Upgrade graphite-web to 1.1.6 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2017-18638 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-18638 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in n/a
- CVE-2013-5093 graphite-web is vulnerable to Remote Code Execution via renderLocalView function
- CVE-2013-5942 graphite-web is vulnerable to Remote Code Execution
- CVE-2013-5943 Cross-site scripting in n/a
- CVE-2022-4728 Graphite Web Cookie cross site scripting
- CVE-2022-4729 Graphite Web Template Name cross site scripting
Sources
Also known as DEBIAN-CVE-2017-18638, DLA-1962-1, GHSA-vfj6-275q-4pvm, PYSEC-2019-151, SUSE-SU-2019:2803-1, UBUNTU-CVE-2017-18638.