CVEvulnerability
CVE-2019-17526
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2019-10-18
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 10.0 HIGH — AV:N/AC:L/Au:N/C:C/I:C/A:C
- Weaknesses
- CWE-78, CWE-94
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
Affected configurations
• sagemath sagemathcell
Related
References
- https://gist.github.com/barrett092/0380a1c34c014e29b827d1f408381525 Exploit, Third Party Advisory
- https://github.com/sagemath/sagecell/commits/master Patch
- https://sethsec.blogspot.com/2016/11/exploiting-python-code-injection-in-web.html Exploit, Third Party Advisory
- https://gist.github.com/barrett092/0380a1c34c014e29b827d1f408381525 Exploit, Third Party Advisory
- https://github.com/sagemath/sagecell/commits/master Patch
- https://sethsec.blogspot.com/2016/11/exploiting-python-code-injection-in-web.html Exploit, Third Party Advisory