{"id":"CVE-2020-24046","aliases":["CVE-2020-24046"],"related":[],"kind":"vulnerability","state":"published","title":"A sandbox escape issue was discovered in TitanHQ SpamTitan Gateway 7.07.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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","source":"nvd"}],"published":"2020-09-17T16:39:31.000Z","modified":"2026-06-17T03:05:11.523Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","score":9,"rating":"HIGH"}],"cwes":["CWE-269"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","version":"7.07"}],"vendor":"titanhq","product":"spamtitan","cpe":"cpe:2.3:a:titanhq:spamtitan:7.07:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/felmoltor","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://twitter.com/felmoltor","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.titanhq.com","tags":["vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://sensepost.com/blog/2020/clash-of-the-spamtitan/","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-24046","url":"https://www.cve.org/CVERecord?id=CVE-2020-24046","licence":"CVE Terms of Use","modified":"2024-08-04T15:05:11.914Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-24046","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-24046","licence":"Public domain","modified":"2026-06-17T03:05:11.523Z"}],"updatedAt":"2026-11-25T22:57:54.765Z","epss":{"score":0.03408,"percentile":0.89181,"date":"2026-12-01T12:00:22.000Z"}}