Ipswitch FTP XSS leads to FTP server compromise

2007.08.28
Credit: Jared DeMott
Risk: Low
Local: No
Remote: Yes
CWE: CWE-79


CVSS Base Score: 4.3/10
Impact Subscore: 2.9/10
Exploitability Subscore: 8.6/10
Exploit range: Remote
Attack complexity: Medium
Authentication: No required
Confidentiality impact: None
Integrity impact: Partial
Availability impact: None

VDA Labs Advisory: -------------------------- Ipswitch FTP XSS leads to FTP server compromise. The Vendor has been notified, and given the PoC. Synopsis: ------------ There is XSS vulnerability when the WS_FTP server logs client FTP commands. All user commands are logged. When the FTP command is invalid (error), special characters are converted to HTML chars (< = &lt;, > = &gt;<i>), and logged. However, when the FTP command is valid, there is no </I>sanity check. Thus, it is possible to inject HTML and Javascript into the log file. The WS_FTP administration interface (IIS web application written in ASP) has a view log option. When logs are viewed, it is possible to steal the administrator cookie, or even better, DIRECTLY create a new user (or admin) account for FTP server. We've created a little PoC that will create a new system administrator account when the admin view logs. The PoC is simple and injects an <iframe> that leads to another html file that creates the new account. Discovered by: ------------------ John Harwold, VDA Labs, LLC


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top