vendor:
qmailq
by:
Anonymous
8,8
CVSS
HIGH
Command Injection and Privilege Escalation
78 (Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CWE
Product Name: qmailq
Affected Version From: N/A
Affected Version To: N/A
Patch Exists: NO
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2020
Command Injection and Privilege Escalation Vulnerability in qmailq
It is possible to execute any command as an unprivileged user qmailq by sending a malicious HTTPS request. It is also possible to upload any file (script, binary, etc.) using the wget command. Additionally, it is possible to download and execute a file with a malicious HTTPS request. Furthermore, it is possible to make privilege escalation to root with a weak sudoers configuration, on /tmp/rc.firewall file, by overwriting the file with a malicious script.
Mitigation:
Ensure that user input is properly validated and sanitized before being used in a command. Additionally, ensure that the sudoers configuration is properly configured and secure.