CVE-2013-0249
Description
Stack-based buffer overflow in the Curl_sasl_create_digest_md5_message function in lib/curl_sasl.c in curl and libcurl 7.26.0 through 7.28.1, when negotiating SASL DIGEST-MD5 authentication, allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a long string in the realm parameter in a (1) POP3, (2) SMTP or (3) IMAP message.
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
OS impact
Ubuntu Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| 12.10 | Affected | โ |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 7.29.0-1 |
| sid | Fixed | 7.29.0-1 |
| forky | Fixed | 7.29.0-1 |
| bullseye | Fixed | 7.29.0-1 |
| bookworm | Fixed | 7.29.0-1 |
References
- http://blog.volema.com/curl-rce.html
- http://curl.haxx.se/docs/adv_20130206.html
- http://lists.apple.com/archives/security-announce/2013/Oct/msg00004.html
- http://lists.fedoraproject.org/pipermail/package-announce/2013-February/099140.html
- http://nakedsecurity.sophos.com/2013/02/10/anatomy-of-a-vulnerability-curl-web-download-toolkit-holed-by-authentication-bug/
- http://packetstormsecurity.com/files/120147/cURL-Buffer-Overflow.html
- http://packetstormsecurity.com/files/120170/Slackware-Security-Advisory-curl-Updates.html
- http://www.exploit-db.com/exploits/24487
- http://www.oracle.com/technetwork/topics/security/cpujul2015-2367936.html
- http://www.osvdb.org/89988
- http://www.securityfocus.com/bid/57842
- http://www.securitytracker.com/id/1028093
- http://www.ubuntu.com/usn/USN-1721-1
- https://security-tracker.debian.org/tracker/CVE-2013-0249
CWEs
CWE-119
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.