RCE in Sagemath Sagemathcell
CVE-2019-17526
- CVSS v3
- 9.8 Critical
- Public exploits
- None known
- EPSS
- 0.030 · 87.7th percentile
- Published
- 2019-10-18
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.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.030, 87.7th percentile (last changed ); unchanged over 30 days. About EPSS.
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)