CVE-2013-1828
Description
The sctp_getsockopt_assoc_stats function in net/sctp/socket.c in the Linux kernel before 3.8.4 does not validate a size value before proceeding to a copy_from_user operation, which allows local users to gain privileges via a crafted application that contains an SCTP_GET_ASSOC_STATS getsockopt system call.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2013-1828
Vendor advisory: secalert@redhat.com — https://github.com/torvalds/linux/commit/726bc6b092da4c093eb74d13c07184b18c1af0f1
Vendor advisory: secalert@redhat.com — http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.4
Vendor advisory: secalert@redhat.com — http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=726bc6b092da4c093eb74d13c07184b18c1af0f1
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| linux-kernel | affected | 3.8.4 | |
| debian | bookworm | fixed | 0 |
| debian | bullseye | fixed | 0 |
| debian | forky | fixed | 0 |
| debian | sid | fixed | 0 |
| debian | trixie | fixed | 0 |
References
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=726bc6b092da4c093eb74d13c07184b18c1af0f1
- http://grsecurity.net/~spender/sctp.c
- http://twitter.com/grsecurity/statuses/309805924749541376
- http://www.exploit-db.com/exploits/24747
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.4
- http://www.openwall.com/lists/oss-security/2013/03/08/2
- https://bugzilla.redhat.com/show_bug.cgi?id=919315
- https://github.com/torvalds/linux/commit/726bc6b092da4c093eb74d13c07184b18c1af0f1
- https://security-tracker.debian.org/tracker/CVE-2013-1828
CWEs
CWE-20
Verify integrity in audit chain (admin only). AS-IS.