{"id":"CVE-2019-17526","sourceIdentifier":"cve@mitre.org","published":"2019-10-18T17:15:10.517","lastModified":"2026-06-17T02:24:04.157","vulnStatus":"Modified","cveTags":[{"sourceIdentifier":"cve@mitre.org","tags":["disputed"]}],"descriptions":[{"lang":"en","value":"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"},{"lang":"es","value":"** EN DISPUTA ** Se detectó un problema en SageMath Sage Cell Server hasta el 05-10-2019. Una Inyección de Código de Python puede presentarse en el contexto de una aplicación web orientada a Internet. Los actores maliciosos pueden ejecutar comandos arbitrarios en el sistema operativo subyacente, como es demostrado por una línea __import__('os').popen('whoami').read(). NOTA: la posición del proveedor es que el producto es \"vulnerable by design\" y el comportamiento actual será mantenido."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","baseScore":10.0,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":10.0,"impactScore":10.0,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-78"},{"lang":"en","value":"CWE-94"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:sagemath:sagemathcell:*:*:*:*:*:*:*:*","matchCriteriaId":"932E2E2C-63D7-413A-99EE-B50516A24852"}]}]}],"references":[{"url":"https://gist.github.com/barrett092/0380a1c34c014e29b827d1f408381525","source":"cve@mitre.org","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/sagemath/sagecell/commits/master","source":"cve@mitre.org","tags":["Patch"]},{"url":"https://sethsec.blogspot.com/2016/11/exploiting-python-code-injection-in-web.html","source":"cve@mitre.org","tags":["Exploit","Third Party Advisory"]},{"url":"https://gist.github.com/barrett092/0380a1c34c014e29b827d1f408381525","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/sagemath/sagecell/commits/master","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://sethsec.blogspot.com/2016/11/exploiting-python-code-injection-in-web.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"]}]}