what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

vpopmail2.txt

vpopmail2.txt
Posted Nov 2, 2005
Authored by unl0ck | Site exploiterz.org

vpopmail format string.

SHA-256 | 6ebbad5d697ac7ef139387b32850e95ff3b3ca4042883f8b7cc87b41aaf3a6d3

vpopmail2.txt

Change Mirror Download
                        -= Unl0ck Team Security Advisory =-

____ ___ __ _______ __ ___________
| | \____ | | \ _ \ ____ | | __ \__ ___/___ _____ _____
| | / \| | / /_\ \_ / ___\| |/ / | |_/ __ \\__ \ / \
| | / | \ |_\ \_/ \ \___ | < | |\ ___/ / __ \| Y Y \
|______/|___| /____/\_____ /\_____ >__|_ \ |____| \___ >____ /__|_| /
\/ \/ \/ \/ \/ \/ \/
... the best way of protection is attack

http://unl0ck.net.ru || http://unl0ck.blackhatz.info

Advisory : #6 by unl0ck team
Product : vpopmail (latest version and older)
Vendor : http://sourceforge.net/projects/vpopmail
Date : 19.09.2004
Impact : format string vulnerability
Advisory URL : http://unl0ck.blackhatz.info/advisories/vpopmail2.txt or http://unl0ck.net.ru/advisories/vpopmail2.txt

-=[ Overview

Vpopmail is a set of programs for creating and managing
multiple virtual domains on a qmail server.

]=-

-=[ Vulnerability

In vactivedir.c I found format string vulnerability. In vulnerable function use fprintf() function to copy data to the file.
See:

int vdel_ip_map( char *ip, char *domain)
{
FILE *fs;
FILE *fs1;
...
while( fgets(tmpbuf, 156, fs) != NULL )
{
strncpy(tmpbuf1,tmpbuf, 156);
...
fprintf(fs1, tmpbuf1); // <= format string bug!!!
...
}

Data copying to the file without format string checking...
To avoid bug use this:

fprintf(fs1, "%s", tmpbuf1);

Tom (author of vpopmail) said that he is patched this bug, and bugfixed will be in
the upcoming 5.4.7 release.

Ok, waiting new version...

]=-

I don't want to public exploit to avoid kids usage.

-=[ Credits

Found this bug - D4rk Eagle
mailto:darkeagle@list.ru
]=-
Login or Register to add favorites

File Archive:

March 2024

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