CVE-2010-20126
Description
Virtual Keyboard plugin for SquirrelMail through 0.9.1 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to inject script by supplying unsanitized input in the passformname parameter. Attackers can craft GET requests to /plugins/vkeyboard/vkeyboard.php with script payloads in passformname to execute code in victims' browsers and steal session cookies. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-23.
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
SquirrelMail Virtual Keyboard Plugin <= 0.9.1 - 'vkeyboard.php' Cross-Site Scripting (XSS)
source: https://web.archive.org/web/2010/https://www.securityfocus.com/bid/43749/info
The Virtual Keyboard plugin for SquirrelMail is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.
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 to launch other attacks.
Virtual Keyboard 0.9.1 and prior are vulnerable.
----------------------------------------
http://www.example.com/plugins/vkeyboard/vkeyboard.php?passformname=%22%3E%3Cscript%3Ealert%28%27XSS%27%29;%3C/script%3E%3Cscript%3E/*%20
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| daniel_k._imori | virtual_keyboard_plugin_for_squirrelmail | {"endIncluding":"0.9.1"} | |
References
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/squirrelmail/squirrelmail-vkeyboard-xss.yaml
- https://seclists.org/bugtraq/2010/Oct/140
- https://squirrelmail.org/plugin_view.php?id=159
- https://www.exploit-db.com/exploits/34814
- https://www.vulncheck.com/advisories/squirrelmail-virtual-keyboard-plugin-0.9.1-xss-via-vkeyboard-php-passformname
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.