CVE-2019-17526
Python Code Injection can occur in the context of an internet facing web application.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.00%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 3.00% probability · 87th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-78, CWE-94
- Affected
- sagemath/sagemathcell
- Source
- cve@mitre.org
References
- https://gist.github.com/barrett092/0380a1c34c014e29b827d1f408381525Exploit, Third Party Advisory
- https://github.com/sagemath/sagecell/commits/masterPatch
- https://sethsec.blogspot.com/2016/11/exploiting-python-code-injection-in-web.htmlExploit, Third Party Advisory
- https://gist.github.com/barrett092/0380a1c34c014e29b827d1f408381525Exploit, Third Party Advisory
- https://github.com/sagemath/sagecell/commits/masterPatch
- https://sethsec.blogspot.com/2016/11/exploiting-python-code-injection-in-web.htmlExploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.