RCE in Sagemath Sagemathcell
CVE-2019-17526
An issue was discovered in SageMath Sage Cell Server through 2019-10-05. Python Code Injection can occur in the context of an internet facing web application. Malicious actors can execute arbitrary commands on the underlying operating system, as demonstrated by an __import__('os').popen('whoami').read() line. NOTE: the vendor's position is that the product is "vulnerable by design" and the current behavior will be retained
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.030 (86.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 87th percentile — 86.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.030 · newest: 0.030 · change: 0.000
Affected products
Weakness classification (CWE)
References
- github.com/sagemath/sagecell/commits/master (Patch)
- sethsec.blogspot.com/2016/11/exploiting-python-code-injection-in-web.html (Exploit, Third Party Advisory)
- gist.github.com/barrett092/0380a1c34c014e29b827d1f408381525 (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2019-17526?
- CVE-2019-17526 is a critical-severity vulnerability in Sagemath Sagemathcell, classified under OS Command Injection. CVSS score: 9.8/10. Published 2019-10-18.
- How severe is CVE-2019-17526?
- Critical severity. CVSS v3 base score is 9.8 out of 10.