{"id":"CVE-2019-18276","sourceIdentifier":"cve@mitre.org","published":"2019-11-28T01:15:10.603","lastModified":"2026-10-14T07:16:50.140","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"An issue was discovered in disable_priv_mode in shell.c in GNU Bash through 5.0 patch 11. By default, if Bash is run with its effective UID not equal to its real UID, it will drop privileges by setting its effective UID to its real UID. However, it does so incorrectly. On Linux and other systems that support \"saved UID\" functionality, the saved UID is not dropped. An attacker with command execution in the shell can use \"enable -f\" for runtime loading of a new builtin, which can be a shared object that calls setuid() and therefore regains privileges. However, binaries running with an effective UID of 0 are unaffected."},{"lang":"es","value":"Se descubrió un problema en la función disable_priv_mode en el archivo shell.c en GNU Bash versiones hasta la versión 5.0 parche 11. Por defecto, si Bash es ejecutado con su UID efectivo no igual a su UID real, perderá privilegios al establecer su UID efectivo en su UID real. Sin embargo, lo hace incorrectamente. En Linux y otros sistemas que admiten la funcionalidad \"saved UID\", el UID guardado no se descarta. Un atacante con ejecución de comando en el shell puede utilizar \"enable -f\" para la carga del tiempo de ejecución un nuevo builtin, que puede ser un objeto compartido que llama a setuid() y, por lo tanto, recupera privilegios. Sin embargo, los archivos binarios que son ejecutados con un UID efectivo de 0 no están afectados."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]},{"source":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","affectedData":[{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","lessThan":"V3.1.5","versionType":"custom","status":"affected"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","lessThan":"V3.1.5","versionType":"custom","status":"affected"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","lessThan":"V3.1.5","versionType":"custom","status":"affected"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","lessThan":"V3.1.5","versionType":"custom","status":"affected"}]},{"vendor":"Siemens","product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","lessThan":"V3.1.5","versionType":"custom","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:C/I:C/A:C","baseScore":7.2,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":3.9,"impactScore":10.0,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-06-09T15:50:29.163562Z","id":"CVE-2019-18276","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-273"}]},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-273"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:gnu:bash:*:*:*:*:*:*:*:*","versionEndIncluding":"5.0","matchCriteriaId":"A31B87E5-26FE-4BBC-8FF2-020BAC6B43FD"},{"vulnerable":true,"criteria":"cpe:2.3:a:gnu:bash:5.0:beta1:*:*:*:*:*:*","matchCriteriaId":"EBF799A8-DF95-4A8C-9A27-0CED6B0768B2"},{"vulnerable":true,"criteria":"cpe:2.3:a:gnu:bash:5.0:beta2:*:*:*:*:*:*","matchCriteriaId":"B93A2911-CF65-46A8-B6B2-62DD350BA5CD"},{"vulnerable":true,"criteria":"cpe:2.3:a:gnu:bash:5.0:patch1:*:*:*:*:*:*","matchCriteriaId":"1F6AF24A-4B41-49C4-B601-A43218D855B8"},{"vulnerable":true,"criteria":"cpe:2.3:a:gnu:bash:5.0:patch10:*:*:*:*:*:*","matchCriteriaId":"B28DB24A-B5C5-4B62-AC9F-BA9AA1792500"},{"vulnerable":true,"criteria":"cpe:2.3:a:gnu:bash:5.0:patch11:*:*:*:*:*:*","matchCriteriaId":"8297E57F-D6F2-496D-8590-77A140BCAB90"},{"vulnerable":true,"criteria":"cpe:2.3:a:gnu:bash:5.0:patch2:*:*:*:*:*:*","matchCriteriaId":"73B80FA3-3959-4A51-A196-0823DA653C9C"},{"vulnerable":true,"criteria":"cpe:2.3:a:gnu:bash:5.0:patch3:*:*:*:*:*:*","matchCriteriaId":"741E8CD2-A3E8-44B6-8DBA-0F1B5008A9B0"},{"vulnerable":true,"criteria":"cpe:2.3:a:gnu:bash:5.0:patch4:*:*:*:*:*:*","matchCriteriaId":"648F2100-0D1B-4670-B5DA-0F123136D800"},{"vulnerable":true,"criteria":"cpe:2.3:a:gnu:bash:5.0:patch5:*:*:*:*:*:*","matchCriteriaId":"D0127BA7-2D7D-4B2D-B275-437FC8ED24DE"},{"vulnerable":true,"criteria":"cpe:2.3:a:gnu:bash:5.0:patch6:*:*:*:*:*:*","matchCriteriaId":"4D34B427-5B26-41F2-9B85-4CA99936E209"},{"vulnerable":true,"criteria":"cpe:2.3:a:gnu:bash:5.0:patch7:*:*:*:*:*:*","matchCriteriaId":"B8C829B9-5F6C-4322-BF80-25D51E02A8AC"},{"vulnerable":true,"criteria":"cpe:2.3:a:gnu:bash:5.0:patch8:*:*:*:*:*:*","matchCriteriaId":"6B5ABAA1-62D6-4A3C-A79A-1BFE3B4EB0CE"},{"vulnerable":true,"criteria":"cpe:2.3:a:gnu:bash:5.0:patch9:*:*:*:*:*:*","matchCriteriaId":"CBA52B5D-D718-4039-8126-B7F580331BAB"},{"vulnerable":true,"criteria":"cpe:2.3:a:gnu:bash:5.0:rc1:*:*:*:*:*:*","matchCriteriaId":"CB0A99E3-1CB4-43B5-8849-677C02788B60"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:*","matchCriteriaId":"A3C19813-E823-456A-B1CE-EC0684CE1953"},{"vulnerable":true,"criteria":"cpe:2.3:a:netapp:oncommand_unified_manager:*:*:*:*:*:vmware_vsphere:*:*","versionStartIncluding":"9.5","matchCriteriaId":"37C50706-4EB7-4AC0-BFE2-B3929F79B5D7"},{"vulnerable":true,"criteria":"cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:*","matchCriteriaId":"A6E9EF0C-AFA8-4F7B-9FDC-1E0F7C26E737"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.14.0:*:*:*:*:*:*:*","matchCriteriaId":"4479F76A-4B67-41CC-98C7-C76B81050F8E"}]}]}],"references":[{"url":"http://packetstormsecurity.com/files/155498/Bash-5.0-Patch-11-Privilege-Escalation.html","source":"cve@mitre.org","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://github.com/bminor/bash/commit/951bdaad7a18cc0dc1036bba86b18b90874d39ff","source":"cve@mitre.org","tags":["Patch","Third Party Advisory"]},{"url":"https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E","source":"cve@mitre.org"},{"url":"https://security.gentoo.org/glsa/202105-34","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20200430-0003/","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","source":"cve@mitre.org","tags":["Patch","Third Party Advisory"]},{"url":"https://www.youtube.com/watch?v=-wGtxJ8opa8","source":"cve@mitre.org","tags":["Exploit","Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/155498/Bash-5.0-Patch-11-Privilege-Escalation.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://github.com/bminor/bash/commit/951bdaad7a18cc0dc1036bba86b18b90874d39ff","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Third Party Advisory"]},{"url":"https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.gentoo.org/glsa/202105-34","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20200430-0003/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Third Party Advisory"]},{"url":"https://www.youtube.com/watch?v=-wGtxJ8opa8","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","source":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"}]}