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

zone-h-drcat.txt

zone-h-drcat.txt
Posted Jun 25, 2004
Authored by Khan Shirani | Site zone-h.org

Zone-h Security Advisory - Drcatd is susceptible to multiple local and remote buffer overflows.

tags | advisory, remote, overflow, local
SHA-256 | c443329a687a604fe5080a5f5db4419823ad5aabf4d102051246b2bd45890ea9

zone-h-drcat.txt

Change Mirror Download
      
Zone-h Security Advisory
Date of discovery : 24 june 2004
Date of release : 25 june 2004
Bug found by Khan Shirani
<shirani@zone-h.org>
http://www.zone-h.org


---------------------------------------
Software : Drcatd
Bugs : Buffer Overflows , Remote and local (multiple)
Risk : low
Platform : *nix
---------------------------------------



Description:
============

Dr.Cat (Dave's Remote Cat) concatenates a file on a remote Linux host that is running the
Dr.Cat daemon (drcatd) to stdout in the clients terminal. It authenticates users versus
the standard shadow password authentication facility and spawns a process with that users
permissions to attempt to access the requested file

http://www.joltedweb.com/drcat/


Vulnerability:
==============

Muliple local buffer overflows have been discovered . In addition to this , remote exploitation
is also possible due to a lack of boundry checking of input once a user has been authenticated.
The vulnerability exists when the remote user sends an overly long filename that doesnt exist.
This is handled by an sprintf() call which is where the overflow will occur

vulnerable code:
================

----------------------
drcat-0.5.0-beta\src\drcatd.c
sprintf(fdne_msg, "%s - File Does Not Exist", buf);
logIt(fdne_msg);
sprintf(fd_msg, "%s - File Does Not Exist\n", buf);
len = sizeof(fd_msg);
local_send(new_fd, fd_msg, len);

exit(1);

----------------------
NOTE: Due to the exit(1) from the above snippet, exploitation of this vulnerability is not possible within x86 arche's.



Vendor Notice:
==============

The vendor has been notified via <dave@joltedweb.com>

Copyright
=========


Contents may not be altered without notification to original author
permission is granted to reproduce this advisory on public databases.

shirani@zone-h.org
and all the zone-h staff.
http://www.zone-h.org


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
    0 Files
  • 9
    Nov 9th
    0 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    0 Files
  • 12
    Nov 12th
    0 Files
  • 13
    Nov 13th
    0 Files
  • 14
    Nov 14th
    0 Files
  • 15
    Nov 15th
    0 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    0 Files
  • 19
    Nov 19th
    0 Files
  • 20
    Nov 20th
    0 Files
  • 21
    Nov 21st
    0 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 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