{"id":"CVE-2020-24046","sourceIdentifier":"cve@mitre.org","published":"2020-09-17T17:15:16.100","lastModified":"2026-06-17T03:05:11.523","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"A sandbox escape issue was discovered in TitanHQ SpamTitan Gateway 7.07. It limits the admin user to a restricted shell, allowing execution of a small number of tools of the operating system. This restricted shell can be bypassed after changing the properties of the user admin in the operating system file /etc/passwd. This file cannot be accessed though the restricted shell, but it can be modified by abusing the Backup/Import Backup functionality of the web interface. An authenticated attacker would be able to obtain the file /var/tmp/admin.passwd after executing a Backup operation. This file can be manually modified to change the GUID of the user to 0 (root) and change the restricted shell to a normal shell /bin/sh. After the modification is done, the file can be recompressed to a .tar.bz file and imported again via the Import Backup functionality. The properties of the admin user will be overwritten and a root shell will be granted to the user upon the next successful login."},{"lang":"es","value":"Se detectó un problema de escape del sandbox en TitanHQ SpamTitan Gateway versión 7.07.&#xa0;Limita al usuario administrador a un shell restringido, permitiendo una ejecución de un pequeño número de herramientas del sistema operativo.&#xa0;Este shell restringido puede ser omitido después de cambiar las propiedades del administrador del usuario en el archivo del sistema operativo /etc/passwd.&#xa0;Este archivo no puede ser accedido por medio del shell restringido, pero puede ser modificado al abusar de la funcionalidad Backup/Import Backup de la interfaz web.&#xa0;Un atacante autenticado podría ser capaz de obtener el archivo /var/tmp/admin.passwd después de ejecutar una operación Backup.&#xa0;Este archivo puede ser manualmente modificado para cambiar el GUID del usuario a 0 (root) y cambiar el shell restringido a un shell /bin/sh normal.&#xa0;Después de realizada la modificación, el archivo puede ser comprimir nuevamente a .tar.&#xa0;bz e importado de nuevo mediante la funcionalidad Import Backup.&#xa0;Las propiedades del usuario administrador se sobrescribirán y se le otorgará un shell raíz al usuario en el próximo inicio de sesión exitoso"}],"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:H/UI:N/S:U/C:H/I:H/A:H","baseScore":7.2,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.2,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:C/I:C/A:C","baseScore":9.0,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":8.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-269"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:titanhq:spamtitan:7.07:*:*:*:*:*:*:*","matchCriteriaId":"237E0708-6807-472F-A18C-E72871D7C74D"}]}]}],"references":[{"url":"https://github.com/felmoltor","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"https://sensepost.com/blog/2020/clash-of-the-spamtitan/","source":"cve@mitre.org","tags":["Exploit","Third Party Advisory"]},{"url":"https://twitter.com/felmoltor","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"https://www.titanhq.com","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"https://github.com/felmoltor","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"https://sensepost.com/blog/2020/clash-of-the-spamtitan/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"]},{"url":"https://twitter.com/felmoltor","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"https://www.titanhq.com","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]}]}