Critical severity · published Oct 18, 2019
CVE-2019-17526
An issue was discovered in SageMath Sage Cell Server through 2019-10-05
9.8
CVSS
3%
EPSS
No
On KEV
Description
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
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)3.0% · higher than 87% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SA
Sagemathcell · Sagemath
All versions, or not specified · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2019-17526
CVE.org
https://www.cve.org/CVERecord?id=CVE-2019-17526
Exploit
https://gist.github.com/barrett092/0380a1c34c014e29b827d1f408381525
Patch
https://github.com/sagemath/sagecell/commits/master
Exploit
https://sethsec.blogspot.com/2016/11/exploiting-python-code-injection-in-web.html
