Exploit database

Vulnerability

CVE-2020-11698

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.1 · NVD

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

An issue was discovered in Titan SpamTitan 7.07. Improper input sanitization of the parameter community on the page snmp-x.php would allow a remote attacker to inject commands into the file snmpd.conf that would allow executing commands on the target server.

CVE Program

Showing saved CVE details. Refresh is temporarily unavailable.

Exploit source choices

2 sources
SpamTitan Unauthenticated RCE
MSF-freebsd--webapp--spamtitan_unauth_rceMetasploitBSD,Unix / remote

TitanHQ SpamTitan Gateway is an anti-spam appliance that protects against unwanted emails and malwares. This module exploits an improper input sanitization in versions 7.01, 7.02, 7.03 and 7.07 to inject command directives into the SNMP configuration file and get remote code execution as root. Note that only version 7.03 needs authentication and no authentication is required for versions 7.01, 7.02 and 7.07. First, it sends an HTTP POST request to the `snmp-x.php` page with an `SNMPD` command directives (`extend` + command) passed to the `community` parameter. This payload is then added to `snmpd.conf` by the application. Finally, the module triggers the execution of this command by querying the SNMP server for the correct OID. This exploit module has been successfully tested against versions 7.01, 7.02, 7.03, and 7.07.

2020-04-17spamtitan_unauth_rce.rb