Vulnerability Details : CVE-2019-17526
Potential exploit
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
Products affected by CVE-2019-17526
- cpe:2.3:a:sagemath:sagemathcell:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2019-17526
3.78%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 92 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2019-17526
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
10.0
|
HIGH | AV:N/AC:L/Au:N/C:C/I:C/A:C |
10.0
|
10.0
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2019-17526
-
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.Assigned by: nvd@nist.gov (Primary)
-
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.Assigned by: nvd@nist.gov (Primary)
References for CVE-2019-17526
-
https://gist.github.com/barrett092/0380a1c34c014e29b827d1f408381525
CVE-2019-17526 · GitHubExploit;Third Party Advisory
-
https://sethsec.blogspot.com/2016/11/exploiting-python-code-injection-in-web.html
SethSec: Exploiting Python Code Injection in Web ApplicationsExploit;Third Party Advisory
-
https://github.com/sagemath/sagecell/commits/master
Commits · sagemath/sagecell · GitHubPatch
Jump to