Two vulnerabilities have been discovered in Hastymail2, which can be exploited by malicious people to conduct cross-site scripting attacks and compromise a vulnerable system.
1) Input passed via the "rs" POST parameter to index.php (when "page" is set to "mailbox" or "new") is not properly sanitised in plugins/auto_address/ajax.php before being returned to the user within an error message. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
2) Input passed via the "rsargs" POST parameter to index.php (when "rs" is set to "passthru") is not properly sanitised before being used. This can be exploited to inject and execute arbitrary shell commands.
The vulnerabilities are confirmed in version 1.1 RC1. Prior versions may also be affected.
Solution: Update to version 1.1 RC2.
Provided and/or discovered by: Bruno Teixeira
Original Advisory: Hastymail:
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 email@example.com
Subject: Hastymail2 Cross-Site Scripting and Command Injection Vulnerabilities
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.