CVE-2011-4541
Description
Cross-site scripting (XSS) vulnerability in index.php in Hastymail2 2.1.1 before RC2 allows remote attackers to inject arbitrary web script or HTML via the rs parameter in a mailbox Drafts action.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Hastymail2 - 'rs' Cross-Site Scripting
source: https://www.securityfocus.com/bid/50789/info
Hastymail2 is prone to a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied data.
An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and launch other attacks.
Hastymail2 2.1.1 is vulnerable; other versions may also be affected.
GET: http://<app_base>/index.php?page=mailbox&mailbox=Drafts
POST: rs=<script>alert('xss')</script>
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| hastymail | hastymail2 | | |
| hastymail | hastymail2 | 1.0 | |
| hastymail | hastymail2 | 1.01 | |
| hastymail | hastymail2 | 1.1 | |
| hastymail | hastymail2 | 2.0 | |
| hastymail | hastymail2 | 2.0.1 | |
| hastymail | hastymail2 | 2.0.2 | |
| hastymail | hastymail2 | 2.0.3 | |
| hastymail | hastymail2 | 2.0.4 | |
| hastymail | hastymail2 | 2.0.5 | |
References
CWEs
CWE-79
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.