Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:19311
HistoryFeb 29, 2008 - 12:00 a.m.

Beehive/SendFile.NET - Secure File Transfer Appliance Hardcoded Credentials

2008-02-2900:00:00
vulners.com
16

Title: Beehive/SendFile.NET - Secure File Transfer Appliance Hardcoded Credentials

Vendor: Beehive Software
Vendor URL: http://www.thebeehive.com/

Affected File: http://<host>/sfcommon/SendFile.jar

Vendor Contact Date: 7/26/2007

Vendor Response: None

Workaround:
The simplest way to protect against this attack is to block access to unnecessary services (e.g FTP) from the internet.

Description:
Within the outboxWriteUnsent() function of the FTPThread.class file of SendFile.jar the following lines reveal a hardcoded username and password which can be used to login to the FTP Server. Most servers disallow direct communication to the appliance from the internet however threats from the internal network still exist.

SendFile.jar:

------------<snip>------------
URL url1 = new URL(url.getProtocol() + "://" + url.getHost() +
"/s.ftp?command=putfile&user=sfoutbox&pass=sfoutbox&dir=" + mAcctID +
"/" + FTPStream.escapePathName(mUser) + "&createdir=1&file=" +
mOutboxTime + ".unsent.html");
------------</snip>------------

And

------------<snip>------------
ftpstream = new FTPStream(mApplet.getDocumentBase().getHost(),
"sfoutbox", "sfoutbox", true, false, mProgressWindow, false, mProxyIP,
mProxyPort, mProxyUser, mProxyPass);
------------</snip>------------

Credit:
Brad Antoniewicz
Email: Brad.Antoniewicz at foundstone.com