CVE-2013-5093 graphite-web is vulnerable to Remote Code Execution via renderLocalView function
Remote attackers can execute arbitrary code in Graphite web by sending a crafted serialized object due to unsafe pickle usage.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2013-5093?
CVE-2013-5093 is a medium-severity unsafe deserialization vulnerability in n/a, published on 27 Sep 2013. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python module unsafely, which allows remote attackers to execute arbitrary code via a crafted serialized object.
Weakness: CWE-94
Which versions are affected by CVE-2013-5093?
3 open source packages ship an affected version, including graphite-web. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
graphite-web PyPI | From 0.9.5 | 0.9.11 |
graphite-web PyPI | From 0.9.5 | 0.9.11 |
graphite-web PyPI | From 0.9.5 | 0.9.11 |
Products include Graphite Project Graphite.
How do I fix CVE-2013-5093?
Upgrade graphite-web to 0.9.11 or later.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2013-5093 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2013-5093 exists.
Public exploit code: 1 Metasploit module and 1 Exploit-DB entry.
Other vulnerabilities in n/a
Sources
Also known as CVE-2013-5903, DEBIAN-CVE-2013-5093, GHSA-m923-w2gj-v43g, PYSEC-2013-3.