Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Moderately critical

SqWebMail Attached File Script Insertion Vulnerability

-

Release Date:  2005-08-24    Last Update:  2005-09-05    Views:  10,041

Secunia Advisory SA16539

Where:

From remote

Impact:

Cross Site Scripting

Solution Status:

Unpatched

CVE Reference(s):

Description


Secunia Research has discovered a vulnerability in SqWebMail, which can be exploited by malicious people to conduct script insertion attacks.

The vulnerability is caused due to SqWebMail allowing attached files to be viewed in context of the SqWebMail server. This can be exploited to execute arbitrary script code in a user's browser session in context of the SqWebMail server when a user clicks "Display" on an attached file.

Example Attack Scenario:
1) The user receives an email with an attachment called e.g. "image.jpg".
2) The user uses the SqWebMail "Display" feature to view the attached file.
3) This causes SqWebMail to output the contents of the attachment in context of the SqWebMail server.

However, when SqWebMail outputs the file, the user-controlled "Content-Type" from the email is used, which causes the browser to e.g. treat the content as "text/html" thereby executing any included script code in context of the SqWebMail server.

Successful exploitation allows a malicious person to perform the same actions as the user of the web mail account (e.g. sending or viewing emails).

The vulnerability has been confirmed in version 5.0.4. Other versions may also be affected.


Solution:
Don't "Display" or "Download" attached files.

Further details available to Secunia VIM customers

Provided and/or discovered by:
Jakob Balle, Secunia Research.

Original Advisory:
Secunia Research:
http://secunia.com/secunia_research/2005-35/advisory/

Deep Links:
Links available to Secunia VIM customers

Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: SqWebMail Attached File Script Insertion Vulnerability

No posts yet

-

You must be logged in to post a comment.



 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability