Bug 2001847 (CVE-2017-18638) - CVE-2017-18638 graphite-web: graphite.composer.views.send_email vulnerable to SSRF
Summary: CVE-2017-18638 graphite-web: graphite.composer.views.send_email vulnerable to...
Keywords:
Status: NEW
Alias: CVE-2017-18638
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2001848 2016997
Blocks: 2001850
TreeView+ depends on / blocked
 
Reported: 2021-09-07 10:38 UTC by Marian Rehak
Modified: 2021-10-25 11:29 UTC (History)
14 users (show)

Fixed In Version: graphite-web 1.1.6
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in graphite-web. The send_email in the graphite-web/webapp/graphite/composer/views.py function is vulnerable to a Server-side request forgery (SSRF). This flaw allows an attacker to use the vulnerable SSRF endpoint to have the Graphite web server request any resource. An attacker can exfiltrate any information due to the response the SSRF request encodes into an image file sent to an email address supplied by the attacker.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Marian Rehak 2021-09-07 10:38:46 UTC
send_email in graphite-web/webapp/graphite/composer/views.py 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.

Upstream Issue:

https://github.com/graphite-project/graphite-web/issues/2008

Comment 1 Marian Rehak 2021-09-07 10:39:02 UTC
Created graphite-web tracking bugs for this issue:

Affects: epel-7 [bug 2001848]

Comment 2 Hardik Vyas 2021-10-25 11:20:41 UTC
Upstream PR: https://github.com/graphite-project/graphite-web/pull/2499


Note You need to log in before you can comment on or make changes to this bug.