First published: Fri Oct 11 2019(Updated: )
### Impact 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' ### Patches Problem was patched in Graphite-web 1.1.6. Also patches was released for graphite-web [1.0.x](https://github.com/graphite-project/graphite-web/pull/2501) and [0.9.x](https://github.com/graphite-project/graphite-web/pull/2500), and we'll discuss releases of non-supported branches later. ### Workarounds You can manually remove function `send_email` from file `webapp/graphite/composer/views.py`. This function are not in use and will not affect your Graphite installation. ### References For more information check this graphite-web Github issue #2008 ### For more information If you have any questions or comments about this advisory: * Add comment in [issue #2008](https://github.com/graphite-project/graphite-web/issues/2008)
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
ubuntu/graphite-web | <1.0.2+ | 1.0.2+ |
ubuntu/graphite-web | <0.9.15+ | 0.9.15+ |
ubuntu/graphite-web | <0.9.12+ | 0.9.12+ |
debian/graphite-web | 1.1.4-3+deb10u1 1.1.4-3+deb10u2 1.1.8-2 1.1.10-1 | |
pip/graphite-web | <1.1.6 | 1.1.6 |
Graphite2 | <=1.1.5 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2017-18638 is classified as a medium severity vulnerability due to its potential for SSRF attacks.
To fix CVE-2017-18638, you should upgrade to Graphite-web version 1.1.6 or later.
CVE-2017-18638 affects Graphite-web versions up to and including 1.1.5.
CVE-2017-18638 is an SSRF (Server-Side Request Forgery) vulnerability.
Yes, CVE-2017-18638 can be exploited remotely by submitting crafted requests to the vulnerable endpoint.