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

zataz-gwcc-09052005.txt

zataz-gwcc-09052005.txt
Posted Sep 20, 2005
Authored by ZATAZ Audits | Site zataz.net

gwcc versions less than or equal to 0.9.6-r2 create temporary files insecurely.

tags | advisory
SHA-256 | e09b15364c1149d7ffffd5717f233b858ef04539f8216e0cdf3a2d0daeff5fe9

zataz-gwcc-09052005.txt

Change Mirror Download
#########################################################

gwcc insecure temporary file creation

Vendor: http://gwcc.sourceforge.net/
Advisory: http://www.zataz.net/adviso/gwcc-09052005.txt
Vendor informed: yes
Exploit available: yes
Impact : low
Exploitation : low

#########################################################

The vulnerability is caused due to temporary file being created insecurely.
This can be exploited via symlink attacks to create and overwrite
arbitrary files
with the privileges of the user running the affected script.

Secunia report that this bug was discovered by D1g1t4lLeech the 2005-09-16.

ZATAZ Audit has discovered this bug the 2005-09-02

So I think that D1g1t4lLeech is a true leecher ;)

##########
Versions:
##########

gwcc <= 0.9.6-r2

##########
Solution:
##########

To prevent symlink attack use kernel patch such as grsecurity
Gentoo Patch : http://bugs.gentoo.org/attachment.cgi?id=67477

#########
Timeline:
#########

Discovered : 2005-09-02
Vendor notified : 2005-09-05
Vendor response : no reponse
Vendor fix : no patch
Vendor Sec report (vendor-sec@lst.de) : 2005-09-13
Disclosure : 2005-09-16

#####################
Technical details :
#####################

Vulnerable code :
-----------------

Take a look at : src/callbacks.c

1702 // Pipe print command and voila!, the doc is printed.
1703 strcat(print_command, " /tmp/gwcc_out.txt");

And also into : src/utils.c

94 else if (strcmp(operation, "temp") == 0) {
95 strcat(file_name, "/tmp/gwcc_out.txt");

#########
Related :
#########

Bug report : http://bugs.gentoo.org/show_bug.cgi?id=104566
CVE : NONE

#####################
Credits :
#####################

Eric Romang (eromang@zataz.net - ZATAZ Audit) - Gentoo Security Scout
Thxs to Gentoo Security Team.

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